Files
b4a124e557 [IDB IGNORE] cyborg refactor: icons, chassis, modules base (#6929)
- separates the composition of cyborgs into modules, iconsets, chassis,
upgrades
- modules / chassis atm can provide items, so can upgrades; in the
future we will want to probably generalize the item API a bit so
components can work
- chassis now can (unimplemented) easily be made to give different stats
- reorganizes all the cyborg sprites
- adds generalized item mounts with redirection support and tears out
legacy cyborg items
- entirely rebalances modules & writes some new lawsets in for future
use

---------

Co-authored-by: silicons <silicons@silicons.dev>
2026-01-13 18:39:38 +00:00

213 lines
6.8 KiB
Plaintext

/datum/prototype/material/cloth //todo
id = "cloth"
name = "cloth"
stack_origin_tech = list(TECH_MATERIAL = 2)
stack_type = /obj/item/stack/material/cloth
door_icon_base = "wood"
ignition_point = T0C+232
melting_point = T0C+300
pass_stack_colors = TRUE
worth = 2
relative_integrity = 0.25
density = 8 * 0.2
relative_conductivity = 0
relative_permeability = 0.9
relative_reactivity = 2
hardness = MATERIAL_RESISTANCE_VERY_VULNERABLE
toughness = MATERIAL_RESISTANCE_VULNERABLE
refraction = MATERIAL_RESISTANCE_VERY_VULNERABLE
absorption = MATERIAL_RESISTANCE_VULNERABLE
nullification = MATERIAL_RESISTANCE_VULNERABLE
/datum/prototype/material/cloth/generate_recipes()
. = ..()
. += create_stack_recipe_datum(
name = "uniform",
product = /obj/item/clothing/under/color/white,
cost = 8,
time = 2 SECONDS,
)
. += create_stack_recipe_datum(
name = "foot wraps",
product = /obj/item/clothing/shoes/footwraps,
cost = 2,
time = 2 SECONDS,
)
. += create_stack_recipe_datum(
name = "gloves",
product = /obj/item/clothing/gloves/white,
cost = 2,
time = 2 SECONDS,
)
. += create_stack_recipe_datum(
name = "wig",
product = /obj/item/clothing/head/powdered_wig,
cost = 4,
time = 2 SECONDS,
)
. += create_stack_recipe_datum(
name = "philosopher's wig",
product = /obj/item/clothing/head/philosopher_wig,
cost = 5,
time = 2 SECONDS,
)
. += create_stack_recipe_datum(
name = "taqiyah",
product = /obj/item/clothing/head/taqiyah,
cost = 3,
time = 2 SECONDS,
)
. += create_stack_recipe_datum(
name = "turban",
product = /obj/item/clothing/head/turban,
cost = 3,
time = 2 SECONDS,
)
. += create_stack_recipe_datum(
name = "hijab",
product = /obj/item/clothing/head/hijab,
cost = 3,
time = 2 SECONDS,
)
. += create_stack_recipe_datum(
name = "kippa",
product = /obj/item/clothing/head/kippa,
cost = 3,
time = 2 SECONDS,
)
. += create_stack_recipe_datum(
name = "kippa",
product = /obj/item/clothing/head/traveller,
cost = 3,
time = 2 SECONDS,
)
. += create_stack_recipe_datum(
name = "scarf",
product = /obj/item/clothing/accessory/scarf/white,
cost = 4,
time = 2 SECONDS,
)
. += create_stack_recipe_datum(
name = "baggy pants",
product = /obj/item/clothing/under/pants/baggy/white,
cost = 8,
time = 2 SECONDS,
)
. += create_stack_recipe_datum(
name = "belt pouch",
product = /obj/item/storage/belt/fannypack/white,
cost = 8,
time = 2 SECONDS,
)
. += create_stack_recipe_datum(
name = "crude bandage",
product = /obj/item/stack/medical/crude_pack,
cost = 1,
time = 2 SECONDS,
)
. += create_stack_recipe_datum(
name = "empty sandbag",
product = /obj/item/stack/sandbag/empty,
cost = 2,
amount = 5,
time = 2 SECONDS,
)
. += create_stack_recipe_datum(
name = "shrine seal",
product = /obj/structure/shrine_seal,
cost = 2,
time = 2 SECONDS,
)
. += create_stack_recipe_datum(
name = "cloth rag",
product = /obj/item/reagent_containers/glass/rag,
cost = 1,
time = 2 SECONDS,
)
. += create_stack_recipe_datum(
name = "woven string",
product = /obj/item/weaponcrafting/string,
cost = 1,
time = 2 SECONDS,
)
. += create_stack_recipe_datum(category = "bedsheets", name = "bedsheet", product = /obj/item/bedsheet, cost = 5)
. += create_stack_recipe_datum(category = "bedsheets", name = "double bedsheet", product = /obj/item/bedsheet/double, cost = 5)
. += create_stack_recipe_datum(category = "bedsheets", name = "red bedsheet", product = /obj/item/bedsheet/red, cost = 5)
. += create_stack_recipe_datum(category = "bedsheets", name = "double red bedsheet", product = /obj/item/bedsheet/reddouble, cost = 5)
. += create_stack_recipe_datum(category = "bedsheets", name = "orange bedsheet", product = /obj/item/bedsheet/orange, cost = 5)
. += create_stack_recipe_datum(category = "bedsheets", name = "double orange bedsheet", product = /obj/item/bedsheet/orangedouble, cost = 5)
. += create_stack_recipe_datum(category = "bedsheets", name = "yellow bedsheet", product = /obj/item/bedsheet/yellow, cost = 5)
. += create_stack_recipe_datum(category = "bedsheets", name = "double yellow bedsheet", product = /obj/item/bedsheet/yellowdouble, cost = 5)
. += create_stack_recipe_datum(category = "bedsheets", name = "green bedsheet", product = /obj/item/bedsheet/green, cost = 5)
. += create_stack_recipe_datum(category = "bedsheets", name = "double green bedsheet", product = /obj/item/bedsheet/greendouble, cost = 5)
. += create_stack_recipe_datum(category = "bedsheets", name = "blue bedsheet", product = /obj/item/bedsheet/blue, cost = 5)
. += create_stack_recipe_datum(category = "bedsheets", name = "double blue bedsheet", product = /obj/item/bedsheet/bluedouble, cost = 5)
. += create_stack_recipe_datum(category = "bedsheets", name = "purple bedsheet", product = /obj/item/bedsheet/purple, cost = 5)
. += create_stack_recipe_datum(category = "bedsheets", name = "double purple bedsheet", product = /obj/item/bedsheet/purpledouble, cost = 5)
. += create_stack_recipe_datum(category = "bedsheets", name = "brown bedsheet", product = /obj/item/bedsheet/brown, cost = 5)
. += create_stack_recipe_datum(category = "bedsheets", name = "double brown bedsheet", product = /obj/item/bedsheet/browndouble, cost = 5)
. += create_stack_recipe_datum(category = "bedsheets", name = "rainbow bedsheet", product = /obj/item/bedsheet/rainbow, cost = 5)
. += create_stack_recipe_datum(category = "bedsheets", name = "double rainbow bedsheet", product = /obj/item/bedsheet/rainbowdouble, cost = 5)
/datum/prototype/material/carpet
id = "carpet"
name = "carpet"
display_name = "comfy"
use_name = "red upholstery"
icon_colour = "#DA020A"
sheet_singular_name = "tile"
sheet_plural_name = "tiles"
relative_permeability = 0.7
// This all needs to be OOP'd and use inheritence if its ever used in the future.
/datum/prototype/material/cloth/teal
id = "cloth_teal"
name = "teal"
display_name ="teal"
use_name = "teal cloth"
icon_colour = "#00EAFA"
/datum/prototype/material/cloth/black
id = "cloth_black"
name = "black"
display_name = "black"
use_name = "black cloth"
icon_colour = "#505050"
/datum/prototype/material/cloth/green
id = "cloth_green"
name = "green"
display_name = "green"
use_name = "green cloth"
icon_colour = "#01C608"
/datum/prototype/material/cloth/puple
id = "cloth_purple"
name = "purple"
display_name = "purple"
use_name = "purple cloth"
icon_colour = "#9C56C4"
/datum/prototype/material/cloth/blue
id = "cloth_blue"
name = "blue"
display_name = "blue"
use_name = "blue cloth"
icon_colour = "#6B6FE3"
/datum/prototype/material/cloth/beige
id = "cloth_beige"
name = "beige"
display_name = "beige"
use_name = "beige cloth"
icon_colour = "#E8E7C8"
/datum/prototype/material/cloth/lime
id = "cloth_lime"
name = "lime"
display_name = "lime"
use_name = "lime cloth"
icon_colour = "#62E36C"