MTYEWTKA Enthusiasm

<< < (2/2)

J. M. Pescado:
There is no such thing as a floating point number in Sims BHAV code, so yes. Anything involving fractions is thus performed either in LUA or hardcode, as 16-bit signed integer math has very limiting applications. For instance, trying to take a percentage of a number which may be bigger than 327 is a bad plan, the typical solution to percentages on integers is X * PCT / 100, so if you try to take a percentage like, say, 99% of 500, you get 500 * 99 = 49500 (overflow! turns into -15931), then divided by 100, which yields te totally gibberish value of -159. If you try to divide by 100 first, then you destroy any data more precise than 100, resulting in 1% of 599 being "5".

As a result, such calculations end having to be done in LUA. Trying to do sims-math is a pain in the neck.

tunaisafish:
Quote from: J. M. Pescado on 2008 October 23, 19:04:00

LTA motive decays are percentage adjustments. As far as I can tell, +15 to those means -15% off base decay. If you can somehow achieve 100 or more, that motive does not decay. However, it's possible that "drain" from actions still applies.


I'll correct that, thanks.  Makes the values much more significant then.

I have a sim that's close to reaching 100.  Has 49 accumulated on 4 motives from LTA's. 37 on the others.  In the zone he reaches 89 adj of Fun.
This sim hardly ever sleeps! He's an active YA with 2 NRG bonus's.  The ffslotdebugger is telling me it's -164/d with an adjustment of 49.
Almost makes me want a sleeping pill hack.

J. M. Pescado:
Quote from: tunaisafish on 2008 October 24, 03:27:23

I have a sim that's close to reaching 100.  Has 49 accumulated on 4 motives from LTA's. 37 on the others.  In the zone he reaches 89 adj of Fun.
A decay adjustment to fun tends to have no meaningful value at all, since hobby actions frequently grant fun on their own. As fun will thus be automatically restored just by being in the action, it really has no meaningful effect if fun decay over time stops entirely.

Quote from: tunaisafish on 2008 October 24, 03:27:23

This sim hardly ever sleeps! He's an active YA with 2 NRG bonus's.  The ffslotdebugger is telling me it's -164/d with an adjustment of 49.
Almost makes me want a sleeping pill hack.
Well, having half-off energy means he decays at like 80-odd energy a day. This means works out to sleeping maybe once every 3 days, and you can drop that to about 4 with Physiology's -25% off. The energizer bunny, he just keeps going and going and going. Besides, a lot of hobbies also carry intrinsic energy drain, which bypasses decay mitigation, so it's not so much. Besides, SLEEP IS FOR WUSSIES! My sims are all developing chronic insomnia anyway due to Physiology.

tunaisafish:
Hmmm... that same sim is supposed to have studied physiology too.
Think he must have missed out on the 25% bonus when he did that.

More info for the file...

--------------------------------------------------------------------
ENTHUSIASM DECAY

Each hour, while your sim is at home or on the hobby lot, all enthusiasm values decrease.
If you sim is engaged in a hobby activity at this time then that one hobby will be skipped.

The decay rates vary depending on the enthusiasm level

Enthusiasm   Decay   Hours to depleat
Bars Shown   /hour   a full bar
 0 - 4        1%       100 hours
 5 - 9        2%        50 hours
 10           5%        20 hours

If the decay would cause your sim to lose an enthusiasm point, no decay occurs if your sim has
some of the 'grace period' left.  Any activity that changes the enthusiasm value resets the
grace period to 6 hours.  Meaning that your sim would never lose a point so long as some hobby
activity was done each 6 hours.

When enthusiasm does decay, the enthusiasm loss dialog is displayed if your sim has lost one
whole point worth since their last activity.  This is displayed only once and does not necessarily
correspond to the time when your sim drops down a level.  ie. if you had 4.5 bars of enthusiasm
and then never touched that hobby again, you would get one warning at 3.5 bars.

Navigation

[0] Message Index

[*] Previous page