Files
Paradise/code/modules/events/floorcluwne.dm
T
AffectedArc07 210f8badf4 Makes all global variables handled by the GLOB controller (#13152)
* Handlers converted, now to fix 3532 compile errors

* 3532 compile fixes later, got runtimes on startup

* Well the server loads now atleast

* Take 2

* Oops
2020-03-20 21:56:37 -06:00

16 lines
494 B
Plaintext

/datum/event/spawn_floor_cluwne
/datum/event/spawn_floor_cluwne/start()
if(!GLOB.xeno_spawn)
message_admins("No valid spawn locations found, aborting...")
return kill()
var/turf/T = get_turf(pick(GLOB.xeno_spawn))
var/mob/living/simple_animal/hostile/floor_cluwne/S = new(T)
playsound(S, 'sound/spookoween/scary_horn.ogg', 50, 1, -1)
message_admins("A floor cluwne has been spawned at [COORD(T)][ADMIN_JMP(T)]")
log_game("A floor cluwne has been spawned at [COORD(T)]")
return 1