Commit Graph

256 Commits

Author SHA1 Message Date
evanpelle bc3cf09960 npcs build ports 2024-11-21 19:53:02 -08:00
Evan 8be9cda4f9 make NPCs easier 2024-11-20 21:09:55 -08:00
Evan f664657e78 fix NPC send boat chances 2024-11-20 20:55:08 -08:00
Evan b915737a0e fix transport ship execution null bug 2024-11-20 20:50:16 -08:00
Evan cb44144fc6 actually fix dst is null on transportshipexecution bug 2024-11-20 20:50:00 -08:00
Evan 819b8ef23a fix port ally finding bug, fix transport ship crashing game when target tile not found 2024-11-20 20:22:51 -08:00
Evan 8b391c7ae0 rebalance nukes 2024-11-20 20:07:56 -08:00
Evan 18ac34ae45 Created hydrogen bomb 2024-11-20 19:55:42 -08:00
Evan 8531b47144 make destroyers faster 2024-11-20 19:33:01 -08:00
Evan 66d201ad8c fix pathfinding bug, returned same cell as src 2024-11-20 19:32:29 -08:00
evanpelle 108fad8096 create territoryBound, have player execution check units for capture
fix bug where PortExecution tries to get random element from empty list and crashes
2024-11-17 19:56:54 -08:00
Evan 371a33b406 fixed units() returning empty when no units specified, moved canBuild logic to PlayerImpl 2024-11-17 12:38:54 -08:00
Evan 8f8de97d9b remove BuildValidator 2024-11-17 10:33:13 -08:00
Evan 0d5f514c48 nukes cause more troop damage 2024-11-17 09:36:12 -08:00
Evan b5a8339eb3 move unit info to config 2024-11-16 21:09:25 -08:00
Evan 05a3bed093 nukes spawn from missile silos 2024-11-16 13:48:33 -08:00
Evan e26230275b add missile silo 2024-11-16 11:45:28 -08:00
Evan ddc7ddb8b8 only trade with allies 2024-11-15 20:43:15 -08:00
Evan b1e1d7263c Created TradeShips 2024-11-15 20:43:15 -08:00
Evan b559204076 spread out boat pathing over multiple ticks, fix neighborsWrapped bug 2024-11-15 20:43:15 -08:00
Evan 24121ad41b optmize pathfind: greedy bidi a* search 2024-11-15 20:43:15 -08:00
evanpelle d3d0651659 can capture and destroy ports 2024-11-15 20:43:15 -08:00
Evan 530f2dc2df destroyers now patrol 2024-11-15 20:43:15 -08:00
evanpelle 71be40a2cd destroyer spawns from port 2024-11-15 20:43:15 -08:00
evanpelle 1c8489f099 port spawns on coast 2024-11-15 20:43:15 -08:00
evanpelle febabf00db must build port before destroyer 2024-11-15 20:43:15 -08:00
evanpelle 09ead3791d add port 2024-11-15 20:43:15 -08:00
Evan 4236a580e3 working on port 2024-11-15 20:43:15 -08:00
evanpelle 36c9d67729 pathfinding perf improvement 2024-11-15 20:43:15 -08:00
evanpelle 0b3a92e498 transport ship use pathfinding library 2024-11-15 20:43:15 -08:00
evanpelle c399cb59fb perf improvement a star 2024-11-15 20:43:15 -08:00
Evan 4e71a64ea7 implement destroyers 2024-11-15 20:43:15 -08:00
evanpelle f0db9324d7 working on destroyer 2024-11-15 20:43:15 -08:00
Evan f742f8acbf working on pathfinding 2024-11-15 20:43:15 -08:00
Evan 975750b294 destroyer moves upwards 2024-11-15 20:43:15 -08:00
evanpelle c7951d77c0 adding destroyer 2024-11-15 20:43:15 -08:00
Evan 6a1a09c335 Create Unit class 2024-11-15 20:43:15 -08:00
Evan 3de73e665b bugfix: rendering player with twemojis in eventsdisplay 2024-11-09 12:02:55 -08:00
evanpelle 8b8c42ea16 bugfix: boat attack now donates troops instead of attacking when alliance is created during boat attack 2024-11-07 19:40:38 -08:00
Evan 1654f73f43 require gold to buy items 2024-11-04 19:45:31 -08:00
Evan 7b1bab1e0f troop/worker slider shows current ratio 2024-11-04 19:17:12 -08:00
Evan 60751150bf added gold, troops, workers slider 2024-11-03 20:11:04 -08:00
Evan 713393f4d4 use max troops instead of manpower for addition rate 2024-11-03 12:39:04 -08:00
Evan 32a8251edd rebalance manpower 2024-11-03 12:38:53 -08:00
Evan e20cd96df4 make manpower addition rate function of total manpower 2024-11-03 12:38:53 -08:00
Evan 7068758ae3 growth determined by manpower reserves 2024-11-03 12:38:40 -08:00
Evan 2afecf0f39 create troop slider 2024-11-03 12:37:56 -08:00
Evan e77bb5e118 bugfix: boat attack troops count twice 2024-11-02 19:55:22 -07:00
Evan 915359feca updated EventsDisplay to be lit component 2024-11-01 20:12:26 -07:00
Evan a31a35c038 remove setnameexecution because unused, create DisplayName on Player 2024-10-31 20:30:17 -07:00