Lift Spawnpoint Fix

Fixes the spawnpoint given to the Elevator objs inside one of the three portal rooms. You'll be able to spawn in and out, the location saved to your persistency settings.
This commit is contained in:
TheFurryFeline
2019-05-15 15:32:47 -04:00
parent 0e114f4312
commit 9c62bb5f55
+7 -7
View File
@@ -22,7 +22,8 @@
/obj/machinery/computer/cryopod/gateway
name = "teleport oversight console"
desc = "An interface between visitors and the teleport oversight systems tasked with keeping track of all visitors who enter or exit from the teleporters."
/* VOREStation Edit
//TFF 15/5/19 - Corrects spawnpoint type so that persistency saves properly.
/obj/machinery/cryopod/robot/door/dorms
desc = "A small elevator that goes down to the residential district."
on_enter_occupant_message = "The elevator door closes slowly, ready to bring you down to the residential district."
@@ -31,27 +32,26 @@
/obj/machinery/computer/cryopod/dorms
name = "residential oversight console"
desc = "An interface between visitors and the residential oversight systems tasked with keeping track of all visitors in the residential district."
*/
/obj/machinery/cryopod/proc/log_special_item(var/atom/movable/item,var/mob/to_despawn)
ASSERT(item && to_despawn)
var/loaded_from_key
var/char_name = to_despawn.name
var/item_name = item.name
// Best effort key aquisition
if(ishuman(to_despawn))
var/mob/living/carbon/human/H = to_despawn
if(H.original_player)
loaded_from_key = H.original_player
if(!loaded_from_key && to_despawn.mind && to_despawn.mind.loaded_from_ckey)
loaded_from_key = to_despawn.mind.loaded_from_ckey
else
loaded_from_key = "INVALID"
// Log to harrass them later
log_game("CRYO [loaded_from_key]/([to_despawn.name]) cryo'd with [item_name] ([item.type])")
qdel(item)