Files
Bubberstation/code/datums/components/crafting/tools.dm

121 lines
3.3 KiB
Plaintext

/datum/crafting_recipe/gold_horn
name = "Golden Bike Horn"
result = /obj/item/bikehorn/golden
time = 2 SECONDS
reqs = list(
/obj/item/stack/sheet/mineral/bananium = 5,
/obj/item/bikehorn = 1,
)
category = CAT_TOOLS
/datum/crafting_recipe/bonfire
name = "Bonfire"
time = 6 SECONDS
reqs = list(/obj/item/grown/log = 5)
parts = list(/obj/item/grown/log = 5) //Will be returned if the bonfire is dismantled
blacklist = list(/obj/item/grown/log/steel)
result = /obj/structure/bonfire
category = CAT_TOOLS
/datum/crafting_recipe/boneshovel
name = "Serrated Bone Shovel"
reqs = list(
/obj/item/stack/sheet/bone = 4,
/datum/reagent/fuel/oil = 5,
/obj/item/shovel = 1,
)
result = /obj/item/shovel/serrated
category = CAT_TOOLS
crafting_flags = CRAFT_CHECK_DENSITY | CRAFT_MUST_BE_LEARNED
/datum/crafting_recipe/lasso
name = "Bone Lasso"
reqs = list(
/obj/item/stack/sheet/bone = 1,
/obj/item/stack/sheet/sinew = 5,
)
result = /obj/item/key/lasso
category = CAT_TOOLS
/datum/crafting_recipe/ipickaxe
name = "Improvised Pickaxe"
reqs = list(
/obj/item/crowbar = 1,
/obj/item/knife = 1,
/obj/item/stack/sticky_tape = 1,
)
result = /obj/item/pickaxe/improvised
category = CAT_TOOLS
/datum/crafting_recipe/bandage
name = "Makeshift Bandage"
reqs = list(
/obj/item/stack/sheet/cloth = 3,
/datum/reagent/medicine/c2/libital = 10,
)
result = /obj/item/stack/medical/bandage/makeshift
category = CAT_TOOLS
/datum/crafting_recipe/bone_rod
name = "Bone Fishing Rod"
result = /obj/item/fishing_rod/bone
time = 5 SECONDS
reqs = list(/obj/item/stack/sheet/leather = 1,
/obj/item/stack/sheet/sinew = 2,
/obj/item/stack/sheet/bone = 2)
category = CAT_TOOLS
/datum/crafting_recipe/sinew_line
name = "Sinew Fishing Line Reel"
result = /obj/item/fishing_line/sinew
reqs = list(/obj/item/stack/sheet/sinew = 2)
time = 2 SECONDS
category = CAT_TOOLS
/datum/crafting_recipe/bone_hook
name = "Goliath Bone Hook"
result = /obj/item/fishing_hook/bone
reqs = list(/obj/item/stack/sheet/bone = 1)
time = 2 SECONDS
category = CAT_TOOLS
/datum/crafting_recipe/shuttle_blueprints
name = "Crude Shuttle Blueprints"
result = /obj/item/shuttle_blueprints/crude
reqs = list(
/obj/item/paper = 1,
)
tool_paths = list(/obj/item/toy/crayon)
//we can't use a generic crayon so we spawn a blue one
unit_test_spawn_extras = list(/obj/item/toy/crayon/blue = 1)
steps = list(
"You must use either a a blue crayon, a rainbow crayon, or a spray can.",
"The crayon or spray can you use must have at least 10 uses remaining."
)
time = 10 SECONDS
category = CAT_TOOLS
var/static/list/valid_types = typecacheof(list(
/obj/item/toy/crayon/blue,
/obj/item/toy/crayon/rainbow,
/obj/item/toy/crayon/spraycan,
))
/datum/crafting_recipe/shuttle_blueprints/check_tools(atom/user, list/collected_tools, final_check = FALSE)
for(var/obj/item/toy/crayon/crayon in collected_tools)
if(!is_type_in_typecache(crayon, valid_types))
continue
if(final_check ? crayon.use_charges(user, 10) : !crayon.check_empty(user, 10))
return TRUE
return FALSE
/datum/crafting_recipe/makeshift_radio_jammer
name = "Makeshift Radio Jammer"
result = /obj/item/jammer/makeshift
reqs = list(
/obj/item/universal_scanner = 1,
/obj/item/encryptionkey = 1,
/obj/item/stack/cable_coil = 5,
)
category = CAT_TOOLS