mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +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
|
||||
if(istype(X.species, /datum/species/xenos))
|
||||
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")
|
||||
if(do_after(user,5 SECONDS,src))
|
||||
visible_message("<span class='danger'>\The [user] forces \the [src] open, sparks flying from its electronics!</span>")
|
||||
if(do_after(user,30 SECONDS,src)) //CHOMPedit . Increased time to force open welded door for alien
|
||||
visible_message("<span class='danger'>\The [user] tears \the [src] open, sparks flying from its electronics!</span>") //CHOMPedit
|
||||
src.do_animate("spark")
|
||||
playsound(src, 'sound/machines/airlock_creaking.ogg', 100, 1)
|
||||
src.locked = 0
|
||||
src.welded = 0
|
||||
update_icon()
|
||||
open(1)
|
||||
src.emag_act()
|
||||
src.set_broken() //CHOMPedit . Changed action to make ripping open the airlock more realistic
|
||||
else if(src.density)
|
||||
visible_message("<span class='alium'>\The [user] begins forcing \the [src] open!</span>")
|
||||
if(do_after(user, 5 SECONDS,src))
|
||||
|
||||
Reference in New Issue
Block a user