Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skincrafting difficulty and fixes compiling byond (v515.1643) #54

Merged
merged 2 commits into from
Sep 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading