How to check for radiation resistance

notdefix

First time out of the vault
Hi,

I've a script that calls:

radiation_inc(dude_obj, RADIATION_AMOUNT);

But this seems to increase the dude's radiation, irrespective of radiation resistance? How do I compensate for radiation resistance?
 
I use RP's Vault City courtyard well for testing, it seems radiation resistance does reduce the rads dude received.
The well has a new script that gives: radiation_inc(dude_obj, random(30,50));
My character has 50% of radiation resistance. Using it first time I received 24 rads, and 15 rads for the second time.
 
Back
Top