mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
IPC tweaks (#19467)
* funny tv head robot go brrrrr * Update IPC.dm * not that fast * fuck it we ball
This commit is contained in:
@@ -91,9 +91,6 @@
|
|||||||
/// Internals box. Will be inserted at the start of backpack_contents
|
/// Internals box. Will be inserted at the start of backpack_contents
|
||||||
var/box
|
var/box
|
||||||
|
|
||||||
/// Special internals box for IPCs.
|
|
||||||
var/ipc_box = /obj/item/storage/box/ipc
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Any implants the mob should start implanted with
|
* Any implants the mob should start implanted with
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -192,17 +192,6 @@
|
|||||||
new /obj/item/gps/mining(src)
|
new /obj/item/gps/mining(src)
|
||||||
new /obj/item/reagent_containers/autoinjector/medipen(src)
|
new /obj/item/reagent_containers/autoinjector/medipen(src)
|
||||||
|
|
||||||
// IPC survival box
|
|
||||||
/obj/item/storage/box/ipc/PopulateContents()
|
|
||||||
new /obj/item/tank/internals/ipc_coolant(src)
|
|
||||||
new /obj/item/reagent_containers/autoinjector/medipen(src)
|
|
||||||
|
|
||||||
/obj/item/storage/box/ipc/miner/PopulateContents() //IPC mining box
|
|
||||||
new /obj/item/tank/internals/ipc_coolant(src)
|
|
||||||
new /obj/item/crowbar/red(src)
|
|
||||||
new /obj/item/gps/mining(src)
|
|
||||||
new /obj/item/reagent_containers/autoinjector/medipen(src)
|
|
||||||
|
|
||||||
/obj/item/storage/box/gloves
|
/obj/item/storage/box/gloves
|
||||||
name = "box of latex gloves"
|
name = "box of latex gloves"
|
||||||
desc = "Contains sterile latex gloves."
|
desc = "Contains sterile latex gloves."
|
||||||
|
|||||||
@@ -252,7 +252,6 @@
|
|||||||
back = /obj/item/storage/backpack
|
back = /obj/item/storage/backpack
|
||||||
shoes = /obj/item/clothing/shoes/sneakers/black
|
shoes = /obj/item/clothing/shoes/sneakers/black
|
||||||
box = /obj/item/storage/box/survival
|
box = /obj/item/storage/box/survival
|
||||||
ipc_box = /obj/item/storage/box/ipc
|
|
||||||
|
|
||||||
preload = TRUE // These are used by the prefs ui, and also just kinda could use the extra help at roundstart
|
preload = TRUE // These are used by the prefs ui, and also just kinda could use the extra help at roundstart
|
||||||
|
|
||||||
@@ -292,8 +291,6 @@
|
|||||||
|
|
||||||
if (isplasmaman(H) && !(visualsOnly)) //this is a plasmaman fix to stop having two boxes
|
if (isplasmaman(H) && !(visualsOnly)) //this is a plasmaman fix to stop having two boxes
|
||||||
box = null
|
box = null
|
||||||
if (isipc(H) && !(visualsOnly)) // IPCs get their own box with special internals in it
|
|
||||||
box = ipc_box
|
|
||||||
|
|
||||||
if((DIGITIGRADE in H.dna.species.species_traits) && digitigrade_shoes)
|
if((DIGITIGRADE in H.dna.species.species_traits) && digitigrade_shoes)
|
||||||
shoes = digitigrade_shoes
|
shoes = digitigrade_shoes
|
||||||
|
|||||||
@@ -63,7 +63,6 @@
|
|||||||
satchel = /obj/item/storage/backpack/satchel/explorer
|
satchel = /obj/item/storage/backpack/satchel/explorer
|
||||||
duffelbag = /obj/item/storage/backpack/duffelbag
|
duffelbag = /obj/item/storage/backpack/duffelbag
|
||||||
box = /obj/item/storage/box/survival_mining
|
box = /obj/item/storage/box/survival_mining
|
||||||
ipc_box = /obj/item/storage/box/ipc/miner
|
|
||||||
|
|
||||||
chameleon_extras = /obj/item/gun/energy/kinetic_accelerator
|
chameleon_extras = /obj/item/gun/energy/kinetic_accelerator
|
||||||
|
|
||||||
|
|||||||
@@ -95,6 +95,8 @@ GLOBAL_LIST_EMPTY(features_by_species)
|
|||||||
var/toxmod = 1
|
var/toxmod = 1
|
||||||
/// multiplier for stun duration
|
/// multiplier for stun duration
|
||||||
var/staminamod = 1
|
var/staminamod = 1
|
||||||
|
/// multiplier for pressure damage
|
||||||
|
var/pressuremod = 1
|
||||||
/// multiplier for money paid at payday, species dependent
|
/// multiplier for money paid at payday, species dependent
|
||||||
var/payday_modifier = 1
|
var/payday_modifier = 1
|
||||||
///Type of damage attack does
|
///Type of damage attack does
|
||||||
@@ -2048,7 +2050,7 @@ GLOBAL_LIST_EMPTY(features_by_species)
|
|||||||
switch(adjusted_pressure)
|
switch(adjusted_pressure)
|
||||||
if(HAZARD_HIGH_PRESSURE to INFINITY)
|
if(HAZARD_HIGH_PRESSURE to INFINITY)
|
||||||
if(!HAS_TRAIT(H, TRAIT_RESISTHIGHPRESSURE))
|
if(!HAS_TRAIT(H, TRAIT_RESISTHIGHPRESSURE))
|
||||||
H.adjustBruteLoss(min(((adjusted_pressure / HAZARD_HIGH_PRESSURE) -1 ) * PRESSURE_DAMAGE_COEFFICIENT, MAX_HIGH_PRESSURE_DAMAGE) * H.physiology.pressure_mod)
|
H.adjustBruteLoss(min(((adjusted_pressure / HAZARD_HIGH_PRESSURE) -1 ) * PRESSURE_DAMAGE_COEFFICIENT, MAX_HIGH_PRESSURE_DAMAGE) * H.physiology.pressure_mod * H.dna.species.pressuremod)
|
||||||
H.throw_alert("pressure", /atom/movable/screen/alert/highpressure, 2)
|
H.throw_alert("pressure", /atom/movable/screen/alert/highpressure, 2)
|
||||||
else
|
else
|
||||||
H.clear_alert("pressure")
|
H.clear_alert("pressure")
|
||||||
@@ -2062,7 +2064,7 @@ GLOBAL_LIST_EMPTY(features_by_species)
|
|||||||
if(HAS_TRAIT(H, TRAIT_RESISTLOWPRESSURE))
|
if(HAS_TRAIT(H, TRAIT_RESISTLOWPRESSURE))
|
||||||
H.clear_alert("pressure")
|
H.clear_alert("pressure")
|
||||||
else
|
else
|
||||||
H.adjustBruteLoss(LOW_PRESSURE_DAMAGE * H.physiology.pressure_mod)
|
H.adjustBruteLoss(LOW_PRESSURE_DAMAGE * H.physiology.pressure_mod * H.dna.species.pressuremod)
|
||||||
H.throw_alert("pressure", /atom/movable/screen/alert/lowpressure, 2)
|
H.throw_alert("pressure", /atom/movable/screen/alert/lowpressure, 2)
|
||||||
|
|
||||||
//////////
|
//////////
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
say_mod = "states" //inherited from a user's real species
|
say_mod = "states" //inherited from a user's real species
|
||||||
sexes = FALSE
|
sexes = FALSE
|
||||||
species_traits = list(NOTRANSSTING,NOEYESPRITES,NO_DNA_COPY,ROBOTIC_LIMBS,NOZOMBIE,MUTCOLORS,NOHUSK,AGENDER,NOBLOOD,NO_UNDERWEAR)
|
species_traits = list(NOTRANSSTING,NOEYESPRITES,NO_DNA_COPY,ROBOTIC_LIMBS,NOZOMBIE,MUTCOLORS,NOHUSK,AGENDER,NOBLOOD,NO_UNDERWEAR)
|
||||||
inherent_traits = list(TRAIT_RESISTCOLD,TRAIT_RADIMMUNE,TRAIT_COLDBLOODED,TRAIT_LIMBATTACHMENT,TRAIT_EASYDISMEMBER,TRAIT_NOCRITDAMAGE,TRAIT_GENELESS,TRAIT_MEDICALIGNORE,TRAIT_NOCLONE,TRAIT_TOXIMMUNE,TRAIT_EASILY_WOUNDED,TRAIT_NODEFIB)
|
inherent_traits = list(TRAIT_RESISTCOLD,TRAIT_RADIMMUNE,TRAIT_NOBREATH,TRAIT_LIMBATTACHMENT,TRAIT_EASYDISMEMBER,TRAIT_NOCRITDAMAGE,TRAIT_GENELESS,TRAIT_MEDICALIGNORE,TRAIT_NOCLONE,TRAIT_TOXIMMUNE,TRAIT_EASILY_WOUNDED,TRAIT_NODEFIB)
|
||||||
inherent_biotypes = list(MOB_ROBOTIC, MOB_HUMANOID)
|
inherent_biotypes = list(MOB_ROBOTIC, MOB_HUMANOID)
|
||||||
mutantbrain = /obj/item/organ/brain/positron
|
mutantbrain = /obj/item/organ/brain/positron
|
||||||
mutantheart = /obj/item/organ/heart/cybernetic/ipc
|
mutantheart = /obj/item/organ/heart/cybernetic/ipc
|
||||||
@@ -24,14 +24,19 @@
|
|||||||
exotic_blood = /datum/reagent/oil
|
exotic_blood = /datum/reagent/oil
|
||||||
damage_overlay_type = "synth"
|
damage_overlay_type = "synth"
|
||||||
limbs_id = "synth"
|
limbs_id = "synth"
|
||||||
payday_modifier = 0.5 //Mass producible labor + robot
|
payday_modifier = 0.3 //Mass producible labor + robot, lucky to be paid at all
|
||||||
burnmod = 1.5
|
pressuremod = 0.5 // from the moment i understood the weakness of my flesh it disgusted me
|
||||||
heatmod = 1
|
heatmod = 0.5 // and i yearned for the certainty of steel
|
||||||
|
burnmod = 1.25 // easily cut by laser cutters and welding tools to speed up manufacturing
|
||||||
|
tempmod = 2 // metal is more thermally conductive than flesh, heats up more when on fire
|
||||||
|
acidmod = 2 // go look up "acid etching"
|
||||||
brutemod = 1
|
brutemod = 1
|
||||||
|
oxymod = 0 // what the fuck?
|
||||||
toxmod = 0
|
toxmod = 0
|
||||||
clonemod = 0
|
clonemod = 0
|
||||||
staminamod = 0.8
|
staminamod = 0.8
|
||||||
siemens_coeff = 1.75
|
siemens_coeff = 1.75
|
||||||
|
action_speed_coefficient = 0.9 // designed for labor, they should be good at it
|
||||||
reagent_tag = PROCESS_SYNTHETIC
|
reagent_tag = PROCESS_SYNTHETIC
|
||||||
species_gibs = "robotic"
|
species_gibs = "robotic"
|
||||||
attack_sound = 'sound/items/trayhit1.ogg'
|
attack_sound = 'sound/items/trayhit1.ogg'
|
||||||
|
|||||||
@@ -309,15 +309,6 @@
|
|||||||
category = list("hacked","Miscellaneous","Equipment")
|
category = list("hacked","Miscellaneous","Equipment")
|
||||||
departmental_flags = DEPARTMENTAL_FLAG_ENGINEERING | DEPARTMENTAL_FLAG_CARGO
|
departmental_flags = DEPARTMENTAL_FLAG_ENGINEERING | DEPARTMENTAL_FLAG_CARGO
|
||||||
|
|
||||||
/datum/design/ipc_coolant_tank
|
|
||||||
name = "IPC Coolant Tank"
|
|
||||||
id = "ipc_coolant_tank"
|
|
||||||
build_type = AUTOLATHE | PROTOLATHE
|
|
||||||
materials = list(/datum/material/iron = 800)
|
|
||||||
build_path = /obj/item/tank/internals/ipc_coolant/empty
|
|
||||||
category = list("hacked","Miscellaneous","Equipment")
|
|
||||||
departmental_flags = DEPARTMENTAL_FLAG_ENGINEERING | DEPARTMENTAL_FLAG_CARGO
|
|
||||||
|
|
||||||
/datum/design/metal
|
/datum/design/metal
|
||||||
name = "Metal"
|
name = "Metal"
|
||||||
id = "metal"
|
id = "metal"
|
||||||
|
|||||||
@@ -1047,15 +1047,6 @@
|
|||||||
construction_time = 100
|
construction_time = 100
|
||||||
category = list("IPC Components")
|
category = list("IPC Components")
|
||||||
|
|
||||||
/datum/design/ipc_lungs
|
|
||||||
name = "Cooling Radiator"
|
|
||||||
id = "ipc_lungs"
|
|
||||||
build_type = MECHFAB
|
|
||||||
build_path = /obj/item/organ/lungs/ipc
|
|
||||||
materials = list(/datum/material/iron = 2000, /datum/material/glass = 1000)
|
|
||||||
construction_time = 100
|
|
||||||
category = list("IPC Components")
|
|
||||||
|
|
||||||
/datum/design/power_cord
|
/datum/design/power_cord
|
||||||
name = "Recharging Electronics"
|
name = "Recharging Electronics"
|
||||||
id = "power_cord"
|
id = "power_cord"
|
||||||
|
|||||||
@@ -155,7 +155,7 @@
|
|||||||
design_ids = list("solarcontrol", "recharger", "powermonitor", "rped", "pacman", "adv_capacitor", "adv_scanning", "emitter", "high_cell", "adv_matter_bin", "scanner_gate",
|
design_ids = list("solarcontrol", "recharger", "powermonitor", "rped", "pacman", "adv_capacitor", "adv_scanning", "emitter", "high_cell", "adv_matter_bin", "scanner_gate",
|
||||||
"atmosalerts", "atmos_control", "recycler", "autolathe", "high_micro_laser", "nano_mani", "mesons", "thermomachine", "rad_collector", "tesla_coil", "grounding_rod",
|
"atmosalerts", "atmos_control", "recycler", "autolathe", "high_micro_laser", "nano_mani", "mesons", "thermomachine", "rad_collector", "tesla_coil", "grounding_rod",
|
||||||
"cell_charger", "stack_console", "stack_machine", "conveyor_belt", "conveyor_switch",
|
"cell_charger", "stack_console", "stack_machine", "conveyor_belt", "conveyor_switch",
|
||||||
"oxygen_tank", "plasma_tank", "emergency_oxygen", "emergency_oxygen_engi", "plasmaman_tank_belt", "ipc_coolant_tank", "electrolyzer", "floorigniter", "crystallizer", "suit_storage_unit")
|
"oxygen_tank", "plasma_tank", "emergency_oxygen", "emergency_oxygen_engi", "plasmaman_tank_belt", "electrolyzer", "floorigniter", "crystallizer", "suit_storage_unit")
|
||||||
research_costs = list(TECHWEB_POINT_TYPE_GENERIC = 7500)
|
research_costs = list(TECHWEB_POINT_TYPE_GENERIC = 7500)
|
||||||
|
|
||||||
/datum/techweb_node/adv_engi
|
/datum/techweb_node/adv_engi
|
||||||
@@ -504,7 +504,7 @@
|
|||||||
display_name = "IPC Parts"
|
display_name = "IPC Parts"
|
||||||
description = "We have the technology to replace him."
|
description = "We have the technology to replace him."
|
||||||
prereq_ids = list("cyber_organs","robotics")
|
prereq_ids = list("cyber_organs","robotics")
|
||||||
design_ids = list("robotic_liver", "robotic_eyes", "robotic_tongue", "robotic_stomach", "robotic_ears", "power_cord", "ipc_lungs", "blankipc")
|
design_ids = list("robotic_liver", "robotic_eyes", "robotic_tongue", "robotic_stomach", "robotic_ears", "power_cord", "blankipc")
|
||||||
research_costs = list(TECHWEB_POINT_TYPE_GENERIC = 1500)
|
research_costs = list(TECHWEB_POINT_TYPE_GENERIC = 1500)
|
||||||
|
|
||||||
/datum/techweb_node/cyber_implants
|
/datum/techweb_node/cyber_implants
|
||||||
|
|||||||
@@ -64,5 +64,4 @@
|
|||||||
satchel = /obj/item/storage/backpack/satchel/med
|
satchel = /obj/item/storage/backpack/satchel/med
|
||||||
duffelbag = /obj/item/storage/backpack/duffelbag/med
|
duffelbag = /obj/item/storage/backpack/duffelbag/med
|
||||||
box = /obj/item/storage/box/survival_mining
|
box = /obj/item/storage/box/survival_mining
|
||||||
ipc_box = /obj/item/storage/box/ipc/miner
|
|
||||||
pda_slot = ITEM_SLOT_LPOCKET
|
pda_slot = ITEM_SLOT_LPOCKET
|
||||||
|
|||||||
Reference in New Issue
Block a user