Action System
An inhabitant contain different action that could be performed to them. An example of this is the Infect action. The infection is not triggered by pressing the right mouse button to the target inhabitant anymore. What I did instead is that when the player pressed an inhabitant a UI would appear that contains a list of all the possible actions that you could perform with the selected inhabitant. This includes the infect action. Right now the game only contains the system that would allow me to add more action in the future and a UI to show the available action. It doesn't perform the action on click yet but that would be my focus for tomorrow's development
0 comments