Remove the redundant rad decay (#28707)

This commit is contained in:
Migratingcocofruit
2025-04-16 17:29:07 +00:00
committed by GitHub
parent cd1db6e7f4
commit eac1d0d5a5
2 changed files with 0 additions and 8 deletions
-5
View File
@@ -68,11 +68,6 @@ Ask ninjanomnom if they're around
/// The portion of a radiation wave that acts on the source tile.
#define RAD_SOURCE_WEIGHT 0.25
/// The point in steps at which radiation waves start to decay
#define RAD_DECAY_POINT 10
/// This multiplies the intensity of the radiation wave each step after reaching the decay point.
#define RAD_DECAY_RATE 0.7943 // 1% after 20 tiles
#define ALPHA_RAD 1
#define BETA_RAD 2
#define GAMMA_RAD 3
-3
View File
@@ -80,9 +80,6 @@
offset += 2 * (steps - 1)
weights = new_weights
// With the spread each step being linear waves can spread very far. This limits the distance for performace reasons
if(steps > RAD_DECAY_POINT)
intensity *= RAD_DECAY_RATE
/// Calls rad act on each relevant atom in the turf and returns the resulting weight for that tile after reduction by insulation
/datum/radiation_wave/proc/radiate(atom/source, turf/current_turf, weight, emission_type)