Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.

Commit 51def56

Browse files
Merges the Ripley MK-II and Firefighter (#21498)
* it's joever * Update exosuit_fab.dm * Update exosuit_fab.dm
1 parent 7b73c2c commit 51def56

File tree

10 files changed

+19
-228
lines changed

10 files changed

+19
-228
lines changed

_maps/RandomRuins/StationRuins/maint/10x5/10x5_tank_heaven.dmm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
/turf/open/floor/plating,
5656
/area/template_noop)
5757
"p" = (
58-
/obj/structure/mecha_wreckage/ripley/mkii,
58+
/obj/structure/mecha_wreckage/ripley/firefighter,
5959
/obj/effect/decal/cleanable/oil,
6060
/turf/open/floor/plating,
6161
/area/template_noop)

code/__DEFINES/exosuit_fab.dm

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,21 +15,19 @@
1515
#define EXOSUIT_MODULE_RIPLEY (1<<0)
1616
/// Module is compatible with Odyseeus Exosuit models
1717
#define EXOSUIT_MODULE_ODYSSEUS (1<<1)
18-
/// Module is compatible with Firefighter Exosuit models
19-
#define EXOSUIT_MODULE_FIREFIGHTER (1<<2)
2018
/// Module is compatible with Gygax Exosuit models
21-
#define EXOSUIT_MODULE_GYGAX (1<<3)
19+
#define EXOSUIT_MODULE_GYGAX (1<<2)
2220
/// Module is compatible with Durand Exosuit models
23-
#define EXOSUIT_MODULE_DURAND (1<<4)
21+
#define EXOSUIT_MODULE_DURAND (1<<3)
2422
/// Module is compatible with H.O.N.K Exosuit models
25-
#define EXOSUIT_MODULE_HONK (1<<5)
23+
#define EXOSUIT_MODULE_HONK (1<<4)
2624
/// Module is compatible with Phazon Exosuit models
27-
#define EXOSUIT_MODULE_PHAZON (1<<6)
25+
#define EXOSUIT_MODULE_PHAZON (1<<5)
2826
/// Module is compatible with Sidewinder Exosuit models
29-
#define EXOSUIT_MODULE_SIDEWINDER (1<<7)
27+
#define EXOSUIT_MODULE_SIDEWINDER (1<<6)
3028

3129
/// Module is compatible with "Working" Exosuit models - Ripley and Firefighter
32-
#define EXOSUIT_MODULE_WORKING EXOSUIT_MODULE_RIPLEY | EXOSUIT_MODULE_FIREFIGHTER
30+
#define EXOSUIT_MODULE_WORKING EXOSUIT_MODULE_RIPLEY
3331
/// Module is compatible with "Combat" Exosuit models - Gygax, H.O.N.K, Durand, Phazon, and Sidewinder
3432
#define EXOSUIT_MODULE_COMBAT EXOSUIT_MODULE_GYGAX | EXOSUIT_MODULE_HONK | EXOSUIT_MODULE_DURAND | EXOSUIT_MODULE_PHAZON | EXOSUIT_MODULE_SIDEWINDER
3533
/// Module is compatible with "Medical" Exosuit modelsm - Odysseus

code/game/mecha/equipment/tools/work_tools.dm

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -572,8 +572,8 @@
572572

573573
//Dunno where else to put this so shrug
574574
/obj/item/mecha_parts/mecha_equipment/ripleyupgrade
575-
name = "Ripley MK-II Conversion Kit"
576-
desc = "A pressurized canopy attachment kit for an Autonomous Power Loader Unit \"Ripley\" MK-I mecha, to convert it to the slower, but space-worthy MK-II design. This kit cannot be removed, once applied."
575+
name = "Firefighter Conversion Kit"
576+
desc = "A pressurized canopy attachment kit for an Autonomous Power Loader Unit MK-I \"Ripley\" mecha, to convert it to the slower, but space-worthy MK-II design. This kit cannot be removed, once applied."
577577
icon_state = "ripleyupgrade"
578578

579579
/obj/item/mecha_parts/mecha_equipment/ripleyupgrade/can_attach(obj/mecha/working/ripley/M)
@@ -592,7 +592,7 @@
592592
return TRUE
593593

594594
/obj/item/mecha_parts/mecha_equipment/ripleyupgrade/attach(obj/mecha/M)
595-
var/obj/mecha/working/ripley/mkii/N = new /obj/mecha/working/ripley/mkii(get_turf(M),1)
595+
var/obj/mecha/working/ripley/firefighter/N = new /obj/mecha/working/ripley/firefighter(get_turf(M),1)
596596
if(!N)
597597
return
598598
QDEL_NULL(N.cell)

