Hi! Quite a lot has been done this week. From the main thing: improved inventory, optimized a lot of scripts, fixed a decent number of bugs and is currently engaged in artificial intelligence of NPC. I add new States to them: new types of work, rest, and improve interaction with them.
1) Inventory:
- Reworked inventory interface for a new version with item icons;
- Fixed a bug with using the item: food, firewood. The item was not correctly removed from the inventory.
- Fixed a bug with updating the number of food (stacks) in real time;
- Added armor types: torso, head, etc...
- Added display of armor in the equipment menu;
- Added display of stats on the left inventory page;
- Optimized code for all inventory items + its interface elements;
2) Interface: implemented display of interaction text + object name when hovering over an item/object. Added the following cases:
- Name of the selected item;
- Name of the NPC;
- Name of the plant to collect;
- Name of the interactive object;
3) NPC:
- Optimized NPC script code;
- Redesigned interaction with NPCs when they are asleep. Now they do not get out of bed, but slightly raise themselves and start a dialogue;
- Moans are now loaded dynamically if necessary, for RAM optimization;
- Optimized code "death" of the NPC. Now the health check is called when the value changes;
- Fixed: if the character is dead, he can't turn his head;
- Fixed: if a character is dead, they can't blink their eyes;
- Fixed: the main character object starts to fail after death;
- Redesigned NPC beds so that the head does not "fall" into the pillow;
- Fixed animation for NPCs to lie down and get out of bed normally;
4) Artificial intelligence: work is still in progress. One bug delayed the release of the report:)
- Added a system of state indexes. This is necessary to optimize the transition between states in the animation plan;
5) Bugs and fixes:
- Fixed (redone) bug with the quest system: checking for the number of items;
- Fixed the physics of the starting tunic: now it does not fall into the legs;
- Fixed physics of breasts in all the characters;
- Fixed the behavior of tail physics in characters;