Skip to content

Commit

Permalink
Merge pull request #54 from Cooeen/Skincrafting-difficulty
Browse files Browse the repository at this point in the history
Skincrafting difficulty and fixes compiling byond (v515.1643)
  • Loading branch information
russ-money authored Sep 7, 2024
2 parents 5dfd686 + d27576f commit 1b539c2
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions code/datums/mutable_appearance.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
9 changes: 9 additions & 0 deletions code/modules/roguetown/roguecrafting/leather.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -18,20 +19,23 @@
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"
result = /obj/item/storage/backpack/rogue/backpack
reqs = list(/obj/item/natural/hide = 2,
/obj/item/natural/fibers = 1)
sellprice = 45
craftdiff = 2

/datum/crafting_recipe/roguetown/leather/waterskin
name = "waterskin"
result = /obj/item/reagent_containers/glass/bottle/waterskin
reqs = list(/obj/item/natural/hide = 1,
/obj/item/natural/fibers = 2)
sellprice = 45
craftdiff = 1

/datum/crafting_recipe/roguetown/leather/quiver
name = "quiver"
Expand All @@ -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"
Expand Down Expand Up @@ -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"
Expand All @@ -102,13 +108,15 @@
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"
result = /obj/item/clothing/suit/roguetown/armor/leather/hide
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"
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit 1b539c2

Please sign in to comment.