mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-25 04:57:47 +01:00
Ports TG Anomalies (#18794)
* Anomalies * Tiles * Automatic changelog compile [ci skip] * Bioscramble * Reactive armour * Reactive * . * Automatic changelog compile [ci skip] * hallucination * Snowy * Bit of polishing * change * Cargo & Research * fimx * Anomaly stuffs * Bioscrambler + Terrible fire armour * Adjustment * Less spammy * Changes --------- Co-authored-by: vorestation-ci[bot] <199609141+vorestation-ci[bot]@users.noreply.github.com>
This commit is contained in:
co-authored by
vorestation-ci[bot] <199609141+vorestation-ci[bot]@users.noreply.github.com>
parent
81acf7df5c
commit
d59ad9df0c
@@ -301,6 +301,16 @@
|
||||
if(grav_pulling)
|
||||
supermatter_pull(src)
|
||||
|
||||
if(damage) // Start fucking things up
|
||||
if(get_integrity() < 85 && prob(5))
|
||||
generate_anomaly(get_ranged_target_turf(src, pick(GLOB.cardinal), rand(5, 10)), FLUX_ANOMALY)
|
||||
if(get_integrity() < 75 && prob(5))
|
||||
generate_anomaly(get_ranged_target_turf(src, pick(GLOB.cardinal), rand(5, 10)), HALLUCINATION_ANOMALY)
|
||||
if(get_integrity() < 50 && prob(2))
|
||||
generate_anomaly(get_ranged_target_turf(src, pick(GLOB.cardinal), rand(5, 10)), GRAVITATIONAL_ANOMALY)
|
||||
if(get_integrity() < 25 && prob(0.3))
|
||||
generate_anomaly(get_ranged_target_turf(src, pick(GLOB.cardinal), rand(5, 10)), PYRO_ANOMALY)
|
||||
|
||||
// Vary volume by power produced.
|
||||
if(power)
|
||||
// Volume will be 1 at no power, ~12.5 at ENERGY_NITROGEN, and 20+ at ENERGY_PHORON.
|
||||
|
||||
Reference in New Issue
Block a user