mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 06:29:23 +01:00
[MIRROR] [s] removes some ways of making unvaredited custom callbacks [MDB IGNORE] (#9071)
* removes some ways of making unvaredited custom callbacks (#62345) * [s] removes some ways of making unvaredited custom callbacks Co-authored-by: Fikou <23585223+Fikou@users.noreply.github.com>
This commit is contained in:
@@ -320,6 +320,8 @@
|
||||
SIGNAL_HANDLER
|
||||
|
||||
var/datum/mood_event/the_event
|
||||
if(!ispath(type, /datum/mood_event))
|
||||
return
|
||||
if(!istext(category))
|
||||
category = REF(category)
|
||||
if(mood_events[category])
|
||||
|
||||
@@ -46,13 +46,13 @@
|
||||
var/obj/effect/temp_visual/cult/rune_spawn/R1 = new(T, scribe_time, rune_color)
|
||||
//the rest are not always the same, so we need types for em
|
||||
var/obj/effect/temp_visual/cult/rune_spawn/R2
|
||||
if(rune_word_type)
|
||||
if(ispath(rune_word_type, /obj/effect/temp_visual/cult/rune_spawn))
|
||||
R2 = new rune_word_type(T, scribe_time, rune_color)
|
||||
var/obj/effect/temp_visual/cult/rune_spawn/R3
|
||||
if(rune_innerring_type)
|
||||
if(ispath(rune_innerring_type, /obj/effect/temp_visual/cult/rune_spawn))
|
||||
R3 = new rune_innerring_type(T, scribe_time, rune_color)
|
||||
var/obj/effect/temp_visual/cult/rune_spawn/R4
|
||||
if(rune_center_type)
|
||||
if(ispath(rune_center_type, /obj/effect/temp_visual/cult/rune_spawn))
|
||||
R4 = new rune_center_type(T, scribe_time, rune_color)
|
||||
|
||||
cooldown = base_cooldown + world.time
|
||||
|
||||
Reference in New Issue
Block a user