Input Request Functions


The work on action scripts continues. This weekend I expanded the modding framework to accommodate a special type of functions that request user input. These functions, when executed, will interrupt the simulation to wait for the user to interact with the game. Though these won't be constrained to a single type of dialog like decisions do. For example, for tribal migrations, I added a function that when called, will prompt the player to choose a region on the map where the tribe under their influence should migrate to. Hopefully I'll be able to showcase that function in action this next weekend or the one after.

Given the fact that those functions will depend on user interaction, I had to introduce a validation logic on the mod system to prevent mod creators from accidentally letting the AI try to use those functions. In those cases, the game will throw an error while loading the mod, which hopefully will help mod creators figure out the problem rather quickly. Instead of having t wait for the game to crash in the middle of a run.

Next week I'll start working on the UI interaction that will be needed for the player to choose the target region. As I said, I hope to have this function done in a couple days, but it might take a couple of weekends or more.

Get Worlds - History Simulator

Comments

Log in with itch.io to leave a comment.

So... Does this mean that the next major update is right around the corner?

No, sorry. Still a long way. Tribal migration is still incomplete. Then I have to finish tribal aggression, work on inter tribal conflict (which might get pushed to a future release), and then I have to work on the feature picked by the community.

The good news is that I feel I'm past the midway point and very likely it will be ready somewhere around the summer.

first