mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-18 03:26:31 +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:
@@ -220,11 +220,6 @@
|
||||
/obj/structure/window/proc/check_state_and_anchored(checked_state, checked_anchored)
|
||||
return check_state(checked_state) && check_anchored(checked_anchored)
|
||||
|
||||
/obj/structure/window/mech_melee_attack(obj/mecha/M)
|
||||
if(!can_be_reached())
|
||||
return
|
||||
..()
|
||||
|
||||
/obj/structure/window/proc/can_be_reached(mob/user)
|
||||
if(!fulltile)
|
||||
if(get_dir(user,src) & dir)
|
||||
|
||||
Reference in New Issue
Block a user