Files
Yogstation/code/datums/components/crafting/makeshift.dm
Rune Knight 75419aeac6 Updated Crafting Menu (#19903)
* icon should appear (no menu tho)

* i handdrew this

* port clockwork too

* ?? why did it not save

* initial add the menu w/ 0 build errors (hopefully)

* remove from normal menu

* use default container

* all default containers already in yog

* normal crafting should work again

* remove warning

* all functional (hopefully). all else is cleaner code

* dont use machinery at all

* fixes the white colors

* fix icon_state less cheesewedge

* should probably fix all the icon_state errors

* fixed alpha

* moved cooking so its not a sideways T

* everything works except icons

* does this work

* remove unused stuff

* to latest tg crafting.dm w/ yog edition

* should handle the unit test

* better

* tommrow

* ok found why icons didn't work

* merge with master?

* dupe def from merge to master

* all works... except the cursed ui data

* removing stuff that aren't needed

* revert those screens_

* one more todo to go

* oh my god. icons are fixed

* less changed files

* grrr

* maybe

* grrr

* now this gets rid ofit

* this did nothing

* didn't work either :(

* that should be everything

* remove outdated TODO comment
2023-07-29 23:40:34 -05:00

123 lines
3.6 KiB
Plaintext

///////////
// TOOLS //
///////////
/datum/crafting_recipe/makeshiftcrowbar
name = "Makeshift Crowbar"
reqs = list(/obj/item/stack/rods = 3) //just bang them together
result = /obj/item/crowbar/makeshift
time = 12 SECONDS
category = CAT_TOOLS
always_available = FALSE
/datum/crafting_recipe/makeshiftwrench
name = "Makeshift Wrench"
reqs = list(/obj/item/stack/sheet/metal = 2)
result = /obj/item/wrench/makeshift
time = 12 SECONDS
category = CAT_TOOLS
always_available = FALSE
/datum/crafting_recipe/makeshiftwirecutters
name = "Makeshift Wirecutters"
reqs = list(/obj/item/stack/sheet/metal = 2,
/obj/item/stack/rods = 2)
result = /obj/item/wirecutters/makeshift
time = 15 SECONDS
category = CAT_TOOLS
always_available = FALSE
/datum/crafting_recipe/makeshiftweldingtool
name = "Makeshift Welding Tool"
reqs = list(/obj/item/tank/internals/emergency_oxygen = 1,
/obj/item/assembly/igniter = 1)
tool_behaviors = list(TOOL_SCREWDRIVER)
result = /obj/item/weldingtool/makeshift
time = 16 SECONDS
category = CAT_TOOLS
always_available = FALSE
/datum/crafting_recipe/makeshiftmultitool
name = "Makeshift Multitool"
reqs = list(/obj/item/assembly/igniter = 1,
/obj/item/assembly/signaler = 1,
/obj/item/stack/sheet/metal = 2,
/obj/item/stack/cable_coil = 10)
tool_behaviors = list(TOOL_SCREWDRIVER, TOOL_WIRECUTTER)
result = /obj/item/multitool/makeshift
time = 16 SECONDS
category = CAT_TOOLS
always_available = FALSE
/datum/crafting_recipe/makeshiftscrewdriver
name = "Makeshift Screwdriver"
reqs = list(/obj/item/stack/rods = 3)
result = /obj/item/screwdriver/makeshift
time = 12 SECONDS
category = CAT_TOOLS
always_available = FALSE
/datum/crafting_recipe/makeshifttoolbelt
name = "Makeshift Toolbelt"
reqs = list(/obj/item/stack/rods = 5,
/obj/item/stack/sheet/metal = 2,
/obj/item/stack/cable_coil = 15,
/obj/item/stack/sheet/cloth = 2)
tool_behaviors = list(TOOL_SCREWDRIVER, TOOL_WIRECUTTER)
result = /obj/item/storage/belt/utility/makeshift
time = 20 SECONDS
category = CAT_TOOLS
/datum/crafting_recipe/makeshiftknife
name = "Makeshift Knife"
reqs = list(/obj/item/stack/rods = 3,
/obj/item/stack/sheet/metal = 1,
/obj/item/stack/tape = 2)
result = /obj/item/kitchen/knife/makeshift
time = 12 SECONDS
category = CAT_TOOLS
always_available = FALSE
/datum/crafting_recipe/makeshiftpickaxe
name = "Makeshift Pickaxe"
reqs = list(
/obj/item/crowbar = 1,
/obj/item/kitchen/knife = 1,
/obj/item/stack/tape = 1)
result = /obj/item/pickaxe/makeshift
category = CAT_TOOLS
always_available = FALSE
/datum/crafting_recipe/makeshiftradio
name = "Makeshift Radio"
reqs = list(/obj/item/assembly/signaler = 1,
/obj/item/radio/headset = 1,
/obj/item/stack/cable_coil = 5)
tool_behaviors = list(TOOL_SCREWDRIVER)
result = /obj/item/radio/off/makeshift
time = 12 SECONDS
category = CAT_TOOLS
always_available = FALSE
/datum/crafting_recipe/makeshiftemag
name = "Improvised Emag"
reqs = list(/obj/item/stock_parts/subspace/amplifier = 1,
/obj/item/card/id = 1,
/obj/item/electronics/firelock = 1,
/obj/item/stack/cable_coil = 10)
tool_behaviors = list(TOOL_MULTITOOL, TOOL_WIRECUTTER)
result = /obj/item/card/emag/improvised
time = 12 SECONDS
category = CAT_TOOLS
always_available = FALSE
/datum/crafting_recipe/makeshiftid
name = "Makeshift ID"
result = /obj/item/card/id/makeshift
reqs = list(/obj/item/stack/sheet/cardboard = 2,
/obj/item/stack/tape = 1,
/obj/item/pen = 1)
tool_behaviors = list(TOOL_WIRECUTTER)
time = 30
category = CAT_MISC