DAY 19.5:
Late night / Early morning tinkering:
- Made the Previous and Next buttons functional. (For selecting the next object of same type that needs orders)
- Made the ‘Orders Given’ check box functional. (Removes from Previous / Next List)
- Added a summary above the End Turn button to show how many things need orders, and quickly be able to select the first one.
- Added some ‘fancy’ camera movement when going to next object.
DAY 20:
So, finally settled on getting Colonizing Planets implemented and waiting to do Star Bases. Was tossing around the idea on how I wanted to populate worlds. In VGA Planets, you would transfer down some colonists and on the next turn they would take ownership. There was also a ship mission of landing and disassembling which basically does the same thing but you lose a ship. I am thinking that the logic for transferring to/from non-owned things is going to be overly complicated and am leaning more towards a Ship Mission. I want to have a specific Mission for Colonizing that does not involve losing a Ship, if selected it will unload Colonists/Supplies/Credits when reaching a Planet.
To start off I am going to skip the UI for now and just have Ships assume they are on a Colonizing mission for the time being. During the turn processing, I need to check the Ships Mission (Colonize) then check if the Ship is at an unowned Planet and if it is, unload Colonists/Supplies/Credits and set ownership. Adding a few comment lines in the code at this section to remind myself that later on when there are other players doing things, it would be possible to have more than one player trying to Colonize at the same time. In that situation there would be a “ground battle” before determining ownership.
Not sure what is going on with the credits, probably some issue with the Planetary Revenue Service freezing assets, but credits are not leaving with the Ships. I’ll have to track down where that is getting messed up. Probably some silly oversight, since everything else seems to be working.
Have one more night of very cold temperatures before getting back to generally cold, so will likely get the boring UI work done later on and make it possible to select the Ship Mission.