mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2025-12-17 13:42:44 +00:00
Fixes a compile error with the Initialize() proc
This commit is contained in:
@@ -144,7 +144,7 @@
|
|||||||
// 'Reactive' beam parts do something when touched or stood in.
|
// 'Reactive' beam parts do something when touched or stood in.
|
||||||
/obj/effect/ebeam/reactive
|
/obj/effect/ebeam/reactive
|
||||||
|
|
||||||
/obj/effect/ebeam/reactive/initialize()
|
/obj/effect/ebeam/reactive/Initialize()
|
||||||
processing_objects += src
|
processing_objects += src
|
||||||
return ..()
|
return ..()
|
||||||
|
|
||||||
|
|||||||
@@ -262,7 +262,7 @@ steam.start() -- spawns the effect
|
|||||||
opacity = FALSE
|
opacity = FALSE
|
||||||
var/strength = 5 // How much damage to do inside each affect()
|
var/strength = 5 // How much damage to do inside each affect()
|
||||||
|
|
||||||
/obj/effect/effect/smoke/elemental/initialize()
|
/obj/effect/effect/smoke/elemental/Initialize()
|
||||||
processing_objects += src
|
processing_objects += src
|
||||||
return ..()
|
return ..()
|
||||||
|
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ GLOBAL_LIST_EMPTY(all_beam_points)
|
|||||||
var/beam_type = /obj/effect/ebeam // The type of beam. Default has no special properties. Some others may do things like hurt things touching it.
|
var/beam_type = /obj/effect/ebeam // The type of beam. Default has no special properties. Some others may do things like hurt things touching it.
|
||||||
var/beam_sleep_time = 3 // How often the beam updates visually. Suggested to leave this alone, 3 is already fast.
|
var/beam_sleep_time = 3 // How often the beam updates visually. Suggested to leave this alone, 3 is already fast.
|
||||||
|
|
||||||
/obj/effect/map_effect/beam_point/initialize()
|
/obj/effect/map_effect/beam_point/Initialize()
|
||||||
GLOB.all_beam_points += src
|
GLOB.all_beam_points += src
|
||||||
if(make_beams_on_init)
|
if(make_beams_on_init)
|
||||||
create_beams()
|
create_beams()
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
var/effect_cardinals_only = FALSE // If true, effects only move in cardinal directions.
|
var/effect_cardinals_only = FALSE // If true, effects only move in cardinal directions.
|
||||||
var/effect_forced_dir = null // If set, effects emitted will always move in this direction.
|
var/effect_forced_dir = null // If set, effects emitted will always move in this direction.
|
||||||
|
|
||||||
/obj/effect/map_effect/interval/effect_emitter/initialize()
|
/obj/effect/map_effect/interval/effect_emitter/Initialize()
|
||||||
effect_system = new effect_system_type()
|
effect_system = new effect_system_type()
|
||||||
effect_system.attach(src)
|
effect_system.attach(src)
|
||||||
configure_effects()
|
configure_effects()
|
||||||
|
|||||||
@@ -27,7 +27,7 @@
|
|||||||
var/interval_upper_bound = 5 SECONDS // Higher number for above.
|
var/interval_upper_bound = 5 SECONDS // Higher number for above.
|
||||||
var/halt = FALSE // Set to true to stop the loop when it reaches the next iteration.
|
var/halt = FALSE // Set to true to stop the loop when it reaches the next iteration.
|
||||||
|
|
||||||
/obj/effect/map_effect/interval/initialize()
|
/obj/effect/map_effect/interval/Initialize()
|
||||||
handle_interval_delay()
|
handle_interval_delay()
|
||||||
return ..()
|
return ..()
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
icon_state = "radiation_emitter"
|
icon_state = "radiation_emitter"
|
||||||
var/radiation_power = 30 // Bigger numbers means more radiation.
|
var/radiation_power = 30 // Bigger numbers means more radiation.
|
||||||
|
|
||||||
/obj/effect/map_effect/radiation_emitter/initialize()
|
/obj/effect/map_effect/radiation_emitter/Initialize()
|
||||||
processing_objects += src
|
processing_objects += src
|
||||||
return ..()
|
return ..()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user