Feature request: Unrefuelable units
Posted: Sun Oct 15, 2023 2:30 pm
I'm working on a ruleset where I would like to implement missiles as a combination of two different types of units:
- "transported missile"
- "launched missile"
The transported type is the default unit, and it gets converted into the launched type when the missile gets launched.
Nearly all functionality seems to exist to implement this, but the "launched missile" should only exist for 1 or 2 turns.
Fuel seems the natural way to limit the lifespan of this launched missile unit, except that the launched missile should not refuel in cities, but I didn't find any options to prevent a specific unit from refuelling in cities.
I checked existing rulesets (v3.0.6) looked at action_enablers, and checked the forum (http://forum.freeciv.org/f/viewtopic.php?p=103572 and http://forum.freeciv.org/f/viewtopic.php?p=102839 seemed somewhat related).
- "transported missile"
- "launched missile"
The transported type is the default unit, and it gets converted into the launched type when the missile gets launched.
Nearly all functionality seems to exist to implement this, but the "launched missile" should only exist for 1 or 2 turns.
Fuel seems the natural way to limit the lifespan of this launched missile unit, except that the launched missile should not refuel in cities, but I didn't find any options to prevent a specific unit from refuelling in cities.
I checked existing rulesets (v3.0.6) looked at action_enablers, and checked the forum (http://forum.freeciv.org/f/viewtopic.php?p=103572 and http://forum.freeciv.org/f/viewtopic.php?p=102839 seemed somewhat related).