mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-10 14:44:05 +01:00
Prevents spawning of off-station mobs (#20538)
* no more syndicate cow * i swear I commited this the first time
This commit is contained in:
@@ -1169,6 +1169,8 @@ GLOBAL_LIST_INIT(slot_equipment_priority, list( \
|
||||
if((usr in GLOB.respawnable_list) && (stat == DEAD || isobserver(usr)))
|
||||
var/list/creatures = list("Mouse")
|
||||
for(var/mob/living/simple_animal/L in GLOB.alive_mob_list)
|
||||
if(!(is_station_level(L.z) || is_admin_level(L.z))) // Prevents players from spawning in space
|
||||
continue
|
||||
if(L.npc_safe(src) && L.stat != DEAD && !L.key)
|
||||
creatures += L
|
||||
var/picked = input("Please select an NPC to respawn as", "Respawn as NPC") as null|anything in creatures
|
||||
|
||||
Reference in New Issue
Block a user