Adds Materials to Every Autolathe and Protolathe Item (except for ammo boxes, IK mags, and Dart Boxes) (#31445)

* Holy fuck there's so much shit I'm not even done

* oh god there's so many

* it is done

* Update autolathe_designs.dm

* Update circuitboard.dm
This commit is contained in:
CRUNCH
2026-01-30 21:25:40 +00:00
committed by GitHub
parent 64d5fcb6ef
commit da1ebd039d
155 changed files with 640 additions and 276 deletions
+11 -2
View File
@@ -6,6 +6,7 @@
icon_state = "toolkit_generic"
w_class = WEIGHT_CLASS_NORMAL
actions_types = list(/datum/action/item_action/organ_action/toggle)
materials = list(MAT_METAL = 2500, MAT_GLASS = 1500, MAT_SILVER = 1500)
var/list/items_list = list()
// Used to store a list of all items inside, for multi-item implants.
@@ -282,6 +283,7 @@
desc = "An alien toolset, designed to be installed on subject's arm."
icon_state = "toolkit_engineering"
origin_tech = "materials=5;engineering=5;plasmatech=5;powerstorage=4;abductor=3"
materials = list(MAT_METAL = 20000, MAT_SILVER = 10000, MAT_PLASMA = 9000, MAT_TITANIUM = 8000, MAT_DIAMOND = 8000)
contents = newlist(/obj/item/screwdriver/abductor, /obj/item/wirecutters/abductor, /obj/item/crowbar/abductor, /obj/item/wrench/abductor, /obj/item/weldingtool/abductor, /obj/item/multitool/abductor)
actions_types = list(/datum/action/item_action/organ_action/toggle/abductor_belt)
augment_icon = "toolkit_engi"
@@ -299,6 +301,7 @@
desc = "A set of alien janitorial tools, designed to be installed on subject's arm."
icon_state = "toolkit_janitor"
origin_tech = "materials=5;engineering=5;biotech=5;powerstorage=4;abductor=2"
materials = list(MAT_METAL = 20000, MAT_SILVER = 10000, MAT_PLASMA = 9000, MAT_TITANIUM = 8000, MAT_DIAMOND = 8000)
contents = newlist(/obj/item/mop/advanced/abductor, /obj/item/soap/syndie/abductor, /obj/item/lightreplacer/bluespace/abductor, /obj/item/holosign_creator/janitor, /obj/item/melee/flyswatter/abductor, /obj/item/reagent_containers/spray/cleaner/safety/abductor)
actions_types = list(/datum/action/item_action/organ_action/toggle/abductor_belt)
augment_icon = "toolkit_jani"
@@ -312,6 +315,7 @@
desc = "An alien surgical toolset, designed to be installed on the subject's arm."
icon_state = "toolkit_surgical"
origin_tech = "materials=5;engineering=5;plasmatech=5;powerstorage=4;abductor=2"
materials = list(MAT_METAL = 20000, MAT_SILVER = 10000, MAT_PLASMA = 9000, MAT_TITANIUM = 8000, MAT_DIAMOND = 8000)
contents = newlist(/obj/item/retractor/alien, /obj/item/hemostat/alien, /obj/item/bonesetter/alien, /obj/item/scalpel/laser/alien, /obj/item/circular_saw/alien, /obj/item/bonegel/alien, /obj/item/fix_o_vein/alien, /obj/item/surgicaldrill/alien)
actions_types = list(/datum/action/item_action/organ_action/toggle/abductor_belt)
augment_icon = "toolkit_med"
@@ -462,6 +466,7 @@
desc = "An implant commonly installed inside IPCs in order to allow them to easily collect energy from their environment."
icon_state = "toolkit_ipc"
origin_tech = "materials=3;biotech=2;powerstorage=3"
materials = list(MAT_METAL = 2000, MAT_GLASS = 1000)
contents = newlist(/obj/item/apc_powercord)
requires_robotic_bodypart = TRUE
@@ -685,6 +690,7 @@
icon_state = "razorwire"
actions_types = list(/datum/action/item_action/organ_action/toggle/razorwire)
origin_tech = "combat=5;biotech=5;syndicate=2"
materials = list(MAT_METAL = 5000, MAT_SILVER = 2000, MAT_DIAMOND = 2000, MAT_BLUESPACE = 2000)
stealth_level = 1 // Hidden from health analyzers
augment_icon = "razor" // Note: By default the autosurgeons apply the highest level of cover plating.
do_extra_render = TRUE
@@ -800,6 +806,7 @@
name = "vortex feedback arm implant"
desc = "An implant, that when deployed surrounds the users arm in armor and circuitry, allowing them to redirect nearby projectiles with feedback from the vortex anomaly core."
origin_tech = "combat=6;magnets=6;biotech=6;engineering=6"
materials = list(MAT_GOLD = 5000, MAT_URANIUM = 4000, MAT_METAL = 10000, MAT_TITANIUM = 2000, MAT_BLUESPACE = 2000)
icon = 'icons/obj/items.dmi'
icon_state = "v1_arm"
parent_organ = "l_arm" //Left arm by default
@@ -928,6 +935,7 @@
name = "vortex feedback arm implant frame"
desc = "An implant awaiting installation of a vortex anomaly core."
icon_state = "v1_arm"
materials = list(MAT_GOLD = 5000, MAT_URANIUM = 4000, MAT_METAL = 10000, MAT_TITANIUM = 2000, MAT_BLUESPACE = 2000)
/obj/item/v1_arm_shell/attackby__legacy__attackchain(obj/item/I, mob/user, params)
if(istype(I, /obj/item/assembly/signaler/anomaly/vortex))
@@ -941,12 +949,11 @@
name = "strong-arm empowered musculature implant"
desc = "When implanted, this cybernetic implant will enhance the muscles of the arm to deliver more power-per-action. Only has to be installed in one arm."
icon_state = "muscle_imp"
parent_organ = "l_arm" //Left arm by default
slot = "l_arm_device"
actions_types = list()
augment_icon = "strongarm"
materials = list(MAT_GOLD = 5000, MAT_METAL = 10000, MAT_TITANIUM = 3000, MAT_BLUESPACE = 2000)
var/datum/martial_art/muscle_implant/muscle_implant
/obj/item/organ/internal/cyberimp/arm/muscle/Initialize(mapload)
@@ -1041,6 +1048,7 @@
name = "'Naginata' mantis blade implants"
desc = "A powerful and concealable mantis blade with a monomolecular edge, produced by Cybersun Industries. Cuts through flesh and armor alike with ease."
origin_tech = "materials=5;combat=5;biotech=5;syndicate=4"
materials = list(MAT_METAL = 10000, MAT_SILVER = 2000, MAT_GOLD = 2000, MAT_TITANIUM = 3000, MAT_DIAMOND = 4000)
contents = newlist(/obj/item/melee/mantis_blade/syndicate)
icon_state = "syndie_mantis"
icon = 'icons/obj/weapons/melee.dmi'
@@ -1054,6 +1062,7 @@
name = "'Scylla' mantis blade implant"
desc = "A reverse-engineered mantis blade design produced by Nanotrasen. While still quite deadly, the loss of the monomolecular blade has drastically reduced its armor penetration capability."
origin_tech = "materials=5;combat=5;biotech=5;syndicate=4"
materials = list(MAT_METAL = 10000, MAT_SILVER = 2000, MAT_GOLD = 2000, MAT_TITANIUM = 3000, MAT_DIAMOND = 4000)
contents = newlist(/obj/item/melee/mantis_blade/nt)
icon_state = "mantis"
icon = 'icons/obj/weapons/melee.dmi'
@@ -17,6 +17,7 @@
name = "HUD implant"
desc = "These cybernetic eyes will display a HUD over everything you see. Maybe."
slot = "eye_hud"
materials = list(MAT_METAL = 600, MAT_GLASS = 600, MAT_SILVER = 500, MAT_GOLD = 500)
var/HUD_type = 0
/// A list of extension kinds added to the examine text. Things like medical or security records.
@@ -74,6 +75,7 @@
desc = "These cybernetic eye implants will display a filth HUD over everything you see."
icon_state = "eye_implant_janitor"
origin_tech = "materials=4;engineering=4;biotech=4"
materials = list(MAT_METAL = 600, MAT_GLASS = 600, MAT_SILVER = 750, MAT_GOLD = 750)
aug_message = "You scan for filth spots around you..."
HUD_type = DATA_HUD_JANITOR
@@ -82,5 +84,6 @@
desc = "These cybernetic eye implants will display a botanical HUD over everything you see."
icon_state = "eye_implant_hydro"
origin_tech = "materials=4;magnets=4;biotech=4"
materials = list(MAT_METAL = 600, MAT_GLASS = 600, MAT_SILVER = 700, MAT_GOLD = 500)
aug_message = "You scan for non-plastic plants around you..."
HUD_type = DATA_HUD_HYDROPONIC
@@ -30,6 +30,7 @@
icon_state = "brain_implant"
implant_overlay = "brain_implant_overlay"
parent_organ = "head"
materials = list(MAT_METAL = 600, MAT_GLASS = 600, MAT_SILVER = 500, MAT_GOLD = 1000)
/obj/item/organ/internal/cyberimp/brain/emp_act(severity)
if(!owner || emp_proof)
@@ -130,6 +131,7 @@
name = "Hardened Anti-drop implant"
desc = "A military-grade version of the standard implant, for NT's more elite forces."
origin_tech = "materials=6;programming=5;biotech=5"
materials = list(MAT_METAL = 600, MAT_GLASS = 600, MAT_SILVER = 500, MAT_GOLD = 1000)
emp_proof = TRUE
/obj/item/organ/internal/cyberimp/brain/anti_stam
@@ -239,6 +241,7 @@
implant_color = "#DEDE00"
slot = "brain_clownvoice"
origin_tech = "materials=2;biotech=2"
materials = list(MAT_METAL = 200, MAT_GLASS = 200, MAT_BANANIUM = 200)
/obj/item/organ/internal/cyberimp/brain/clown_voice/insert(mob/living/carbon/M, special = FALSE)
..()
@@ -297,6 +300,7 @@
implant_color = "#fff782"
slot = "brain_wire_interface"
origin_tech = "materials=5;programming=4;biotech=4"
materials = list(MAT_METAL = 600, MAT_GLASS = 600, MAT_SILVER = 400, MAT_GOLD = 400)
/obj/item/organ/internal/cyberimp/brain/wire_interface/insert(mob/living/carbon/M, special = FALSE)
..()
@@ -335,6 +339,7 @@
emp_proof = TRUE
actions_types = list(/datum/action/item_action/organ_action/toggle/sensory_enhancer)
origin_tech = "combat=6;biotech=6;syndicate=4"
materials = list(MAT_METAL = 10000, MAT_SILVER = 2000, MAT_PLASMA = 10000, MAT_DIAMOND = 4000, MAT_BLUESPACE = 4000)
augment_icon = "sandy"
always_show_augment = TRUE // A bit too big and bright to hide with synthetic skin.
///The icon state used for the on mob sprite. Default is sandy. Drask and vox have their own unique sprites
@@ -591,6 +596,7 @@
slot = "breathing_tube"
w_class = WEIGHT_CLASS_TINY
origin_tech = "materials=2;biotech=3"
materials = list(MAT_METAL = 600, MAT_GLASS = 250)
augment_icon = "breathing_tube"
/obj/item/organ/internal/cyberimp/mouth/breathing_tube/render()
@@ -625,6 +631,7 @@
var/disabled_by_emp = FALSE
slot = "stomach"
origin_tech = "materials=2;powerstorage=2;biotech=2"
materials = list(MAT_METAL = 500, MAT_GLASS = 500, MAT_GOLD = 500)
augment_icon = "nutripump"
/obj/item/organ/internal/cyberimp/chest/nutriment/examine(mob/user)
@@ -682,6 +689,7 @@
hunger_threshold = NUTRITION_LEVEL_HUNGRY
poison_amount = 10
origin_tech = "materials=4;powerstorage=3;biotech=3"
materials = list(MAT_METAL = 600, MAT_GLASS = 600, MAT_GOLD = 500, MAT_URANIUM = 750)
augment_icon = "nutripump_adv"
/obj/item/organ/internal/cyberimp/chest/nutriment/hardened
@@ -698,6 +706,7 @@
icon_state = "reviver_implant"
implant_overlay = null
origin_tech = "materials=5;programming=5;biotech=6"
materials = list(MAT_METAL = 800, MAT_GLASS = 800, MAT_GOLD = 300, MAT_URANIUM = 500)
slot = "heartdrive"
augment_icon = "reviver"
/// How long the implant will go on cooldown for once the user has exited crit, in seconds.
@@ -898,6 +907,7 @@
implant_overlay = null
slot = "bluespace_anchor"
origin_tech = "bluespace=6;biotech=4"
materials = list(MAT_METAL = 10000, MAT_BLUESPACE = 2000)
/obj/item/organ/internal/cyberimp/chest/bluespace_anchor/insert(mob/living/carbon/M, special = FALSE)
..()
@@ -941,6 +951,7 @@
desc = "This implant reworks the IPC frame, in order to incorporate materials that return to their original shape after being damaged. Requires power to function."
implant_color = "#0ac0d8"
origin_tech = "materials=4;programming=4;biotech=4;magnets=4;engineering=4"
materials = list(MAT_METAL = 12500, MAT_SILVER = 12000, MAT_GOLD = 2500, MAT_PLASMA = 5000)
slot = "stomach" //Can't have a nutriment pump with it.
requires_machine_person = TRUE
@@ -968,6 +979,7 @@
desc = "This is a basetype. Notify a coder!"
implant_color = "#eeff00"
origin_tech = "materials=5;programming=4;biotech=4"
materials = list(MAT_METAL = 12500, MAT_SILVER = 12000, MAT_GOLD = 2500, MAT_PLASMA = 5000)
slot = "joints"
requires_machine_person = TRUE
@@ -1054,6 +1066,7 @@
desc = "This implant acts on mindflayer nanobots like smoke does to bees, rendering them significantly more docile."
implant_color = COLOR_BLACK
origin_tech = "materials=4;programming=4;biotech=5;combat=4;"
materials = list(MAT_METAL = 10000, MAT_SILVER = 8000, MAT_GOLD = 3000, MAT_PLASMA = 10000)
/obj/item/organ/internal/cyberimp/chest/ipc_joints/flayer_pacification/insert(mob/living/carbon/M, special)
..()
@@ -1069,6 +1082,7 @@
desc = "This implant emulates the functions of a gastrointestinal system, allowing IPCs to eat and experience taste."
implant_color = "#d8780a"
origin_tech = "materials=2;powerstorage=2;biotech=2"
materials = list(MAT_METAL = 500, MAT_GLASS = 500, MAT_GOLD = 500)
slot = "gastrointestinal"
requires_machine_person = TRUE
+1
View File
@@ -33,6 +33,7 @@
icon_state = "ears-c"
desc = "a basic cybernetic designed to mimic the operation of ears."
origin_tech = "biotech=4"
materials = list(MAT_METAL = 500, MAT_GLASS = 500)
status = ORGAN_ROBOT
/obj/item/organ/internal/ears/cybernetic/emp_act(severity)
+6
View File
@@ -115,6 +115,7 @@
icon_state = "eyes-c"
desc = "An electronic device designed to mimic the functions of a pair of human eyes. It has no benefits over organic eyes, but is easy to produce."
origin_tech = "biotech=4"
materials = list(MAT_METAL = 500, MAT_GLASS = 500)
status = ORGAN_ROBOT
can_be_colorblind = FALSE // I PRINTED 400 PAIRS OF NEW EYES TO CURE COLORBLIND KIDS! -Space Beast
var/flash_intensity = 1
@@ -135,6 +136,7 @@
eye_color = "#199900"
lighting_alpha = LIGHTING_PLANE_ALPHA_MOSTLY_VISIBLE
origin_tech = "materials=4;engineering=4;biotech=4;magnets=4"
materials = list(MAT_METAL = 500, MAT_GLASS = 500, MAT_SILVER = 500, MAT_GOLD = 300)
/obj/item/organ/internal/eyes/cybernetic/meson/insert(mob/living/carbon/human/M, special = FALSE)
ADD_TRAIT(M, TRAIT_MESON_VISION, "meson_vision[UID()]")
@@ -151,6 +153,7 @@
see_in_dark = 8
vision_flags = SEE_MOBS | SEE_OBJS | SEE_TURFS
origin_tech = "materials=4;programming=4;biotech=7;magnets=4"
materials = list(MAT_METAL = 600, MAT_GLASS = 600, MAT_SILVER = 600, MAT_GOLD = 600, MAT_PLASMA = 1000, MAT_URANIUM = 1000, MAT_DIAMOND = 1000, MAT_BLUESPACE = 1000)
/obj/item/organ/internal/eyes/cybernetic/xray/hardened
name = "hardened X-ray eyes"
@@ -169,6 +172,7 @@
flash_protect = FLASH_PROTECTION_SENSITIVE
see_in_dark = 8
origin_tech = "materials=5;programming=4;biotech=4;magnets=4;syndicate=1"
materials = list(MAT_METAL = 600, MAT_GLASS = 600, MAT_SILVER = 600, MAT_GOLD = 600, MAT_PLASMA = 1000, MAT_DIAMOND = 2000)
/obj/item/organ/internal/eyes/cybernetic/thermals/hardened
name = "hardened thermal eyes"
@@ -183,6 +187,7 @@
eye_color = "#6f00ff"
flash_protect = FLASH_PROTECTION_EXTRA_SENSITIVE
origin_tech = "materials=5;programming=4;biotech=4;magnets=4"
materials = list(MAT_METAL = 600, MAT_GLASS = 600, MAT_SILVER = 600, MAT_GOLD = 600, MAT_PLASMA = 1000, MAT_DIAMOND = 2000)
var/scope_range = 0.8 //Only used in initialize. Greatly nerfed zoom range, since you are not taking the time zoom delay the lwap has.
var/active = FALSE
@@ -247,6 +252,7 @@
flash_protect = FLASH_PROTECTION_WELDER
eye_color = "#101010"
origin_tech = "materials=4;biotech=3;engineering=4;plasmatech=3"
materials = list(MAT_METAL = 600, MAT_GLASS = 400)
flash_intensity = 3
/obj/item/organ/internal/eyes/cybernetic/shield/hardened
+2
View File
@@ -192,6 +192,7 @@
dead_icon = "heart-c-off"
status = ORGAN_ROBOT
organ_datums = list(/datum/organ/heart, /datum/organ/battery)
materials = list(MAT_METAL = 500, MAT_GLASS = 500)
/obj/item/organ/internal/heart/cybernetic/upgraded
name = "upgraded cybernetic heart"
@@ -199,6 +200,7 @@
icon_state = "heart-c-u-on"
base_icon_state = "heart-c-u"
dead_icon = "heart-c-u-off"
materials = list(MAT_METAL = 500, MAT_GLASS = 500, MAT_SILVER = 500)
var/attempted_restart = FALSE
/obj/item/organ/internal/heart/cybernetic/upgraded/insert(mob/living/carbon/M, special = FALSE)
+1
View File
@@ -11,6 +11,7 @@
icon_state = "kidneys-c"
desc = "An electronic device designed to mimic the functions of human kidneys. It has no benefits over a pair of organic kidneys, but is easy to produce."
origin_tech = "biotech=4"
materials = list(MAT_METAL = 500, MAT_GLASS = 500)
status = ORGAN_ROBOT
/obj/item/organ/internal/kidneys/cybernetic/upgraded
+1
View File
@@ -55,4 +55,5 @@
icon_state = "liver-c"
desc = "An electronic device designed to mimic the functions of a human liver. It has no benefits over an organic liver, but is easy to produce."
origin_tech = "biotech=4"
materials = list(MAT_METAL = 500, MAT_GLASS = 500)
status = ORGAN_ROBOT
+2
View File
@@ -55,6 +55,7 @@
desc = "A cybernetic version of the lungs found in traditional humanoid entities. It functions the same as an organic lung and is merely meant as a replacement."
icon_state = "lungs-c"
origin_tech = "biotech=4"
materials = list(MAT_METAL = 500, MAT_GLASS = 500)
status = ORGAN_ROBOT
var/species_state = "default"
var/list/possible = list("default" = /datum/organ/lungs, "vox" = /datum/organ/lungs/vox, "plasmamen" = /datum/organ/lungs/plasmamen)
@@ -87,6 +88,7 @@
desc = "A more advanced version of the stock cybernetic lungs. They are capable of filtering out lower levels of toxins and carbon dioxide."
icon_state = "lungs-c-u"
origin_tech = "biotech=5"
materials = list(MAT_METAL = 500, MAT_GLASS = 500, MAT_SILVER = 500)
organ_datums = list(/datum/organ/lungs/advanced_cyber)
/obj/item/organ/internal/lungs/cybernetic/upgraded/configure_species(new_species_state)
@@ -6,6 +6,7 @@
encased = null
status = ORGAN_ROBOT
emp_resistant = TRUE
materials = list(MAT_METAL = 15000, MAT_GLASS = 5000)
/obj/item/organ/external/head/ipc/Initialize(mapload, mob/living/carbon/holder, datum/species/species_override = null)
. = ..()
@@ -110,6 +111,7 @@
slot = "heart"
vital = TRUE
status = ORGAN_ROBOT
materials = list(MAT_METAL = 2000, MAT_GLASS = 750)
requires_robotic_bodypart = TRUE
organ_datums = list(/datum/organ/battery)
@@ -118,6 +120,7 @@
icon = 'icons/obj/robot_component.dmi'
icon_state = "camera"
status = ORGAN_ROBOT
materials = list(MAT_METAL = 1000, MAT_GLASS = 2500)
weld_proof = TRUE
requires_robotic_bodypart = TRUE
@@ -151,6 +154,7 @@
name = "microphone"
icon_state = "voicebox"
status = ORGAN_ROBOT
materials = list(MAT_METAL = 1000, MAT_GLASS = 2500)
dead_icon = "taperecorder_empty"
requires_robotic_bodypart = TRUE