nations-game / nations-backend-django

Django port of nations-backend.
0 stars 0 forks source link

Military #10

Open chaarlottte opened 6 months ago

chaarlottte commented 6 months ago

This is a big one, and will be a pretty core feature of the game in general!

There will be different military units. We'll start with infantry units.

A nation can create "divisions" with a maximum of ten units per division. One division is set to be a defense division, which will defend the nation from any attack. Any units not in a division will be in reserves and will not be able to be used.

A unit has the following statistics:

Each unit will also be able to have certain buffs applied depending on the situation it is fighting in. They will also have a certain amount of upkeep, such as food, money, or fuel.

If a unit's health reaches zero, it dies and is no longer usable.

Divisions are able to be sent out for routine peacekeeping missions (used to level up units), story missions (these will be implemented later), sent to other nations for attack, and sent to alliance members' nations for defense.

Missions and battles will be worked on after the scaffolding is done. These will likely use Django's realtime API.

chaarlottte commented 6 months ago

This will be worked on over time, as this is a very core part of the game.