Mood System V0.02
I patched an off-by-one error in the code that initialized the tiredness variable.
This commit is contained in:
2
story.ni
2
story.ni
@@ -157,7 +157,7 @@ TurnsCount is a number that varies. TurnsCount is usually 0.
|
|||||||
Every turn:
|
Every turn:
|
||||||
now TimekeepingVar is remainder after dividing TurnsCount by 4;
|
now TimekeepingVar is remainder after dividing TurnsCount by 4;
|
||||||
|
|
||||||
A person has a number called TirednessVar. TirednessVar is usually 0.
|
A person has a number called TirednessVar. TirednessVar is usually 1.
|
||||||
|
|
||||||
This is the turnpass rule:
|
This is the turnpass rule:
|
||||||
Now TurnsCount is TurnsCount + 1;
|
Now TurnsCount is TurnsCount + 1;
|
||||||
|
Reference in New Issue
Block a user