mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-17 18:13:34 +01:00
Magboots now correctly stop you from getting sucked into the singularity when activated.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@865 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -479,6 +479,7 @@
|
||||
icon_state = "magboots0"
|
||||
protective_temperature = 800
|
||||
heat_transfer_coefficient = 0.01
|
||||
var/magpulse = 0
|
||||
// flags = NOSLIP //disabled by default
|
||||
|
||||
/obj/item/clothing/shoes/clown_shoes
|
||||
|
||||
@@ -189,8 +189,17 @@ However people seem to like it for some reason.
|
||||
if(0 to 2)
|
||||
src.Bumped(X)
|
||||
else if(!isturf(X))
|
||||
if(!X:anchored)
|
||||
step_towards(X,src)
|
||||
if(!istype(X,/mob/living/carbon/human))
|
||||
if(!X:anchored)
|
||||
step_towards(X,src)
|
||||
else
|
||||
var/mob/living/carbon/human/H = X
|
||||
if(istype(H.shoes,/obj/item/clothing/shoes/magboots))
|
||||
var/obj/item/clothing/shoes/magboots/M = H.shoes
|
||||
if(M.magpulse)
|
||||
continue
|
||||
else
|
||||
step_towards(H,src)
|
||||
|
||||
/obj/machinery/the_singularity/proc/move()
|
||||
var/direction_go = pick(cardinal)
|
||||
|
||||
@@ -220,14 +220,16 @@ DEATH COMMANDO GAS MASK
|
||||
/obj/item/clothing/under/color/orange/mode = 3
|
||||
|
||||
/obj/item/clothing/shoes/magboots/attack_self(mob/user as mob)
|
||||
if(src.flags&NOSLIP)
|
||||
if(src.magpulse)
|
||||
src.flags &= ~NOSLIP
|
||||
src.slowdown = SHOES_SLOWDOWN
|
||||
src.magpulse = 0
|
||||
icon_state = "magboots0"
|
||||
user << "You disable the mag-pulse traction system."
|
||||
else
|
||||
src.flags |= NOSLIP
|
||||
src.slowdown = 2
|
||||
src.magpulse = 1
|
||||
icon_state = "magboots1"
|
||||
user << "You enable the mag-pulse traction system."
|
||||
|
||||
|
||||
Reference in New Issue
Block a user