Fix species radiation multipliers (#1325)

Fixes radiation so species' radiation_mod values are actually applied.
Refactored radiation application to use proc apply_radiation() instead of directly modifying the variable.
This commit is contained in:
Lohikar
2016-12-27 17:15:20 -06:00
committed by skull132
parent fbe0ea9c25
commit 982bf9b1a1
19 changed files with 56 additions and 41 deletions

View File

@@ -1276,8 +1276,8 @@ var/global/list/obj/item/device/pda/PDAs = list()
O.show_message("<span class='warning'>\The [user] has analyzed [C]'s radiation levels!</span>", 1)
user.show_message("<span class='notice'>Analyzing Results for [C]:</span>")
if(C.radiation)
user.show_message("<span class='notice'>Radiation Level: [C.radiation]</span>")
if(C.total_radiation)
user.show_message("<span class='notice'>Radiation Level: [C.total_radiation]</span>")
else
user.show_message("<span class='notice'>No radiation detected.</span>")