Replace the cryopod with a simple ghost button.

This commit is contained in:
Putnam
2019-12-30 01:52:06 -08:00
parent 4b6e8cfa18
commit 6e9d13e48f
3 changed files with 14 additions and 7 deletions
+11
View File
@@ -141,6 +141,17 @@
current_button.add_overlay(mutable_appearance(icon_icon, button_icon_state))
current_button.button_icon_state = button_icon_state
/datum/action/ghost
icon_icon = 'icons/mob/mob.dmi'
button_icon_state = "ghost"
name = "Ghostize"
desc = "Turn into a ghost and freely come back to your body."
/datum/action/ghost/Trigger()
if(!..())
return 0
var/mob/M = target
M.ghostize(1)
//Presets for item actions
/datum/action/item_action