Alright lots of stuff fixed and added! Sorry if I repeat stuff, each reptation is where the code broke and I had to fix it and forgot I already wrote that I had fixed it. ;-;
Bug Fixes
Fixed the leaf armor, can be gotten from the bush event
Fixed the merchant button glitch
Artifacts stack properly
Health, Shield, and All Damage skills in the skill tree can be upgraded properly
Resetting the skill tree does not allow for cheeseing stats
Skill tree points should show up and remain updated but if they do not appear right away click reset
Artifacts will no longer have weird gaps between them
Artifacts duplicating
Artifacts will stack properly
Skill points now display immediately when an achievement is achieved
Added classic video game tips on the menu screen
Fixed the Max HP upgrades from the skill tree not showing up in game
Fixed artifacts spawning inside of each other
Fixed arrows not doing damage
Fixed skill tree upgrades not showing up after the achievement was completed
Merchant bow being free/bugged has been fixed, shoutout to https://resurrectedstudio.itch.io for helping me with that, it was such a easy fix when I knew where to look ;-;
Fixed shield giving HP when you had more than the enemies attack
Additions
Weight stat
Throwing: All throwing items deal extra damage equal to your throwing level
Merchant will now also ask for gold And fish.
Gold will give 25 coins when sold to the merchant
Player and Ally will now display Text when leveling up
Artifacts will show a count of how many you have
Added music, made it myself :) (Edit, I removed it because oh boy does it suck.)
Added Ground Smash Ability, Deals 1 damage to all enemies but damage is increased with your weight
Added earth character, extra hp and shield at the cost of damage
Achievement: Unlucky - Die before leveling up once
If you have the lucky rabbits foot when opening the chest you have a chance to gain a extra item!
Advanced the farmer event
If you choose to ignore the farmer enough he will disappear, you will then get the option to look around his house.
Inside the house you can find food items and also... the farmer...
If you interact with the farmer you will get a special item that interacts with food items and will evolve by consuming other food items in your inventory
If you ended up killing the farmer you can also loot his house now, but you can no longer find the maggot, instead you will find the flour.
Added Steak - Steak gives +1 Strength and +1 MaxHP
Added Maggot - Maggot will evolve as it consumes food type artifacts
Added Bag Of Flour -
Unlocked the character select which also includes the ability select
Added More Achievements
Ignore 25 events -1p
Ignore the chest -1p
Get the maggot from the farmer -1p
Hire the bush -1p
Added a starry background in the skill tree
Changes
Choosing to upgrade strength also adds to Throwing
Choosing to upgrade health also adds to weight
HP bar will no longer cover up the Text
Bush Ally will attack every 2 seconds
Player will attack every 1 second
Bush ally will gain attack speed as it levels up
If you have a bonus of 2 in strength you can no longer fail to open the tree chest
Leveling up strength also increases your attack speed
Increased the button slide speed in the menu by 200
Changed the colors of the main menu BG to allow text to be more visible
Upgrading Max HP in the skill tree now gives +3 instead of +1
Changed the Stack em up 2nd achievement name to Stack Em Up Even More!
The menu buttons will only move on first load
Robbing the farmer will always give a artifact
Arrow will no longer bounce off enemies, this will be an artifact effect later on
Bow now shoots every 1.5 seconds
Now if you have more shield than an enemy has attack when you are hit it will say "Blocked"
Enemy fireballs are not blocked by your shield
Increased chest respawn rate by 25%
Bag of flour and Steak added to Human loot pool
Rabbits foot no longer gives 1+(player Karma) extra XP, it now only gives 1+(Player Karma/100), this was way too OP, Like If i boosted my karma as much as possible I would levelup multiple times after each fight ;-;
Leaf armor regenerates .5 hp instead of 1
Maggot consumes .1 hp instead of 1
Lowered chance to kill farmer by 25%
Funny thing happened btw
Basically I was just playing the game, testing out the merchant. I bought the Helmet which glitched out all of the other artifacts and then after killing one enemy my hp was set at this goofy amount. Turns out I did not tell the game to look if I had gold in my inventory so it just sold all of my other artifacts... but that still doesn't explain the health.
Okay and I must rant about how stupid it was to get the artifacts to stack properly, I change one line of code and it generates sprouts infinitely, I move one line and then they still spawn infinitely but now on top of each other! And then I undo my chances, move the SAME LINE OF CODE and it works, I don't even know why it works, if I ever change this code its over bruh this took me 3 days to figure out (like 6 hours) so yeah :')
Quick shoutout to Khaled Felfal for giving me the idea which fixed artifacts. Now lemme go rework that entire system :D, it is for the best...