Author Topic: Taking heat from the sun; cooling down in shadows.  (Read 385 times)

I'm making a gamemode and it sorta relies on players finding shelter in the shade. It's a bit different from Xalos' mod but performs similarly.

Essentially, I'm looking for a reversal of the body heat mod. You start off cool, but the more you are in the sun/out of the shadows, your body heat "builds up". Once it gets to a certain point, you start to take damage. Standing in the shade cools you off.

tip for whoever does this: you can get sun values to check the actual angle of sunlight and such

the object is called sun by default, so just call sun.dump() to check out its variables and methods.