Great stuff! Have you figured out what the arguments mean? Is 33600 the maximum amount of cave adapation, or is that just something you picked?
Also, why the WAIT_PERIOD?
33600 is a month, but was completely arbitrary. The first noticeable stage of cave adaptation is a year (403200) when going outside causes bad thoughts, they start vomiting from going outside at 1.5 years (604800) and 800000 is the maximum. By the way, cave adaptation doesn't go away instantly when they go outside, it seems to decline slowly as they spend time outside.
The WAIT_PERIOD was also arbitrary - really the action only operates once, since the effect lasts for life, but I put in a large wait period to keep them from constantly trying to use the interaction, which might cause slowdown maybe.
COMBATHARDNESS just showed up recently on the wiki, I think. That one could be fun... giving a warrior race bonuses as they experience more of the battlefield...
Wow combat hardness just did. anyways
[INTERACTION:SPELUNCAPHOBIA]
[I_TARGET:A:CREATURE]
[IT_CANNOT_TARGET_IF_ALREADY_AFFECTED]
[IT_LOCATION:CONTEXT_CREATURE]
[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:A]
[IE_IMMEDIATE]
[SYNDROME]
[CE_DIZZINESS:SEV:10:PROB:100:RESISTABLE:START:0:PEAK:1]
[CE:COUNTER_TRIGGER:CAVE_ADAPT:8400:16800:REQUIRED]
[CE_DIZZINESS:SEV:100:PROB:100:RESISTABLE:START:0:PEAK:1]
[CE:COUNTER_TRIGGER:CAVE_ADAPT:16800:33600:REQUIRED]
[CE_DIZZINESS:SEV:1000:PROB:100:RESISTABLE:START:0:PEAK:1]
[CE:COUNTER_TRIGGER:CAVE_ADAPT:33600:NONE:REQUIRED]
Should make it a one time deal, because all those syndromes never end. So it is always affected. I'm also liking the idea of weakness from being in the caves too long, since I want to restrict humans from living in caves
I also wounder can be alter these COUNTERs with syndromes like COMBATHARDNES? say drink a potion and not care about anything anymore
other then adding NOEMOTION. could brew stronger booze that numbs ones mind.