sm_delam
![code/modules/power/supermatter/supermatter_delamination/_sm_delam.dm 11](git.png)
Logic holder for supermatter delaminations, goes off the strategy design pattern. Selected by /obj/machinery/power/supermatter_crystal/proc/set_delam
Procs | |
can_select | Whether we are eligible for this delamination or not. TRUE if valid, FALSE if not. /obj/machinery/power/supermatter_crystal/proc/set_delam |
---|---|
count_down_messages | Returns a set of messages to be spouted during delams First message is start of count down, second message is quitting of count down (if sm healed), third is 5 second intervals |
delam_progress | Whatever we're supposed to do when a delam is currently in progress. Mostly just to tell people how useless engi is, and play some alarm sounds. Returns TRUE if we just told people a delam is going on. FALSE if its healing or we didnt say anything. [/obj/machinery/power/supermatter_crystal/proc/process_atmos] |
delaminate | Called when the count down has been finished, do the nasty work. /obj/machinery/power/supermatter_crystal/proc/count_down |
effect_anomaly | Spawns anomalies all over the station. Half instantly, the other half over time. |
effect_crystal_mass | Scatters crystal mass over the event spawns as long as they are at least 30 tiles away from whatever we want to avoid. |
effect_demoralize | Hallucinates and makes mobs in Z level sad. |
effect_evac_rift_end | Announce the destruction of the rift and end the round. |
effect_evac_rift_start | Spawn an evacuation rift for people to go through. |
effect_explosion | Explodes |
effect_irradiate | Irradiates mobs around 20 tiles of the sm. Just the mobs apparently. |
effect_singulo | Spawns a scrung and eat the SM. |
effect_strand_shuttle | Mail the shuttle off to buy milk. |
effect_tesla | Teslas |
examine | Added to an examine return value. [/obj/machinery/power/supermatter_crystal/examine] |
filters | Applies filters to the SM. [/obj/machinery/power/supermatter_crystal/process_atmos] |
lights | [/obj/machinery/power/supermatter_crystal/process_atmos] |
on_deselect | Called when a supermatter switches it's strategy from us to something else. /obj/machinery/power/supermatter_crystal/proc/set_delam |
on_select | Called when a supermatter switches it's strategy from another one to us. /obj/machinery/power/supermatter_crystal/proc/set_delam |
overlays | Add whatever overlay to the sm. [/obj/machinery/power/supermatter_crystal/update_overlays] |
Proc Details
can_select
Whether we are eligible for this delamination or not. TRUE if valid, FALSE if not. /obj/machinery/power/supermatter_crystal/proc/set_delam
count_down_messages
Returns a set of messages to be spouted during delams First message is start of count down, second message is quitting of count down (if sm healed), third is 5 second intervals
delam_progress
Whatever we're supposed to do when a delam is currently in progress. Mostly just to tell people how useless engi is, and play some alarm sounds. Returns TRUE if we just told people a delam is going on. FALSE if its healing or we didnt say anything. [/obj/machinery/power/supermatter_crystal/proc/process_atmos]
delaminate
Called when the count down has been finished, do the nasty work. /obj/machinery/power/supermatter_crystal/proc/count_down
effect_anomaly
Spawns anomalies all over the station. Half instantly, the other half over time.
effect_crystal_mass
Scatters crystal mass over the event spawns as long as they are at least 30 tiles away from whatever we want to avoid.
effect_demoralize
Hallucinates and makes mobs in Z level sad.
effect_evac_rift_end
Announce the destruction of the rift and end the round.
effect_evac_rift_start
Spawn an evacuation rift for people to go through.
effect_explosion
Explodes
effect_irradiate
Irradiates mobs around 20 tiles of the sm. Just the mobs apparently.
effect_singulo
Spawns a scrung and eat the SM.
effect_strand_shuttle
Mail the shuttle off to buy milk.
effect_tesla
Teslas
examine
Added to an examine return value. [/obj/machinery/power/supermatter_crystal/examine]
filters
Applies filters to the SM. [/obj/machinery/power/supermatter_crystal/process_atmos]
lights
[/obj/machinery/power/supermatter_crystal/process_atmos]
on_deselect
Called when a supermatter switches it's strategy from us to something else. /obj/machinery/power/supermatter_crystal/proc/set_delam
on_select
Called when a supermatter switches it's strategy from another one to us. /obj/machinery/power/supermatter_crystal/proc/set_delam
overlays
Add whatever overlay to the sm. [/obj/machinery/power/supermatter_crystal/update_overlays]