Fix heist not ending again with the transfer shuttle (#1633)

-fix heist not ending when the transfer/emergency shuttle lands at odin
-remove the santa bag from the random bags pool
- Fixes #1634
-fix the scrying orb killing people
This commit is contained in:
Alberyk
2017-01-24 20:28:17 +02:00
committed by skull132
parent a4763014b9
commit 1d58b6637c
4 changed files with 13 additions and 14 deletions
+8 -7
View File
@@ -337,19 +337,20 @@
playsound(user, fire_sound, 10, 1)
else
playsound(user, fire_sound, 50, 1)
if(istype(in_chamber, /obj/item/projectile/beam/lastertag))
in_chamber.on_hit(M)
if (in_chamber.damage == 0)
user.show_message("<span class = 'warning'>You feel rather silly, trying to commit suicide with a toy.</span>")
mouthshoot = 0
return
in_chamber.on_hit(M)
if (in_chamber.damage_type != HALLOSS)
else if (in_chamber.damage_type == HALLOSS)
user << "<span class = 'notice'>Ow...</span>"
user.apply_effect(110,AGONY,0)
else
log_and_message_admins("[key_name(user)] commited suicide using \a [src]")
user.apply_damage(in_chamber.damage*2.5, in_chamber.damage_type, "head", used_weapon = "Point blank shot in the mouth with \a [in_chamber]", sharp=1)
user.death()
else
user << "<span class = 'notice'>Ow...</span>"
user.apply_effect(110,AGONY,0)
qdel(in_chamber)
mouthshoot = 0
return