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:
TiviPlus
2020-08-29 23:33:47 -03:00
committed by GitHub
parent e17ea62611
commit ce3d7e2f0d
94 changed files with 1733 additions and 1871 deletions
@@ -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
)