Files
Bubberstation/code/datums/components/crafting/misc.dm
Xander3359 e54ecf4b10 Fix crafting bypassing checks (#82833)
## About The Pull Request
Backport from
https://github.com/tgstation/TerraGov-Marine-Corps/pull/15701
Fixes crafting bypassing checks.
## Why It's Good For The Game
Closes https://github.com/tgstation/tgstation/issues/82826
## Changelog
🆑
fix: You can no longer bypass construction restrictions via the crafting
menu
/🆑
2024-05-03 09:35:51 +02:00

47 lines
1.3 KiB
Plaintext

/datum/crafting_recipe/naturalpaper
name = "Hand-Pressed Paper"
time = 3 SECONDS
reqs = list(/datum/reagent/water = 50, /obj/item/stack/sheet/mineral/wood = 1)
tool_paths = list(/obj/item/hatchet)
result = /obj/item/paper_bin/bundlenatural
category = CAT_MISC
/datum/crafting_recipe/skeleton_key
name = "Skeleton Key"
time = 3 SECONDS
reqs = list(/obj/item/stack/sheet/bone = 5)
result = /obj/item/skeleton_key
category = CAT_MISC
crafting_flags = CRAFT_CHECK_DENSITY | CRAFT_MUST_BE_LEARNED
/datum/crafting_recipe/coffee_cartridge
name = "Bootleg Coffee Cartridge"
result = /obj/item/coffee_cartridge/bootleg
time = 2 SECONDS
reqs = list(
/obj/item/blank_coffee_cartridge = 1,
/datum/reagent/toxin/coffeepowder = 10,
)
category = CAT_MISC
/datum/crafting_recipe/corporate_paper_slip
name = "Corporate Plastic Card"
result = /obj/item/paper/paperslip/corporate
time = 3 SECONDS
reqs = list(
/obj/item/paper/paperslip = 1,
/obj/item/stack/sheet/plastic = 3,
)
tool_paths = list(/obj/item/stamp/head/captain)
category = CAT_MISC
/datum/crafting_recipe/cardboard_id
name = "Cardboard ID Card"
tool_behaviors = list(TOOL_WIRECUTTER)
result = /obj/item/card/cardboard
time = 4 SECONDS
reqs = list(
/obj/item/stack/sheet/cardboard = 1,
)
category = CAT_MISC