mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-13 03:33:21 +00:00
Revert and fix for e-nets.
This commit is contained in:
@@ -1377,19 +1377,17 @@ It is possible to destroy the net by the occupant or someone else.
|
|||||||
playsound(M.loc, 'sound/effects/sparks2.ogg', 50, 1)
|
playsound(M.loc, 'sound/effects/sparks2.ogg', 50, 1)
|
||||||
anim(M.loc,M,'icons/mob/mob.dmi',,"phasein",,M.dir)
|
anim(M.loc,M,'icons/mob/mob.dmi',,"phasein",,M.dir)
|
||||||
del(src)//Wait for everything to finish, delete the net. Else it will stop everything once net is deleted, including the spawn(0).
|
del(src)//Wait for everything to finish, delete the net. Else it will stop everything once net is deleted, including the spawn(0).
|
||||||
else
|
|
||||||
M.loc = null
|
|
||||||
|
|
||||||
M << "\red You appear in a strange place!"
|
M << "\red You appear in a strange place!"
|
||||||
|
|
||||||
for(var/mob/O in viewers(src, 3))
|
for(var/mob/O in viewers(src, 3))
|
||||||
O.show_message(text("[] vanished!", M), 1, text("You hear sparks flying!"), 2)
|
O.show_message(text("[] vanished!", M), 1, text("You hear sparks flying!"), 2)
|
||||||
|
|
||||||
if(!isnull(master))//As long as they still exist.
|
if(!isnull(master))//As long as they still exist.
|
||||||
master << "\blue <b>SUCCESS</b>: \black transport procedure of \the [affecting] complete."
|
master << "\blue <b>SUCCESS</b>: \black transport procedure of \the [affecting] complete."
|
||||||
|
|
||||||
M.captured = 0 //Important.
|
M.captured = 0 //Important.
|
||||||
M.anchored = initial(M.anchored) //Changes the mob's anchored status to the original one; this is not handled by the can_move proc.
|
M.anchored = initial(M.anchored) //Changes the mob's anchored status to the original one; this is not handled by the can_move proc.
|
||||||
|
|
||||||
else//And they are free.
|
else//And they are free.
|
||||||
M << "\blue You are free of the net!"
|
M << "\blue You are free of the net!"
|
||||||
|
|||||||
@@ -671,7 +671,7 @@ As such, it's hard-coded for now. No reason for it not to be, really.
|
|||||||
verbs += /obj/item/clothing/suit/space/space_ninja/proc/ninjapulse
|
verbs += /obj/item/clothing/suit/space/space_ninja/proc/ninjapulse
|
||||||
verbs += /obj/item/clothing/suit/space/space_ninja/proc/ninjablade
|
verbs += /obj/item/clothing/suit/space/space_ninja/proc/ninjablade
|
||||||
verbs += /obj/item/clothing/suit/space/space_ninja/proc/ninjastar
|
verbs += /obj/item/clothing/suit/space/space_ninja/proc/ninjastar
|
||||||
//verbs += /obj/item/clothing/suit/space/space_ninja/proc/ninjanet
|
verbs += /obj/item/clothing/suit/space/space_ninja/proc/ninjanet
|
||||||
|
|
||||||
s_initialized=1
|
s_initialized=1
|
||||||
slowdown=0
|
slowdown=0
|
||||||
|
|||||||
Reference in New Issue
Block a user