mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-29 06:58:30 +01:00
pai zmovement for climbing ladders, space and scaffolding (#17621)
* pai zmovement for climbing ladders, space and scaffolding * . --------- Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
@@ -103,6 +103,10 @@
|
||||
/mob/observer/dead/Initialize(mapload, aghost = FALSE)
|
||||
|
||||
appearance = loc
|
||||
invisibility = initial(invisibility)
|
||||
layer = initial(layer)
|
||||
plane = initial(plane)
|
||||
alpha = initial(alpha)
|
||||
admin_ghosted = aghost
|
||||
|
||||
see_in_dark = world.view //I mean. I don't even know if byond has occlusion culling... but...
|
||||
|
||||
@@ -287,6 +287,12 @@
|
||||
/mob/living/silicon/pai/UnarmedAttack(atom/A, proximity_flag)
|
||||
. = ..()
|
||||
|
||||
if(istype(A,/obj/structure/ladder))
|
||||
// Zmovement already allows these to be used with the verbs anyway
|
||||
var/obj/structure/ladder/L = A
|
||||
L.attack_hand(src)
|
||||
return
|
||||
|
||||
if(!ismob(A) || A == src)
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user