From 0774ed9b213e6b670c63fea8f26b6ae9bc4dbfde Mon Sep 17 00:00:00 2001 From: Adam Svoboda Date: Mon, 28 Oct 2024 18:49:27 +0100 Subject: [PATCH] Fatigued yellow, data tweaks, bump version --- data/encounters.csv | 29 +++++++++++++---------------- js/game_loop.js | 4 ++-- 2 files changed, 15 insertions(+), 18 deletions(-) diff --git a/data/encounters.csv b/data/encounters.csv index d9ecf819..1296d2b8 100644 --- a/data/encounters.csv +++ b/data/encounters.csv @@ -92,10 +92,10 @@ Forsaken Village;๐Ÿœ;Forest Ant;Small;1;1;2;0;-1;0;Tireless Worker;Able to carr Forsaken Village;๐ŸŒ;Trailing Snail;Small;1;0;0;0;-1;0;Pelicular Insect;Eyes are glowing blue.
;Choked on snail ooze. ๐Ÿ›๐ŸฆŸ๐Ÿฆ— -Forsaken Village;๐Ÿชฟ;Angry Goose;Standard;1;1;3;0;2;0;Vicious Beast;Peace was never an option.
;Absolutely honked to death! -Forsaken Village;๐Ÿ•;Stray Hound;Standard;2;1;2;0;0;0;Lost Animal;Seems starving for a long time.
; -Forsaken Village;๐Ÿ;Screaming Goat;Standard;1;2;2;0;10;0;Wild Beast;Produces a variety of unpleasant noises.
;Devoured to the bone. -Forsaken Village;๐Ÿฆ;Ferocious Coon;Standard;2;1;2;0;2;0;Rabid Animal;Kinda cute on the first glance.
;Died by contracting rabies. +Forsaken Village;๐Ÿชฟ;Angry Goose;Standard;2;1;2;0;2;0;Vicious Beast;Peace was never an option.
;Absolutely honked to death! +Forsaken Village;๐Ÿ•;Stray Hound;Standard;2;2;1;0;0;0;Lost Animal;Seems starving for a long time.
; +Forsaken Village;๐Ÿ;Screaming Goat;Standard;3;1;1;0;10;0;Wild Beast;Produces a variety of unpleasant noises.
;Devoured to the bone. +Forsaken Village;๐Ÿฆ;Ferocious Coon;Standard;2;2;2;0;2;0;Rabid Animal;Kinda cute on the first glance.
;Died by contracting rabies. Forsaken Village;๐Ÿ“;Angry Cock;Standard;2;1;1;0;1;0;Animal;Better not to underestimate.
;Pecked to death. Forsaken Village;๐Ÿฆƒ;Frenzied Turkey;Standard;2;1;2;0;10;0;Domestic Animal;Goes straight for the ankles.
;Pinched to death. Forsaken Village;๐Ÿฆข;Possesive Swan;Standard;2;2;1;0;10;0;Resolute Bird;Peace was never an option.
;Honked to death! @@ -127,9 +127,6 @@ Forsaken Village;๐Ÿƒ;Tarot Card โ€” Fool;Item;0;0;0;2;-2;0;Artifact;Sacr Forsaken Village;๐Ÿƒ;Tarot Card โ€” Lover;Item;1;0;0;0;-2;0;Artifact;Sacrifice -2 ๐Ÿง  Intellect for +1 โค๏ธ Health
;Embraced destiny ๐Ÿƒ Lover. Forsaken Village;๐Ÿƒ;Tarot Card โ€” Mage;Item;0;-1;-1;0;0;2;Artifact;Sacrifice -1 โš”๏ธ Attack and -1 ๐ŸŸข Stamina
for gaining +2 ๐Ÿ”ต Mana.;Embraced destiny ๐Ÿƒ Mage. Forsaken Village;๐Ÿƒ;Tarot Card โ€” Berserker;Item;-1;1;0;0;-1;0;Artifact;Sacrifice -1 โค๏ธ Health and -1 ๐Ÿง  Intellect
for gaining +1 โš”๏ธ Attack.;Embraced destiny ๐Ÿƒ Berserker. -Forsaken Village;โš–๏ธ;Offensive Scales;Item;0;0;0;0;0;0;Artifact;Trade 1/2 โค๏ธ Health for that much โš”๏ธ Attack.
;Traded 1/2 โค๏ธ Health for โš”๏ธ Attack. -Forsaken Village;๐Ÿญ;Magic Stick;Item;0;0;0;0;0;0;Artifact;Trade 1/2 ๐ŸŸข Stamina for that much ๐Ÿ”ต Mana.
;Traded 1/2 ๐ŸŸข Stamina for ๐Ÿ”ต Mana. -Forsaken Village;๐ŸŽฒ;Gambling Dice;Item;0;0;0;0;0;0;Artifact;Sacrifice 1/2 โค๏ธ Health for ๐ŸŽฒ Pure Chance.
33% chance to resist physical damage.;Lost 1/2 โค๏ธ Health for ๐ŸŽฒ Pure Chance. Forsaken Village;๐Ÿž;Cute Ladybug;Item;0;0;0;1;0;0;Tiny Insect;Looks absolutely innocent.
;Got a travel buddy. Forsaken Village;๐Ÿช“;Steel Axe;Item;0;1;0;0;0;0;Makeshift Weapon;Definitely could be of service.
;Obtained a makeshift weapon. @@ -148,8 +145,8 @@ Forsaken Village;๐ŸŒน;Rose Bush;Item;-1;0;0;0;1;0;Forest Flora;These are just be Forsaken Village;๐Ÿ—๏ธ;Lost Key;Item;0;0;0;0;0;0;Junk;Covered in rust and dirt.
; Forsaken Village;๐Ÿซ™;Fart in a Jar;Item;-2;0;0;0;0;0;Garbage;Better not release the contents.
;Oops the lid came off Forsaken Village;๐Ÿ“”;Philosopher Notes;Item;0;0;0;0;1;0;Prophecy;n/a;Embraced the knowledge. -Forsaken Village;๐Ÿงฆ;Lost Sock;Item;0;0;0;0;0;0;Junk;Dirty and full of holes.
; -Forsaken Village;๐Ÿงต;Cotton Thread;Item;0;0;0;0;0;0;Junk;Might come in handy at some point.
; +//;Forsaken Village;๐Ÿงฆ;Lost Sock;Item;0;0;0;0;0;0;Junk;Dirty and full of holes.
; +//;Forsaken Village;๐Ÿงต;Cotton Thread;Item;0;0;0;0;0;0;Junk;Might come in handy at some point.
; Forsaken Village;๐Ÿ‘ ;Princess Shoe;Item;0;0;0;0;0;0;Junk;Likely belongs to a beautiful girl.
; Forsaken Village;๐Ÿฅ•;Wild Carrot;Consumable;0;0;0;0;0;0;Vegetable;Packs a ton of vitamins.
; @@ -258,12 +255,12 @@ Depriving Fairyland;๐Ÿ•ท๏ธ;Black Widow;Small;1;5;1;0;-1;0;Imminent Danger;Venom Depriving Fairyland;๐Ÿฆ‹;Skyblue Butterfly;Small;1;1;1;0;-1;1;Stunning Insect;Does not like being disturbed.
;How could this happen? Depriving Fairyland;๐Ÿบ;Prowling Wolf;Standard;3;4;1;0;10;3;Apex Predator;Hunting for prey.
;Got ripped apart and eaten. -Depriving Fairyland;๐Ÿฆš;Pearlescent Bird;Standard;2;1;2;0;2;0;Fancy Animal;Peace was never an option.
;Eyes melted by the feather reflections. -Depriving Fairyland;๐Ÿฆก;Honey Badger;Standard;2;2;2;0;4;0;Wild Animal;The creature boasts sinister energy.
Better to not underestimate.; +Depriving Fairyland;๐Ÿฆš;Pearlescent Bird;Standard;3;1;2;0;2;0;Fancy Animal;Peace was never an option.
;Eyes melted by the feather reflections. +Depriving Fairyland;๐Ÿฆก;Honey Badger;Standard;3;2;2;0;4;0;Wild Animal;The creature boasts sinister energy.
Better to not underestimate.; Depriving Fairyland;๐ŸฆŽ;Komodo Dragon;Standard;3;2;2;0;5;0;Massive Lizard;Eyes are glowing red.
;Insides devoured by a lizard. -Depriving Fairyland;๐Ÿง™โ€โ™‚๏ธ;Bloody Cultist;Standard;2;1;1;0;4;2;Crazed Maniac;Eyes are glowing blue.
;Sacrificed to the great evil. -Depriving Fairyland;๐ŸงŒ;Old Troll;Standard;3;1;1;0;2;1;Creature;Not happy about having a company.
;Turned into goulash. -Depriving Fairyland;๐Ÿ•ท๏ธ;Huge Tarantula;Standard;1;3;1;0;-1;0;Imminent Danger;Venomous eight-legged menace.;Got stinged into their eyes. +Depriving Fairyland;๐Ÿง™โ€โ™‚๏ธ;Bloody Cultist;Standard;3;1;1;0;4;2;Crazed Maniac;Eyes are glowing blue.
;Sacrificed to the great evil. +Depriving Fairyland;๐ŸงŒ;Old Troll;Standard;4;1;1;0;2;1;Creature;Not happy about having a company.
;Turned into goulash. +Depriving Fairyland;๐Ÿ•ท๏ธ;Huge Tarantula;Standard;3;3;1;0;-1;0;Imminent Danger;Venomous eight-legged menace.;Got stinged into their eyes. Depriving Fairyland;๐Ÿฆœ;Annoying Parrot;Swift;2;2;3;0;2;0;Wild Animal;Seems having lightning reflexes.
; Depriving Fairyland;๐Ÿฅท;Mystic Adversary;Swift;1;1;3;0;3;0;Humanoid;Uncanny figure with ellegant moves.
;Stabbed till fully dead. @@ -321,8 +318,8 @@ Depriving Fairyland;๐Ÿช†;Suspicious Idol;Item;0;0;0;-3;0;1;Cursed Object;Unfamil Depriving Fairyland;๐Ÿ€;Four-leaf Clover;Item;0;0;0;1;0;0;Rarity;Usually brings extra luck.
;Feels good to have it. Depriving Fairyland;๐Ÿช€;Jade Trinket;Item;0;0;1;1;0;0;Handmade Ornament;Unfamiliar peace of ancient art.
; Depriving Fairyland;๐Ÿช˜;Tribal Drum;Item;0;0;-1;0;1;0;Musical Instrument;Seems heavy and quite useless.
;Put it on their back -Depriving Fairyland;๐Ÿงฆ;Lost Sock;Item;0;0;0;0;0;0;Junk;Dirty and full of holes.
; -Depriving Fairyland;๐Ÿงต;Cotton Thread;Item;0;0;0;0;0;0;Junk;Might come in handy at some point.
; +//;Depriving Fairyland;๐Ÿงฆ;Lost Sock;Item;0;0;0;0;0;0;Junk;Dirty and full of holes.
; +//;Depriving Fairyland;๐Ÿงต;Cotton Thread;Item;0;0;0;0;0;0;Junk;Might come in handy at some point.
; Depriving Fairyland;๐Ÿ‘ ;Princess Shoe;Item;0;0;0;0;0;0;Junk;Likely belongs to a beautiful girl.
; Depriving Fairyland;๐Ÿชถ;Lightning Feather;Item;0;0;1;0;0;0;Fancy Quill;Has pearlescent finish.
;Felt swift power surge. Depriving Fairyland;๐Ÿ’ฉ;Steaming Pile;Item;0;0;0;0;-3;0;Trace of Life;Rather don't do anything stupid.
;Got some shit on their hands diff --git a/js/game_loop.js b/js/game_loop.js index 193829d0..e8fa16d5 100644 --- a/js/game_loop.js +++ b/js/game_loop.js @@ -2,7 +2,7 @@ //...submit a pull request if you dare //Debug -var versionCode = "fpm 10/28/24 โ€ข 1:59 pm" +var versionCode = "fpm 10/28/24 โ€ข 6:49 pm" var initialEncounterOverride=0; //7 skips tutorial if (initialEncounterOverride!=0) initialEncounterOverride-=3; //To handle notes and death in .csv @@ -760,7 +760,7 @@ function redraw(){ displayPlayerState(); //Cautious by default if (enemyType.includes("Container") || enemyType=="Prop" || enemyType=="Item"||enemyType=="Consumable"||enemyType=="Checkpoint"||enemyType=="Altar"){ if (playerSta>=playerStaMax) displayPlayerState("Relaxed",colorDarkGreen,"2.5"); //I need this to be overwritable by the below - if (playerSta<=(playerStaMax/2)) displayPlayerState("Fatigued",colorDarkGrey,"2"); //I need this to be overwritable by the below + if (playerSta<=(playerStaMax/2)) displayPlayerState("Fatigued",colorYellow,"2"); //I need this to be overwritable by the below if (playerSta==0) displayPlayerState("Exhausted",colorOrange,"2"); //I need this to be overwritable by the below } if (enemyType=="Upgrade") displayPlayerState("Level Up",colorGold,"0.5"); //I need this to be overwritable by the below