Topic on User talk:Hautarche
Jump to navigation
Jump to search
This page shows the changes between two versions of a post by Hautarche in the topic "Why Pyromania and Gourmand DO have 50 day MTBs for their random mental states (or: you can't plot a curve with just one point)" on User talk:Hautarche.
You can see other versions of this post at its history page.
Line 1: | Line 1: | ||
− | The "mean time between" Pyromaniac's random fire-starting sprees, as well as Gourmand's random food binges, is governed by a field called "randomMentalStateMtbDaysMoodCurve" in the XML. IN THEORY, this is a curve using the "SimpleCurve" code, scaling the mean number of days until next trait-induced mental state based on the pawn's mood. Now for a basic primer on SimpleCurve. SimpleCurve 'evaluates' a value-to-test (in this case the pawn's mood) and returns an answer-value. It evaluates differently depending on how many points (as in distinct <x,y> coordinates) it is given: | + | The "mean time between" Pyromaniac's random fire-starting sprees, as well as Gourmand's random food binges, is governed by a field called "randomMentalStateMtbDaysMoodCurve" in the XML. IN THEORY, this is a curve using the "SimpleCurve" code, scaling the mean number of days until next trait-induced mental state based on the pawn's mood. |
+ | |||
+ | Now for a basic primer on SimpleCurve. SimpleCurve 'evaluates' a value-to-test (in this case the pawn's mood) and returns an answer-value. It evaluates differently depending on how many points (as in distinct <x,y> coordinates) it is given: | ||
0) Zero points: the phrase "Evaluating a SimpleCurve with no points." shows up in the error log. The returned value is always 0. | 0) Zero points: the phrase "Evaluating a SimpleCurve with no points." shows up in the error log. The returned value is always 0. |