Mood System V0.03

Added a status display to regular gameplay.  Also patched an error that treated swaivshon as scaly (they're furred).
This commit is contained in:
2025-09-06 20:58:52 +00:00
parent 6e496ed452
commit 99a1c24de1

View File

@@ -1,5 +1,7 @@
"To Wander Theoma" by Rakeela Windrider and Kistaro Windrider "To Wander Theoma" by Rakeela Windrider and Kistaro Windrider
Include Basic Screen Effects by Emily Short.
The block sleeping rule is not listed in the check sleeping rulebook. The block sleeping rule is not listed in the check sleeping rulebook.
The player's full name is indexed text that varies. The player's full name is indexed text that varies.
@@ -281,6 +283,39 @@ To say Time Of Day:
Name your Character is a room. "What is your name? Names in Theoma mostly take the form of X the Y, where X is the name and Y is a title or descriptor that applies to your character. Alternatively, some dragons are named X of Z, where X is still their name and Z is a theome or city with special significance to the individual. If your title is a profession, remember the -gon suffix!" Name your Character is a room. "What is your name? Names in Theoma mostly take the form of X the Y, where X is the name and Y is a title or descriptor that applies to your character. Alternatively, some dragons are named X of Z, where X is still their name and Z is a theome or city with special significance to the individual. If your title is a profession, remember the -gon suffix!"
Table of Fancy Status
left central right
"[Current Time and Date]" "[Location]" ""
"Mood: [Boredom Indicator]" "Confidence: [Security Indicator]" ""
To say Boredom Indicator:
If entertainNum of the player > 8:
say "Elated";
Otherwise if entertainNum of the player > 6:
say "Calm";
Otherwise if entertainNum of the player > 4:
say "Bored";
Otherwise if entertainNum of the player > 2:
say "Depressed";
Otherwise:
say "Cursed";
To say Security Indicator:
If securityNum of the player > 8:
say "Invulnerable";
Otherwise if securityNum of the player > 6:
say "Comfortable";
Otherwise if securityNum of the player > 4:
say "Uncertain";
Otherwise if securityNum of the player > 2:
say "Anxious";
Otherwise:
say "Broken";
Rule for constructing the status line:
fill status bar with Table of Fancy Status;
rule succeeds.
When play begins: When play begins:
now the dominant color of the player is a random color; now the dominant color of the player is a random color;
now the minor color of the player is a random color; now the minor color of the player is a random color;
@@ -346,7 +381,7 @@ Instead of examining the player:
say "You are a legendary esseri! You are a short bipedal furred creature with a long body and a moderate tail. Your dexterity is exceptional, and you are extremely flexible and agile. You are proportionally quite strong, albeit only in the way that kalla are proportionally quite strong, and still certainly not strong enough to haul a wagon. You have no wings. You resemble a ferret."; say "You are a legendary esseri! You are a short bipedal furred creature with a long body and a moderate tail. Your dexterity is exceptional, and you are extremely flexible and agile. You are proportionally quite strong, albeit only in the way that kalla are proportionally quite strong, and still certainly not strong enough to haul a wagon. You have no wings. You resemble a ferret.";
otherwise if the species of the player is chakocha: otherwise if the species of the player is chakocha:
say "You are a legendary chakocha! You are a long-bodied dragon with heavy overlapping scales. You are as strong as a vrash and far more flexible, however you have no wings. You resemble a mix between a dragon, an otter, and a pangolin."; say "You are a legendary chakocha! You are a long-bodied dragon with heavy overlapping scales. You are as strong as a vrash and far more flexible, however you have no wings. You resemble a mix between a dragon, an otter, and a pangolin.";
say "Your [if species of the player is kalla]feathers and fur[otherwise if species of the player is tesam]fur[otherwise if species of the player is esseri]fur[otherwise]scales[end if] are [dominant color of the player] with [marking pattern description of the player]."; say "Your [if species of the player is kalla]feathers and fur[otherwise if species of the player is tesam]fur[otherwise if species of the player is esseri]fur[otherwise if species of the player is swaivshon]fur[otherwise]scales[end if] are [dominant color of the player] with [marking pattern description of the player].";
Your Home in Ethriel is a room. "You, [player's full name], live in a five story home in Ethriel, on the fifth floor of Dome Three. Your home is quite humble by the standards of Ethriel, tall and narrow as most homes in the city-dome are. You sleep on the top floor. The view from the windows doesn't go outside, but only to the street below and the tall, narrow buildings on the other side of it. Your Home in Ethriel is a room. "You, [player's full name], live in a five story home in Ethriel, on the fifth floor of Dome Three. Your home is quite humble by the standards of Ethriel, tall and narrow as most homes in the city-dome are. You sleep on the top floor. The view from the windows doesn't go outside, but only to the street below and the tall, narrow buildings on the other side of it.
@@ -2014,7 +2049,7 @@ To procgen (NPC - a person):
To decide which text is the epidermis of (spe - a species): To decide which text is the epidermis of (spe - a species):
if spe is kalla, decide on "feathers and fur"; if spe is kalla, decide on "feathers and fur";
if spe is tesam or spe is esseri, decide on "fur"; if spe is tesam or spe is esseri or spe is swaivshon, decide on "fur";
decide on "scales". decide on "scales".
The list of random NPC description templates is always {"The [epidermis of species] of this [species] are [dominant color] with [marking pattern description]."}. The list of random NPC description templates is always {"The [epidermis of species] of this [species] are [dominant color] with [marking pattern description]."}.