darkf
darkf
Probably due to the timer and the state being set after an encounter is triggered, so when it is resumed it continues where it left off. Starting an encounter or...
A good example is https://hackernoon.com/tagged-unions-react-and-redux-55e262e4d0ea where we can use typed unions like ADTs in other languages, e.g.: type Foo = {tag: 'A', x: T} | {tag: 'B', y: U} and...
This is used for the day/night cycle (dependent on time; set by the map script) as well as dark areas (caves, buildings/dungeons).
There can be multiple teams (for the purposes of combat) on a map; how this works is currently unclear to me -- however the player's party gets their own team.
Ties in with scripting (`mark_area_known`, `metarule` 17, etc). Needs to be remembered in savegames.
These are hardcoded in the engine and triggered at various times/events. We could possibly use an event system (would require a much larger refactor to fully take advantage of), or...
Could be written using Tkinter (standard Python); should just allow a file chooser and/or folder drag and drop along with a progress bar (or other such indicator) that doesn't block.
In FO2 the cursor can switch between select (or act) and move moves. Move mode shows the red cursor outline and lets the player move. The act mode lets the...