First pass on making heist a pirate mode (human based)

This commit is contained in:
Zuhayr
2015-03-21 11:13:05 +10:30
parent 4fdc00dee4
commit 8d698f0c06
18 changed files with 5397 additions and 5462 deletions
+21
View File
@@ -64,3 +64,24 @@
else
user.visible_message("<span class='danger'>[user] hits [src] and bounces off!</span>")
return 1
// The following mirror is ~special~.
/obj/structure/mirror/raider
name = "cracked mirror"
desc = "Something seems strange about this old, dirty mirror. Your reflection doesn't look like you remember it."
icon_state = "mirror_broke"
shattered = 1
/obj/structure/mirror/raider/attack_hand(var/mob/living/carbon/human/user)
if(istype(get_area(src),/area/shuttle/skipjack/station))
if(istype(user) && user.mind && user.mind.special_role == "Raider" && user.species != "Vox" && is_alien_whitelisted(user, "Vox"))
var/choice = input("Do you wish to become a Vox? This is not reversible.") as null|anything in list("No","Yes")
if(choice && choice == "Yes")
var/mob/living/carbon/human/vox = new(get_turf(src),"Vox")
vox.equip_vox_raider()
if(user.mind)
user.mind.transfer_to(vox)
del(user)
..()