URL:
<http://gna.org/bugs/?22189>
Summary: Prefer to load units onto less nested transporters
Project: Freeciv
Submitted by: jtn
Submitted on: Sat 14 Jun 2014 17:18:04 BST
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
Status: None
Assigned to: None
Originator Email:
Open/Closed: Open
Release:
Discussion Lock: Any
Operating System: Any
Planned Release: 2.5.0, 2.6.0
_______________________________________________________
Details:
Now that it's possible to load onto transporters which are themselves
transported (since bug #22050), since there is no UI to choose which transport
is used (bug #13943 and friends), in some rulesets units may now randomly get
loaded onto nested transports or not.
Consider a ruleset with units:
* Ferry: class Sea, transports Land and Small Land
* Bus: class Land, transports Small Land
* Spy: class Small Land
If a Spy is given a load order on a tile with a Ferry carrying a Bus, I thin
it's random which of the Ferry or Bus she'll end up on. This could be
annoying, especially as it can't be undone.
Obviously proper UI would be great, but in its absence (and in other cases
where no target is specified) I think the default choice of transport should
be made vaguely predictable.
I propose that transporter_for_unit() ranks candidate transports by nesting
depth, and a transport with the least nesting depth is chosen. This will
restore the previous experience in these cases.
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?22189>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev