Constructs 2.0 - Living Stone (#5040)

* Construct Overhaul + Related Fixes/Tweaks
This commit is contained in:
Mechoid
2018-04-04 23:45:00 -07:00
committed by Atermonera
parent d5c5249327
commit 57ab0e715b
36 changed files with 1427 additions and 167 deletions
+9
View File
@@ -67,6 +67,9 @@
/mob/living/carbon/human/can_overcome_gravity()
return species && species.can_overcome_gravity(src)
/mob/living/simple_animal/construct/can_overcome_gravity()
return 1 //They care not for standard physics.
/mob/observer/zMove(direction)
var/turf/destination = (direction == UP) ? GetAbove(src) : GetBelow(src)
if(destination)
@@ -97,6 +100,9 @@
/mob/observer/can_ztravel()
return 1
/mob/living/simple_animal/construct/can_ztravel()
return 1
/mob/living/carbon/human/can_ztravel()
if(incapacitated())
return 0
@@ -209,6 +215,9 @@
/mob/living/simple_animal/hostile/carp/can_fall() // So can carp apparently.
return FALSE
/mob/living/simple_animal/construct/can_fall() //As do Constructs.
return FALSE
// Check if this atom prevents things standing on it from falling. Return TRUE to allow the fall.
/obj/proc/CanFallThru(atom/movable/mover as mob|obj, turf/target as turf)
return TRUE