[Freeciv-Dev] (PR#7354) Proposal: codifying what units fit in what trans
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://rt.freeciv.org/Ticket/Display.html?id=7354 >
> [jdorje - Lun. Mar. 08 03:09:38 2004]:
>
> Currently the transporter types are hard-coded. There are three types
> of transporters:
>
> - Ground unit
> - Carrier (air unit + missile)
> - Missile (missile unit only)
>
> which are specified for each unit in units.ruleset. Of course the
> "missile" units have to be specified separately.
>
> My idea (as described in PR#6174) is to generalize this to have
> arbitrary carrying types. For instance units.ruleset could specify
>
> carry_types = "ground", "air", "missile"
>
> and then for each unit the unit specifies
>
> cargo_type = "ground"
>
> and for transporters the unit specifies
>
> transporter_types = "air", "missile"
>
> This is not fully thought out, but I believe it will not only generalize
> the rulesets but will help to simplify the logic in some functions.
>
> jason
>
Hi, this is a nice idea.
not only ground_small but some more spesific as infantry_light/heavy for
some old navy unit/elicopters or anfibies.
Marcelo
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Freeciv-Dev] (PR#7354) Proposal: codifying what units fit in what transporters,
Marcelo Burda <=
|
|