mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-12 11:13:16 +00:00
Changing player Xenomorph interactions with airlocks
Description will be in a push.
This commit is contained in:
@@ -76,17 +76,17 @@
|
|||||||
var/mob/living/carbon/human/X = user
|
var/mob/living/carbon/human/X = user
|
||||||
if(istype(X.species, /datum/species/xenos))
|
if(istype(X.species, /datum/species/xenos))
|
||||||
if(src.locked || src.welded)
|
if(src.locked || src.welded)
|
||||||
visible_message("<span class='alium'>\The [user] begins digging into \the [src] internals!</span>")
|
visible_message("<span class='alium'>\The [user] begins tearing into \the [src] internals!</span>") //CHOMPedit . edited message to make it more violent
|
||||||
src.do_animate("deny")
|
src.do_animate("deny")
|
||||||
if(do_after(user,5 SECONDS,src))
|
if(do_after(user,30 SECONDS,src)) //CHOMPedit . Increased time to force open welded door for alien
|
||||||
visible_message("<span class='danger'>\The [user] forces \the [src] open, sparks flying from its electronics!</span>")
|
visible_message("<span class='danger'>\The [user] tears \the [src] open, sparks flying from its electronics!</span>") //CHOMPedit
|
||||||
src.do_animate("spark")
|
src.do_animate("spark")
|
||||||
playsound(src, 'sound/machines/airlock_creaking.ogg', 100, 1)
|
playsound(src, 'sound/machines/airlock_creaking.ogg', 100, 1)
|
||||||
src.locked = 0
|
src.locked = 0
|
||||||
src.welded = 0
|
src.welded = 0
|
||||||
update_icon()
|
update_icon()
|
||||||
open(1)
|
open(1)
|
||||||
src.emag_act()
|
src.set_broken() //CHOMPedit . Changed action to make ripping open the airlock more realistic
|
||||||
else if(src.density)
|
else if(src.density)
|
||||||
visible_message("<span class='alium'>\The [user] begins forcing \the [src] open!</span>")
|
visible_message("<span class='alium'>\The [user] begins forcing \the [src] open!</span>")
|
||||||
if(do_after(user, 5 SECONDS,src))
|
if(do_after(user, 5 SECONDS,src))
|
||||||
|
|||||||
Reference in New Issue
Block a user