v1.0.0
Action/Event | Trigger / Approx. Chance per Tick (or Condition) | Primary Effect / XP & Gold | Notable Positive Outcomes & Chances | Notable Negative Outcomes / Risks & Chances |
---|---|---|---|---|
Always Checked (Per Tick) | ||||
Ambient Esoteric Death | 0.0004% (DEATH_CHANCE_MEDITATE_ACCIDENT_BASE / 50 ) |
Hero Dies Mysteriously | N/A | True Death |
Global Flavor Event | 0.005% (GLOBAL_FLAVOR_EVENT_CHANCE ) |
Logs a random world event message (flavor only, no mechanical effect) | N/A | N/A |
Nemesis Encounter | Starts at 0.03%, increases with World Tier (NEMESIS_ENCOUNTER_BASE_CHANCE * (1 + world_tier * NEMESIS_ENCOUNTER_TIER_BONUS_FACTOR) ) |
Triggers trigger_nemesis_encounter . XP/Gold from victory scales with Nemesis Lvl & Tier. |
Victory: Large XP & Gold, Nemesis-quality Item (quality scales: Nemesis Lvl/Tier). | Defeat (HP to 0): 60% True Death chance (min 10%). If on a quest & survives (win or non-fatal loss), quest progress may decrease by 1. |
Conditional Actions (Checked before general actions) | ||||
Long Rest | HP < 25% Max HP (then 80% chance to trigger) | Heals to full HP. (No direct XP/Gold) | Fully Healed. | Ambush during rest (0.1% True Death chance). |
Short Rest | HP < 55% Max HP (not long resting; then 30% chance to trigger) | Heals MaxHP/10 + rand(1, Lvl/4+Tier) . (No direct XP/Gold) |
Moderate Healing. | Ambush during rest (0.05% True Death chance). |
Primary Action Categories (One chosen per tick if not resting/Nemesis) | ||||
IF QUEST ACTIVE: | (Total weight for this block = 100) | |||
Progress Quest | 60% weight | Advances quest by 1 step. Base XP/Gold from xp_unit /gold_unit (both scale with Lvl). Specific outcomes multiply these. |
Miraculous (0.5%): XP*30 of unit, Quest Prog +1–3. Discovery (15%): XP*3 of unit; Chance for Gold (scales: Lvl, CHA) or Item (quality scales: Lvl, INT, Tier). Combat Win (within 62.5% combat branch): Significant XP/Gold (scales: Lvl, MonsterLvl), chance for item (quality scales: INT, Tier). Normal (20%): Minor XP (0.8*unit). |
Setback (2%): Minor XP (0.2*unit); Trap Chance (0.12 - WIS/500 - Tier*0.01) -> Damage, potential Overwhelm/True Death. Combat (62.5% total branch): Can take damage, Overwhelm/True Death (standard rules). Quest fails if Overwhelmed. |
↳ Quest Completion | (Auto after last quest step) | Very Large XP & Gold reward (scales with Lvl, based on xp_unit /gold_unit * large multipliers). |
Chance for bonus high-quality Item (quality scales: Lvl, CHA, Tier). | N/A |
Train Stat | 12% weight (during quest) | Base XP (scales: Lvl). Logs training random stat. | Breakthrough ((0.0002 / (1+(Stat/20)^2)) + Tier*0.00005 ): +1 to trained stat. |
Fatal Accident (0.04%): True Death. |
Meditate | 12% weight (during quest) | Base XP (scales: Lvl, WIS). Varied flavor text. | Epiphany (0.001 + WIS/5000 + Tier*0.0001 ): Large bonus XP. Small random XP variance. |
Fatal Accident (0.02%): True Death. |
Patrol | 8% weight (during quest) | Base XP (scales: Lvl). Logs patrolling. | Encounter Outcome (if 3.5% encounter): Defeat/drive off monster (bonus XP scales: MonsterLvl), or monster misses. “All quiet” otherwise. | Fatal Mishap (0.16%): True Death. Encounter (3.5%): Monster attacks; damage, Overwhelm/True Death possible. |
Short Rest (also) | 8% weight (during quest, if HP-based rests not triggered) | (Same as conditional Short Rest: Heals MaxHP/10 + rand(1, Lvl/4+Tier) ) |
(Same as conditional Short Rest) | (Same as conditional Short Rest: 0.05% True Death ambush) |
IF NO QUEST ACTIVE: | (Total weight for this block = 103) | |||
Seek Quest | 24.27% weight (25/103) | Assigns new quest title & steps. (No direct XP/Gold for seeking). | Quest Started. | N/A |
Explore | 11.65% weight (12/103) | Base XP (scales: Lvl). Logs exploration. | Find (4%): Gold (70%, scales: Lvl) or Item (30%, quality scales: Lvl/Tier). Lvl Shrine (0.001%): +1–5 Levels. Guardian (0.05%): Tough fight; if won: good XP/Gold/Item (all scale: GuardianLvl/Tier). |
Fatal Mishap (0.1%): True Death. Ambush (1.5%): Monster attacks; damage, Overwhelm/True Death possible. Guardian can also kill. |
Scout Ahead | 9.71% weight (10/103) | Higher Base XP (scales: Lvl). Logs scouting. | Find (6%): Gold (60%, scales: Lvl) or Item (40%, quality scales: Lvl/Tier). Encounter Outcome (if 3% encounter & survives): Bonus XP (scales: MonsterLvl). |
Fatal Mishap (0.2%): True Death. Encounter (3%): Monster attacks; damage, Overwhelm/True Death possible. |
Forage | 7.77% weight (8/103) | Base XP (scales: Lvl). Logs foraging. Varied flavor text. | Find (12%): Gold from herbs (80%, scales: Lvl) or Healing Salve (20%, amount scales: Lvl/Tier). | Fatal Mishap (0.04%): True Death (e.g., poison ivy). |
Train Stat | 6.80% weight (7/103) | (Same as “Train Stat” during quest - XP scales: Lvl) | (Same outcomes - Breakthrough: (0.0002 / (1+(Stat/20)^2)) + Tier*0.00005 ) |
(Same risks - Fatal Accident 0.04%) |
Meditate | 6.80% weight (7/103) | (Same as “Meditate” during quest - XP scales: Lvl, WIS) | (Same outcomes - Epiphany: 0.001 + WIS/5000 + Tier*0.0001 ) |
(Same risks - Fatal Accident 0.02%) |
Practice Weapon Drills | 5.83% weight (6/103) | Base XP (scales: Lvl, STR, DEX). Logs drills. | Stat Insight (0.15% with soft cap): +1 STR or DEX. | Injury (2.85%): Minor damage. Fatal Accident (0.01%): True Death. |
Pray at Shrine | 3.88% weight (4/103) | Minor XP (scales: Lvl, WIS). Costs small gold (scales: Lvl) if affordable. | Divine Boon (17% if offered, 2% if not): Big Heal (MaxHP/3+Lvl ) & Large Bonus XP.Minor Blessing (23% band, upper limit 40% if offered, 25% if not): Small Heal ( MaxHP/10+Lvl/2 ) & Bonus XP.“Peaceful moment.” |
“Gods are silent.” Fatality (0.01%): True Death. |
Study Ancient Tome | 3.88% weight (4/103) | Base XP (scales: Lvl, INT). Logs study. | INT Increase (0.2% with soft cap): +1 INT. Significant Insight (4.8%): Large Bonus XP (scales: Lvl, INT, Tier). |
Magical Feedback (10%): Minor damage. Fatal Accident (0.008%): True Death. |
Tend Local Landmark | 3.88% weight (4/103) | Base XP (scales: Lvl, WIS). Varied flavor. | Gold Find (8%, after mishap check): Small Gold (scales: Lvl). Neutral flavor outcome otherwise. | Mishap (5%): Flavor text only, no mechanical penalty. (No True Death risk) |
Share Tales at Gathering Place | 4.85% weight (5/103) | Base XP (scales: Lvl, CHA). Varied flavor. | Gold Gain (7%): Small Gold (scales: Lvl). Rumor (21%, after gold checks): Logs a procedurally generated rumor. Neutral flavor outcome otherwise. |
Gold Loss (7%): Small Gold (scales: Lvl). (No True Death risk) |
Craft Simple Items | 3.88% weight (4/103) | Base XP (scales: Lvl, DEX, INT). | Success (70%): Small Gold (scales: Lvl). | Failure (30%): Wasted materials/time (flavor). (No True Death risk) |
Study Map Fragment | 2.91% weight (3/103) | Base XP (scales: Lvl, INT). | Gold Find (5%): Medium Gold (scales: Lvl). Decipher Location (25%, after gold check): Flavor text about a location. |
Flavor text about map being indecipherable. (No True Death risk) |
Observe Surroundings | 3.88% weight (4/103) | Base XP (scales: Lvl, WIS). Varied flavor about observed wildlife/flora/environment. | Neutral insight flavor text. | Mishap (4%): Flavor text only (e.g., startled by animal), no mechanical penalty. (No True Death risk) |