code/game/mecha/mech_fabricator.dm

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@
5656
"Cyborg",
5757
"Ripley",
5858
"Odysseus",
59-
"Firefighter",
6059
"Clarke",
6160
"Gygax",
6261
"Durand",
@@ -245,8 +244,6 @@
245244
category_override += "Ripley"
246245
if(mech_types & EXOSUIT_MODULE_ODYSSEUS)
247246
category_override += "Odysseus"
248-
if(mech_types & EXOSUIT_MODULE_FIREFIGHTER)
249-
category_override += "Firefighter"
250247
if(mech_types & EXOSUIT_MODULE_GYGAX)
251248
category_override += "Gygax"
252249
if(mech_types & EXOSUIT_MODULE_DURAND)

code/game/mecha/mecha_construction_paths.dm

Lines changed: 0 additions & 160 deletions
Original file line numberDiff line numberDiff line change
@@ -536,166 +536,6 @@
536536
user.visible_message("[user] unfastens the Gygax Armor Plates.", span_notice("You unfasten the Gygax Armor Plates."))
537537
return TRUE
538538

539-
/datum/component/construction/unordered/mecha_chassis/firefighter
540-
result = /datum/component/construction/mecha/firefighter
541-
steps = list(
542-
/obj/item/mecha_parts/part/ripley_torso,
543-
/obj/item/mecha_parts/part/ripley_left_arm,
544-
/obj/item/mecha_parts/part/ripley_right_arm,
545-
/obj/item/mecha_parts/part/ripley_left_leg,
546-
/obj/item/mecha_parts/part/ripley_right_leg,
547-
/obj/item/clothing/suit/fire
548-
)
549-
550-
/datum/component/construction/mecha/firefighter
551-
result = /obj/mecha/working/ripley/firefighter
552-
base_icon = "fireripley"
553-
554-
circuit_control = /obj/item/circuitboard/mecha/ripley/main
555-
circuit_periph = /obj/item/circuitboard/mecha/ripley/peripherals
556-
557-
inner_plating = /obj/item/stack/sheet/plasteel
558-
inner_plating_amount = 5
559-
560-
/datum/component/construction/mecha/firefighter/get_outer_plating_steps()
561-
return list(
562-
list(
563-
"key" = /obj/item/stack/sheet/plasteel,
564-
"amount" = 5,
565-
"back_key" = TOOL_WELDER,
566-
"desc" = "Internal armor is welded."
567-
),
568-
569-
list(
570-
"key" = /obj/item/stack/sheet/plasteel,
571-
"amount" = 5,
572-
"back_key" = TOOL_CROWBAR,
573-
"desc" = "External armor is being installed."
574-
),
575-
576-
list(
577-
"key" = TOOL_WRENCH,
578-
"back_key" = TOOL_CROWBAR,
579-
"desc" = "External armor is installed."
580-
),
581-
582-
list(
583-
"key" = TOOL_WELDER,
584-
"back_key" = TOOL_WRENCH,
585-
"desc" = "External armor is wrenched."
586-
),
587-
)
588-
589-
/datum/component/construction/mecha/firefighter/custom_action(obj/item/I, mob/living/user, diff)
590-
if(!..())
591-
return FALSE
592-
593-
//TODO: better messages.
594-
switch(index)
595-
if(1)
596-
user.visible_message("[user] connects [parent] hydraulic systems", span_notice("You connect [parent] hydraulic systems."))
597-
if(2)
598-
if(diff==FORWARD)
599-
user.visible_message("[user] activates [parent] hydraulic systems.", span_notice("You activate [parent] hydraulic systems."))
600-
else
601-
user.visible_message("[user] disconnects [parent] hydraulic systems", span_notice("You disconnect [parent] hydraulic systems."))
602-
if(3)
603-
if(diff==FORWARD)
604-
user.visible_message("[user] adds the wiring to [parent].", span_notice("You add the wiring to [parent]."))
605-
else
606-
user.visible_message("[user] deactivates [parent] hydraulic systems.", span_notice("You deactivate [parent] hydraulic systems."))
607-
if(4)
608-
if(diff==FORWARD)
609-
user.visible_message("[user] adjusts the wiring of [parent].", span_notice("You adjust the wiring of [parent]."))
610-
else
611-
user.visible_message("[user] removes the wiring from [parent].", span_notice("You remove the wiring from [parent]."))
612-
if(5)
613-
if(diff==FORWARD)
614-
user.visible_message("[user] installs [I] into [parent].", span_notice("You install [I] into [parent]."))
615-
else
616-
user.visible_message("[user] disconnects the wiring of [parent].", span_notice("You disconnect the wiring of [parent]."))
617-
if(6)
618-
if(diff==FORWARD)
619-
user.visible_message("[user] secures the mainboard.", span_notice("You secure the mainboard."))
620-
else
621-
user.visible_message("[user] removes the central control module from [parent].", span_notice("You remove the central computer mainboard from [parent]."))
622-
if(7)
623-
if(diff==FORWARD)
624-
user.visible_message("[user] installs [I]into [parent].", span_notice("You install [I]into [parent]."))
625-
else
626-
user.visible_message("[user] unfastens the mainboard.", span_notice("You unfasten the mainboard."))
627-
if(8)
628-
if(diff==FORWARD)
629-
user.visible_message("[user] secures the peripherals control module.", span_notice("You secure the peripherals control module."))
630-
else
631-
user.visible_message("[user] removes the peripherals control module from [parent].", span_notice("You remove the peripherals control module from [parent]."))
632-
if(9)
633-
if(diff==FORWARD)
634-
user.visible_message("[user] installs [I] into [parent].", span_notice("You install [I] into [parent]."))
635-
else
636-
user.visible_message("[user] unfastens the peripherals control module.", span_notice("You unfasten the peripherals control module."))
637-
if(10)
638-
if(diff==FORWARD)
639-
user.visible_message("[user] secures the scanner module.", span_notice("You secure the scanner module."))
640-
else
641-
user.visible_message("[user] removes the scanner module from [parent].", span_notice("You remove the scanner module from [parent]."))
642-
if(11)
643-
if(diff==FORWARD)
644-
user.visible_message("[user] installs [I] to [parent].", span_notice("You install [I] to [parent]."))
645-
else
646-
user.visible_message("[user] unfastens the scanner module.", span_notice("You unfasten the scanner module."))
647-
if(12)
648-
if(diff==FORWARD)
649-
user.visible_message("[user] secures the capacitor.", span_notice("You secure the capacitor."))
650-
else
651-
user.visible_message("[user] removes the capacitor from [parent].", span_notice("You remove the capacitor from [parent]."))
652-
if(13)
653-
if(diff==FORWARD)
654-
user.visible_message("[user] installs [I] into [parent].", span_notice("You install [I] into [parent]."))
655-
else
656-
user.visible_message("[user] unfastens the capacitor.", span_notice("You unfasten the capacitor."))
657-
if(14)
658-
if(diff==FORWARD)
659-
user.visible_message("[user] secures the power cell.", span_notice("You secure the power cell."))
660-
else
661-
user.visible_message("[user] pries the power cell from [parent].", span_notice("You pry the power cell from [parent]."))
662-
if(15)
663-
if(diff==FORWARD)
664-
user.visible_message("[user] installs the internal armor layer to [parent].", span_notice("You install the internal armor layer to [parent]."))
665-
else
666-
user.visible_message("[user] unfastens the power cell.", span_notice("You unfasten the power cell."))
667-
if(16)
668-
if(diff==FORWARD)
669-
user.visible_message("[user] secures the internal armor layer.", span_notice("You secure the internal armor layer."))
670-
else
671-
user.visible_message("[user] pries internal armor layer from [parent].", span_notice("You pry internal armor layer from [parent]."))
672-
if(17)
673-
if(diff==FORWARD)
674-
user.visible_message("[user] welds the internal armor layer to [parent].", span_notice("You weld the internal armor layer to [parent]."))
675-
else
676-
user.visible_message("[user] unfastens the internal armor layer.", span_notice("You unfasten the internal armor layer."))
677-
if(18)
678-
if(diff==FORWARD)
679-
user.visible_message("[user] starts to install the external armor layer to [parent].", span_notice("You install the external armor layer to [parent]."))
680-
else
681-
user.visible_message("[user] cuts the internal armor layer from [parent].", span_notice("You cut the internal armor layer from [parent]."))
682-
if(19)
683-
if(diff==FORWARD)
684-
user.visible_message("[user] installs the external reinforced armor layer to [parent].", span_notice("You install the external reinforced armor layer to [parent]."))
685-
else
686-
user.visible_message("[user] removes the external armor from [parent].", span_notice("You remove the external armor from [parent]."))
687-
if(20)
688-
if(diff==FORWARD)
689-
user.visible_message("[user] secures the external armor layer.", span_notice("You secure the external reinforced armor layer."))
690-
else
691-
user.visible_message("[user] pries external armor layer from [parent].", span_notice("You pry external armor layer from [parent]."))
692-
if(21)
693-
if(diff==FORWARD)
694-
user.visible_message("[user] welds the external armor layer to [parent].", span_notice("You weld the external armor layer to [parent]."))
695-
else
696-
user.visible_message("[user] unfastens the external armor layer.", span_notice("You unfasten the external armor layer."))
697-
return TRUE
698-
699539
/datum/component/construction/unordered/mecha_chassis/clarke
700540
result = /datum/component/construction/mecha/clarke
701541
steps = list(

code/game/mecha/mecha_parts.dm

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -187,11 +187,6 @@
187187
desc = "A set of armor plates for the Durand. Built heavy to resist an incredible amount of brute force."
188188
icon_state = "durand_armor"
189189

190-
////////// Firefighter
191-
192-
/obj/item/mecha_parts/chassis/firefighter
193-
name = "\improper Firefighter chassis"
194-
construct_type = /datum/component/construction/unordered/mecha_chassis/firefighter
195190

196191
////////// Clarke
197192

code/game/mecha/mecha_wreckage.dm

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -206,11 +206,6 @@
206206
icon_state = "ripley-broken"
207207
orig_mecha = /obj/mecha/working/ripley
208208

209-
/obj/structure/mecha_wreckage/ripley/mkii
210-
name = "\improper Ripley MK-II wreckage"
211-
icon_state = "ripleymkii-broken"
212-
orig_mecha = /obj/mecha/working/ripley/mkii
213-
214209
/obj/structure/mecha_wreckage/ripley/firefighter
215210
name = "\improper Firefighter wreckage"
216211
icon_state = "firefighter-broken"

code/game/mecha/working/ripley.dm

Lines changed: 2 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
step_in = 1.5 //Move speed, lower is faster.
77
max_temperature = 20000
88
max_integrity = 200
9-
light_power = 7
109
deflect_chance = 15
1110
armor = list(MELEE = 40, BULLET = 20, LASER = 10, ENERGY = 0, BOMB = 40, BIO = 0, RAD = 20, FIRE = 100, ACID = 100)
1211
max_equip = 6
@@ -62,36 +61,18 @@
6261
. = ..()
6362
AddComponent(/datum/component/armor_plate,3,/obj/item/stack/sheet/animalhide/goliath_hide,list(MELEE = 10, BULLET = 5, LASER = 5))
6463

65-
66-
/obj/mecha/working/ripley/mkii
67-
desc = "Autonomous Power Loader Unit MK-II. This prototype Ripley is refitted with a pressurized cabin, trading its prior speed for atmospheric protection"
68-
name = "\improper APLU MK-II \"Ripley\""
69-
icon_state = "ripleymkii"
70-
fast_pressure_step_in = 1.75 //step_in while in low pressure conditions
71-
slow_pressure_step_in = 3 //step_in while in normal pressure conditions
72-
step_in = 3
73-
flags_1 = HEAR_1 | RAD_PROTECT_CONTENTS_1 | RAD_NO_CONTAMINATE_1
74-
armor = list(MELEE = 40, BULLET = 20, LASER = 10, ENERGY = 0, BOMB = 40, BIO = 100, RAD = 100, FIRE = 100, ACID = 100)
75-
wreckage = /obj/structure/mecha_wreckage/ripley/mkii
76-
enclosed = TRUE
77-
enter_delay = 40
78-
silicon_icon_state = null
79-
opacity = TRUE
80-
8164
/obj/mecha/working/ripley/firefighter
82-
desc = "Autonomous Power Loader Unit MK-III. This model is refitted with a pressurized cabin and additional thermal protection."
83-
name = "\improper APLU MK-III \"Firefighter\""
65+
desc = "Autonomous Power Loader Unit MK-II. This model is fitted with a pressurized cabin and thermal protection."
66+
name = "\improper APLU MK-II \"Firefighter\""
8467
icon_state = "firefighter"
8568
max_temperature = 65000
8669
max_integrity = 250
8770
fast_pressure_step_in = 1.75 //step_in while in low pressure conditions
8871
slow_pressure_step_in = 3 //step_in while in normal pressure conditions
8972
step_in = 3
9073
resistance_flags = LAVA_PROOF | FIRE_PROOF | ACID_PROOF
91-
light_power = 7
9274
flags_1 = HEAR_1 | RAD_PROTECT_CONTENTS_1 | RAD_NO_CONTAMINATE_1
9375
armor = list(MELEE = 40, BULLET = 30, LASER = 30, ENERGY = 0, BOMB = 60, BIO = 100, RAD = 100, FIRE = 100, ACID = 100)
94-
max_equip = 5 // More armor, less tools
9576
wreckage = /obj/structure/mecha_wreckage/ripley/firefighter
9677
enclosed = TRUE
9778
enter_delay = 40

code/modules/cargo/bounties/mech.dm

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,8 @@
1313
/datum/bounty/item/mech/mark_high_priority(scale_reward)
1414
return ..(max(scale_reward * 0.7, 1.2))
1515

16-
/datum/bounty/item/mech/ripleymkii
17-
name = "APLU MK-II \"Ripley\""
18-
reward = 13000
19-
wanted_types = list(/obj/mecha/working/ripley/mkii)
20-
2116
/datum/bounty/item/mech/firefighter
22-
name = "APLU \"Firefighter\""
17+
name = "APLU MK-II \"Firefighter\""
2318
reward = 18000
2419
wanted_types = list(/obj/mecha/working/ripley/firefighter)
2520

code/modules/research/designs/mechfabricator_designs.dm

Lines changed: 6 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -72,24 +72,14 @@
7272
construction_time = 100
7373
category = list("Ripley")
7474

75-
//firefighter subtype
76-
/datum/design/firefighter_chassis
77-
name = "Exosuit Chassis (APLU \"Firefighter\")"
78-
id = "firefighter_chassis"
79-
build_type = MECHFAB
80-
build_path = /obj/item/mecha_parts/chassis/firefighter
81-
materials = list(/datum/material/iron=20000)
82-
construction_time = 100
83-
category = list("Firefighter")
84-
8575
/datum/design/ripley_torso
8676
name = "Exosuit Torso (APLU \"Ripley\")"
8777
id = "ripley_torso"
8878
build_type = MECHFAB
8979
build_path = /obj/item/mecha_parts/part/ripley_torso
9080
materials = list(/datum/material/iron=20000, /datum/material/glass=7500)
9181
construction_time = 200
92-
category = list("Ripley","Firefighter")
82+
category = list("Ripley")
9383

9484
/datum/design/ripley_left_arm
9585
name = "Exosuit Left Arm (APLU \"Ripley\")"
@@ -98,7 +88,7 @@
9888
build_path = /obj/item/mecha_parts/part/ripley_left_arm
9989
materials = list(/datum/material/iron=15000)
10090
construction_time = 150
101-
category = list("Ripley","Firefighter")
91+
category = list("Ripley")
10292

10393
/datum/design/ripley_right_arm
10494
name = "Exosuit Right Arm (APLU \"Ripley\")"
@@ -107,7 +97,7 @@
10797
build_path = /obj/item/mecha_parts/part/ripley_right_arm
10898
materials = list(/datum/material/iron=15000)
10999
construction_time = 150
110-
category = list("Ripley","Firefighter")
100+
category = list("Ripley")
111101

112102
/datum/design/ripley_left_leg
113103
name = "Exosuit Left Leg (APLU \"Ripley\")"
@@ -116,7 +106,7 @@
116106
build_path = /obj/item/mecha_parts/part/ripley_left_leg
117107
materials = list(/datum/material/iron=15000)
118108
construction_time = 150
119-
category = list("Ripley","Firefighter")
109+
category = list("Ripley")
120110

121111
/datum/design/ripley_right_leg
122112
name = "Exosuit Right Leg (APLU \"Ripley\")"
@@ -125,7 +115,7 @@
125115
build_path = /obj/item/mecha_parts/part/ripley_right_leg
126116
materials = list(/datum/material/iron=15000)
127117
construction_time = 150
128-
category = list("Ripley","Firefighter")
118+
category = list("Ripley")
129119

130120
//Odysseus
131121
/datum/design/odysseus_chassis
@@ -636,7 +626,7 @@
636626

637627
//Exosuit Equipment
638628
/datum/design/ripleyupgrade
639-
name = "Ripley MK-I to MK-II conversion kit"
629+
name = "APLU MK-II \"Firefighter\" conversion kit"
640630
id = "ripleyupgrade"
641631
build_type = MECHFAB
642632
build_path = /obj/item/mecha_parts/mecha_equipment/ripleyupgrade

0 commit comments

Comments
 (0)