Main Menu

News:

Please be aware of the Forum Rules of Conduct.

Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - mstetson

#1
Title: Implicit provisions for troop units

Summary: Now that there are no caravans, troops need a way to spend short amounts of time in a starving region without starving themselves.

Details: Units don't travel without some food, but nobles don't need to micromanage it, they have people for that. Any unit can reside in a starving region for a full day before starvation has any effect. If a unit has carts, make it 2 days, since they would have brought extra provisions. Staying a turn in a non-starving region replenishes your supplies, but only if you are stationary at the turn change.

Benefits: Units will no longer start starving on their first turn in a starving region – a very unrealistic thing. But it doesn't delay starvation so long as to make it a non-issue. This shouldn't take much code to implement, either (pseudocode):


at turn change:
    if unit is stationary and region is not starving:
        if unit has at least one cart:
            unit.provisions = 4
        else:
            unit.provisions = 2
    if region is starving:
        unit.provisions -= 1
        if unit.provisions <= 0
            starve


Possible Exploits: Can't think of any.