mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-15 00:53:23 +01:00
Revise radiation view to use a cached datum
* Creates a new datum, radiation_cache, to store radiation levels per-tile * Reworks radiation subsystem to initialize, expose radiation cache * Makes radiation view reference tiles in range against rad cache
This commit is contained in:
@@ -46,6 +46,7 @@
|
||||
if(!hl3_release_date)
|
||||
return
|
||||
strength -= strength / hl3_release_date
|
||||
SSradiation.update_rad_cache(src)
|
||||
if(strength <= RAD_BACKGROUND_RADIATION)
|
||||
qdel(src)
|
||||
return PROCESS_KILL
|
||||
|
||||
Reference in New Issue
Block a user