Difference between revisions of "IsSpellTarget"

Jump to navigation Jump to search
1 byte added ,  20:07, 14 January 2009
m
→‎= Detecting satiation of addictions: missed one symbol for heading
imported>JT
(redacted: my test was faulty -- IsSpellTarget [ingestible] works great!; attempted to compensate for mistake and commensurate loss of e-peen =P)
imported>JT
m (→‎= Detecting satiation of addictions: missed one symbol for heading)
Line 20: Line 20:
This will return 1 even if the player has recently consumed alcohol and is not presently undergoing withdrawal.  It will return 0 for a player who is not addicted to alcohol.
This will return 1 even if the player has recently consumed alcohol and is not presently undergoing withdrawal.  It will return 0 for a player who is not addicted to alcohol.


=== Detecting satiation of addictions ==
=== Detecting satiation of addictions ===


You can also detect whether the player is under the influence of the chem itself to determine whether the player has sated their addiction or not.  This isn't compatible across mods, unfortunately, because you need to check all of the chemical types directly, but is still quite handy.
You can also detect whether the player is under the influence of the chem itself to determine whether the player has sated their addiction or not.  This isn't compatible across mods, unfortunately, because you need to check all of the chemical types directly, but is still quite handy.
Anonymous user

Navigation menu