mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-30 16:47:13 +01:00
Mecha refactor 2020 (#52902)
-Mechs are a vehicle subtype -Mech equipment half-rewritten -Mech actions completely redone -Cooldown macros -New movement macros & replacing all var in GLOB.diagonals with ISDIAGONALDIR(var) -New lazylist macro -Support for lavaland only mechs -Removed the tank because fuck off with that hacky shit -Documentation -Fuckton of fixes
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
explosion(target, -1, 1, 3, 1, 0, flame_range = 4)
|
||||
|
||||
if(ismecha(target))
|
||||
var/obj/mecha/M = target
|
||||
var/obj/vehicle/sealed/mecha/M = target
|
||||
M.take_damage(anti_armour_damage)
|
||||
if(issilicon(target))
|
||||
var/mob/living/silicon/S = target
|
||||
@@ -56,7 +56,7 @@
|
||||
embedding = null
|
||||
var/sturdy = list(
|
||||
/turf/closed,
|
||||
/obj/mecha,
|
||||
/obj/vehicle/sealed/mecha,
|
||||
/obj/machinery/door/,
|
||||
/obj/machinery/door/poddoor/shutters
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user