Eintragsdetails ansehen
ID | Projekt | Kategorie | Sichtbarkeit | Meldungsdatum | Zuletzt aktualisiert |
---|---|---|---|---|---|
0000107 | Magellan | Funktionen | öffentlich | 2007-12-07 12:27 | 2007-12-24 05:21 |
Reporter | Khadar | Bearbeitung durch | darcduck | ||
Priorität | normal | Schweregrad | Feature-Wunsch | Reproduzierbar | immer |
Status | erledigt | Lösung | erledigt | ||
Zusammenfassung | 0000107: More intelligent order completion | ||||
Beschreibung | Can the order completion take the amount already entered in e.g. a GIVE command into account? Now when I type "GIVE abcd 1000 s"... it should be obvious that I mean "silver", not "shields", since I don't even have that many shields on me. | ||||
Tags | Keine Tags zugeordnet. | ||||
Project | Magellan 2 | ||||
|
yes i think this would be helpful. But we need to make this configurable, since you may use GIVE abcd 10000 silver also when you don't have it i the current units inventory. In the case you have the silverpool are material pool acitvated the GIVE order will take the items from other units to GIVE them away! However i would suggest everyone not using this feature, as it makes it nearly impossible the understand what happens. Thenically it should be no problem to filter for items that are available at least 1000 times (example above). I would add this, however i'm not sure how to make it configurable. Ralf |
|
The 1000 was just an example. I just meant to say that I'd like to first show that option for completion that the unit has the required amount for. Another example: Unit abc has 1 man, 10 silver, 3 silk and 5 myrrh. GIVE xyz 3 m... should then give "myrrh", as the unit only has 1 man to give. GIVE xyz 3 me.. should of course still give "men" GIVE xyz 3 s... should give "silk", as that is the first alphabetically and there are enough available. GIVE xyz 5 s... should give "silver", as there are only 3 silk available. GIVE xyz 5 sh.. should give "shield", obviously, even though there are none available at all. GIVE xyz 11 s.. should give "shield", as there isn't enough of any of the items, and shield is the first alphabetically. I don't think it needs configuration, the order completion just gives more logical options first. You can still get another option, you just have to type one or two more characters. |
|
Implemented in latest Mag2. Furthermore implemented GIVE <unit> <amount> ALL which will complete to all items/persons that are hold in at least the given amount. |