mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-20 12:29:23 +01:00
Magboot Shuttlerides Redux (#11290)
This commit is contained in:
@@ -192,18 +192,22 @@
|
||||
if(istype(TA, ceiling_type))
|
||||
TA.ChangeTurf(get_base_turf_by_area(TA), 1, 1)
|
||||
if(knockdown)
|
||||
for(var/mob/M in A)
|
||||
for(var/mob/living/carbon/M in A)
|
||||
spawn(0)
|
||||
if(istype(M, /mob/living/carbon))
|
||||
if(M.buckled_to)
|
||||
to_chat(M, "<span class='warning'>Sudden acceleration presses you into your chair!</span>")
|
||||
shake_camera(M, 3, 1)
|
||||
else
|
||||
to_chat(M, "<span class='warning'>The floor lurches beneath you!</span>")
|
||||
shake_camera(M, 10, 1)
|
||||
M.visible_message("<span class='warning'>[M.name] is tossed around by the sudden acceleration!</span>")
|
||||
M.throw_at_random(FALSE, 4, 1)
|
||||
M.Weaken(3)
|
||||
if(M.buckled_to)
|
||||
to_chat(M, "<span class='warning'>Sudden acceleration presses you into your chair!</span>")
|
||||
shake_camera(M, 3, 1)
|
||||
else if(M.Check_Shoegrip(FALSE))
|
||||
to_chat(M, SPAN_WARNING("You feel immense pressure in your feet as you cling to the floor!"))
|
||||
M.apply_damage(10, PAIN, BP_L_FOOT)
|
||||
M.apply_damage(10, PAIN, BP_R_FOOT)
|
||||
shake_camera(M, 5, 1)
|
||||
else
|
||||
to_chat(M, "<span class='warning'>The floor lurches beneath you!</span>")
|
||||
shake_camera(M, 10, 1)
|
||||
M.visible_message("<span class='warning'>[M.name] is tossed around by the sudden acceleration!</span>")
|
||||
M.throw_at_random(FALSE, 4, 1)
|
||||
M.Weaken(3)
|
||||
|
||||
for(var/obj/structure/cable/C in A)
|
||||
powernets |= C.powernet
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
author: Geeves
|
||||
|
||||
delete-after: True
|
||||
|
||||
changes:
|
||||
- rscadd: "Magboots now prevent you from being thrown about during shuttle rides."
|
||||
Reference in New Issue
Block a user