Skip to content

Commit 8f9ece6

Browse files
committed
runtime hell fixes
1 parent c0dbcc6 commit 8f9ece6

File tree

3 files changed

+29
-4
lines changed

3 files changed

+29
-4
lines changed

monkestation/code/game/mecha/makeshift/locker_mech.dm

+9-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
max_integrity = 100 //its made of scraps
99
lights_power = 5
1010
movedelay = 2 //Same speed as a ripley, for now.
11-
armor_type = list(melee = 20, bullet = 10, laser = 10, energy = 0, bomb = 10, bio = 0, rad = 0, fire = 70, acid = 60) //Same armour as a locker
11+
armor_type = /datum/armor/scrap_vehicles //Same armour as a locker
1212
internal_damage_threshold = 30 //Its got shitty durability
1313
wreckage = null
1414
mech_type = EXOSUIT_MODULE_MAKESHIFT
@@ -26,3 +26,11 @@
2626
MECHA_POWER = 0,
2727
MECHA_ARMOR = 0,
2828
)
29+
30+
/datum/armor/scrap_vehicles
31+
melee = 20
32+
bullet = 10
33+
laser = 10
34+
bomb = 10
35+
fire = 70
36+
acid = 60

monkestation/code/game/mecha/makeshift/makeshift_ambulance.dm

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
stepsound = 'sound/vehicles/carrev.ogg'
1212
turnsound = 'sound/vehicles/carrev.ogg'
1313
mecha_flags = ADDING_ACCESS_POSSIBLE | IS_ENCLOSED | HAS_LIGHTS //can't strafe bruv
14-
armor_type = list(melee = 20, bullet = 10, laser = 10, energy = 0, bomb = 10, bio = 0, rad = 0, fire = 70, acid = 60) //Same armour as a locker (close enough to a portapotty no?)
14+
armor_type = /datum/armor/scrap_vehicles //Same armour as a locker (close enough to a portapotty no?)
1515
internal_damage_threshold = 30 //Its got shitty durability
1616
wreckage = null
1717
mech_type = EXOSUIT_MODULE_AMBULANCE

monkestation/code/game/mecha/makeshift/trash_tank.dm

+19-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
stepsound = 'monkestation/sound/mecha/tank_treads.ogg'
1212
turnsound = 'monkestation/sound/mecha/tank_treads.ogg'
1313
mecha_flags = ADDING_ACCESS_POSSIBLE | IS_ENCLOSED | HAS_LIGHTS | MMI_COMPATIBLE //can't strafe bruv
14-
armor_type = list(melee = 30, bullet = 20, laser = 20, energy = 10, bomb = 20, bio = 0, rad = 0, fire = 70, acid = 60) //mediocre armor, do you expect any better?
14+
armor_type = /datum/armor/scrap_tank //mediocre armor, do you expect any better?
1515
internal_damage_threshold = 60 //Its got shitty durability
1616
wreckage = /obj/structure/closet/crate/trashcart
1717
mech_type = EXOSUIT_MODULE_TRASHTANK
@@ -28,10 +28,27 @@
2828
MECHA_ARMOR = 0,
2929
)
3030

31+
/datum/armor/scrap_tank
32+
melee = 30
33+
bullet = 20
34+
laser = 20
35+
energy = 10
36+
bomb = 20
37+
fire = 70
38+
acid = 60
39+
40+
/datum/armor/scrap_tank/uparmoured
41+
melee = 60
42+
bullet = 40
43+
laser = 40
44+
energy = 20
45+
fire = 70
46+
acid = 60
47+
3148
/obj/vehicle/sealed/mecha/trash_tank/proc/upgrade()
3249
name = "up-armoured trash tank"
3350
icon_state = "trash_tank-armoured"
3451
base_icon_state = "trash_tank-armoured"
3552
update_appearance()
3653

37-
armor_type = list(melee = 60, bullet = 40, laser = 40, energy = 20, bomb = 20, bio = 0, rad = 0, fire = 70, acid = 60)
54+
armor_type = /datum/armor/scrap_tank/uparmoured

0 commit comments

Comments
 (0)