mechs now use base_icon_state for their icon changes (#56480)

This commit is contained in:
Fikou
2021-01-31 00:28:01 -03:00
committed by GitHub
parent e0ee4a15cd
commit 6d07a89da8
10 changed files with 15 additions and 2 deletions
+2 -2
View File
@@ -237,9 +237,9 @@
if((mecha_flags & SILICON_PILOT) && silicon_icon_state)
icon_state = silicon_icon_state
else if(LAZYLEN(occupants))
icon_state = initial(icon_state)
icon_state = base_icon_state
else
icon_state = initial(icon_state)+ "-open"
icon_state = "[base_icon_state]-open"
/obj/vehicle/sealed/mecha/get_cell()
@@ -2,6 +2,7 @@
desc = "An aging combat exosuit utilized by the Nanotrasen corporation. Originally developed to combat hostile alien lifeforms."
name = "\improper Durand"
icon_state = "durand"
base_icon_state = "durand"
movedelay = 4
dir_in = 1 //Facing North.
max_integrity = 400
@@ -2,6 +2,7 @@
desc = "A lightweight, security exosuit. Popular among private and corporate security."
name = "\improper Gygax"
icon_state = "gygax"
base_icon_state = "gygax"
allow_diagonal_movement = TRUE
movedelay = 3
dir_in = 1 //Facing North.
@@ -2,6 +2,7 @@
desc = "Produced by \"Tyranny of Honk, INC\", this exosuit is designed as heavy clown-support. Used to spread the fun and joy of life. HONK!"
name = "\improper H.O.N.K"
icon_state = "honker"
base_icon_state = "honker"
movedelay = 3
max_integrity = 140
deflect_chance = 60
@@ -2,6 +2,7 @@
desc = "Heavy-duty, combat exosuit, developed after the Durand model. Rarely found among civilian populations."
name = "\improper Marauder"
icon_state = "marauder"
base_icon_state = "marauder"
movedelay = 5
max_integrity = 500
deflect_chance = 25
@@ -40,6 +41,7 @@
desc = "Heavy-duty, command-type exosuit. This is a custom model, utilized only by high-ranking military personnel."
name = "\improper Seraph"
icon_state = "seraph"
base_icon_state = "seraph"
operation_req_access = list(ACCESS_CENT_SPECOPS)
internals_req_access = list(ACCESS_CENT_SPECOPS)
movedelay = 3
@@ -69,6 +71,7 @@
desc = "Heavy-duty, combat exosuit, developed off of the existing Marauder model."
name = "\improper Mauler"
icon_state = "mauler"
base_icon_state = "mauler"
operation_req_access = list(ACCESS_SYNDICATE)
internals_req_access = list(ACCESS_SYNDICATE)
wreckage = /obj/structure/mecha_wreckage/mauler
@@ -2,6 +2,7 @@
desc = "This is a Phazon exosuit. The pinnacle of scientific research and pride of Nanotrasen, it uses cutting edge bluespace technology and expensive materials."
name = "\improper Phazon"
icon_state = "phazon"
base_icon_state = "phazon"
movedelay = 2
dir_in = 2 //Facing South.
step_energy_drain = 3
@@ -2,6 +2,7 @@
desc = "A silent, fast, and nigh-invisible miming exosuit. Popular among mimes and mime assassins."
name = "\improper reticence"
icon_state = "reticence"
base_icon_state = "reticence"
movedelay = 2
dir_in = 1 //Facing North.
max_integrity = 100
@@ -2,6 +2,7 @@
desc = "These exosuits are developed and produced by Vey-Med. (© All rights reserved)."
name = "\improper Odysseus"
icon_state = "odysseus"
base_icon_state = "odysseus"
allow_diagonal_movement = TRUE
movedelay = 2
max_temperature = 15000
@@ -3,6 +3,7 @@
desc = "Combining man and machine for a better, stronger engineer. Can even resist lava!"
name = "\improper Clarke"
icon_state = "clarke"
base_icon_state = "clarke"
max_temperature = 65000
max_integrity = 200
movedelay = 1.25
@@ -2,6 +2,7 @@
desc = "Autonomous Power Loader Unit MK-I. Designed primarily around heavy lifting, the Ripley can be outfitted with utility equipment to fill a number of roles."
name = "\improper APLU MK-I \"Ripley\""
icon_state = "ripley"
base_icon_state = "ripley"
silicon_icon_state = "ripley-empty"
movedelay = 1.5 //Move speed, lower is faster.
/// How fast the mech is in low pressure
@@ -61,6 +62,7 @@
desc = "Autonomous Power Loader Unit MK-II. This prototype Ripley is refitted with a pressurized cabin, trading its prior speed for atmospheric protection and armor."
name = "\improper APLU MK-II \"Ripley\""
icon_state = "ripleymkii"
base_icon_state = "ripleymkii"
fast_pressure_step_in = 2 //step_in while in low pressure conditions
slow_pressure_step_in = 4 //step_in while in normal pressure conditions
movedelay = 4
@@ -84,6 +86,7 @@
desc = "OH SHIT IT'S THE DEATHSQUAD WE'RE ALL GONNA DIE"
name = "\improper DEATH-RIPLEY"
icon_state = "deathripley"
base_icon_state = "deathripley"
fast_pressure_step_in = 2 //step_in while in low pressure conditions
slow_pressure_step_in = 3 //step_in while in normal pressure conditions
movedelay = 4