mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-21 02:57:48 +01:00
19 lines
702 B
Plaintext
19 lines
702 B
Plaintext
/datum/event/spawn_floor_cluwne
|
|
name = "Floor Cluwne"
|
|
nominal_severity = EVENT_LEVEL_MODERATE
|
|
role_weights = list(ASSIGNMENT_SECURITY = 3, ASSIGNMENT_CREW = 0.8)
|
|
role_requirements = list(ASSIGNMENT_SECURITY = 2, ASSIGNMENT_CREW = 25)
|
|
|
|
/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, TRUE, -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
|