mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-06-06 05:53:27 +01:00
210f8badf4
* 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
26 lines
808 B
Plaintext
26 lines
808 B
Plaintext
/datum/event/tear/honk
|
|
var/obj/effect/tear/honk/HE //i could just inherit but its being finicky.
|
|
|
|
/datum/event/tear/honk/announce()
|
|
GLOB.event_announcement.Announce("A Honknomoly has opened. Expected location: [impact_area.name].", "Honknomoly Alert", 'sound/items/airhorn.ogg')
|
|
|
|
/datum/event/tear/honk/start()
|
|
var/turf/T = pick(get_area_turfs(impact_area))
|
|
if(T)
|
|
HE = new /obj/effect/tear/honk(T.loc)
|
|
|
|
/datum/event/tear/honk/end()
|
|
if(HE)
|
|
qdel(HE)
|
|
|
|
/obj/effect/tear/honk
|
|
name = "Honkmensional Tear"
|
|
desc = "A tear in the dimensional fabric of sanity."
|
|
|
|
/obj/effect/tear/honk/spew_critters()
|
|
for(var/i in 1 to 6)
|
|
var/mob/living/simple_animal/hostile/retaliate/clown/goblin/G = new(get_turf(src))
|
|
if(prob(50))
|
|
for(var/j = 1, j <= rand(1, 3), j++)
|
|
step(G, pick(NORTH, SOUTH, EAST, WEST))
|