From dff7cc6f8409e1a8e334691ce4018473cdc5746f Mon Sep 17 00:00:00 2001 From: Cooeen Date: Sat, 7 Sep 2024 09:00:42 +0200 Subject: [PATCH 1/2] Added actualy difficulty to skincrafting --- code/modules/roguetown/roguecrafting/leather.dm | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/code/modules/roguetown/roguecrafting/leather.dm b/code/modules/roguetown/roguecrafting/leather.dm index bf0accdeb..9feb6674f 100644 --- a/code/modules/roguetown/roguecrafting/leather.dm +++ b/code/modules/roguetown/roguecrafting/leather.dm @@ -3,6 +3,7 @@ tools = list(/obj/item/needle) structurecraft = /obj/structure/fluff/dryingrack skillcraft = /datum/skill/craft/tanning + craftdiff = 0 /datum/crafting_recipe/roguetown/leather/pouch name = "leather pouch" @@ -18,6 +19,7 @@ reqs = list(/obj/item/natural/hide = 2, /obj/item/natural/fibers = 1) sellprice = 15 + craftdiff = 1 /datum/crafting_recipe/roguetown/leather/backpack name = "leather backpack" @@ -25,6 +27,7 @@ reqs = list(/obj/item/natural/hide = 2, /obj/item/natural/fibers = 1) sellprice = 45 + craftdiff = 2 /datum/crafting_recipe/roguetown/leather/waterskin name = "waterskin" @@ -32,6 +35,7 @@ reqs = list(/obj/item/natural/hide = 1, /obj/item/natural/fibers = 2) sellprice = 45 + craftdiff = 1 /datum/crafting_recipe/roguetown/leather/quiver name = "quiver" @@ -52,6 +56,7 @@ result = /obj/item/clothing/gloves/roguetown/angle reqs = list(/obj/item/natural/fur = 1) sellprice = 20 + craftdiff = 1 /datum/crafting_recipe/roguetown/leather/bracers name = "leather bracers" @@ -85,6 +90,7 @@ result = /obj/item/clothing/head/roguetown/helmet/leather reqs = list(/obj/item/natural/hide = 1) sellprice = 27 + craftdiff = 1 /datum/crafting_recipe/roguetown/leather/hood name = "leather hood" @@ -102,6 +108,7 @@ result = /obj/item/clothing/suit/roguetown/armor/leather reqs = list(/obj/item/natural/hide = 2) sellprice = 26 + craftdiff = 1 /datum/crafting_recipe/roguetown/leather/hidearmor name = "hide armor" @@ -109,6 +116,7 @@ reqs = list(/obj/item/natural/hide = 2, /obj/item/natural/fur = 1) sellprice = 26 + craftdiff = 2 /datum/crafting_recipe/roguetown/leather/cloak name = "leather cloak" @@ -143,6 +151,7 @@ result = /obj/item/rogueweapon/whip reqs = list(/obj/item/natural/hide = 2,/obj/item/natural/stone = 1) sellprice = 39 + craftdiff = 1 /datum/crafting_recipe/roguetown/leather/drum name = "Drum" From d27576f93adc17cc0acd54fbb2a2711157279e71 Mon Sep 17 00:00:00 2001 From: Cooeen Date: Sat, 7 Sep 2024 09:23:02 +0200 Subject: [PATCH 2/2] Fixed BYOND v515.1643 to not compile --- code/datums/mutable_appearance.dm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/datums/mutable_appearance.dm b/code/datums/mutable_appearance.dm index 1b095c555..e1fbd9015 100644 --- a/code/datums/mutable_appearance.dm +++ b/code/datums/mutable_appearance.dm @@ -4,10 +4,13 @@ // Mutable appearances are children of images, just so you know. +// causing BYOND v515.1643 to not compile, does not seem to do anything but define what is already defined below in proc anyway. +/* /mutable_appearance/New() ..() plane = FLOAT_PLANE // No clue why this is 0 by default yet images are on FLOAT_PLANE // And yes this does have to be in the constructor, BYOND ignores it if you set it as a normal var +*/ // Helper similar to image() /proc/mutable_appearance(icon, icon_state = "", layer = FLOAT_LAYER, plane = FLOAT_PLANE)