List of ships
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
Recently I was trying to find out how many ships I had and did not find the information in the statistics. So I want to suggest the implementation of a list of ships. This list could look similar to the list of buildings, with some exceptions.
1. Show number of built ships (including on expedition)
2. Show number of ships currently under construction
3. Show number of ships on expedition
4. Make it possible to jump to all ships, just like to the buildings, categorized by owned, in build, on expedition
5. As wl-zocker mentioned in the forum the name of the ship should be shown, if there is a final decision on the topic, see bug 963842
6. List each ship in one line with name or just a number, its status and the possibility to jump to that ship
Maybe it is possible to integrate this list into the building statistics, but I'd find it better to have a separate ship statistics window. Ships are not the same as buildings and the information needed for them is different.
As it is possible to have ships in different and unconnected oceans maybe the list could be grouped into oceans. Or at least an index of the ocean could be added to the list.
I'm not sure about productivity information (maybe the relation time in travel <-> total game time)
Related branches
- Notabilis: Approve
- GunChleoc: Needs Resubmitting
-
Diff: 2040 lines (+1087/-215)23 files modifieddata/tribes/scripting/help/controls.lua (+39/-12)
src/ai/defaultai.cc (+10/-6)
src/ai/defaultai.h (+1/-1)
src/game_io/game_player_info_packet.cc (+2/-2)
src/logic/map_objects/tribes/ship.cc (+39/-32)
src/logic/map_objects/tribes/ship.h (+9/-20)
src/logic/player.cc (+27/-3)
src/logic/player.h (+8/-1)
src/notifications/note_ids.h (+1/-2)
src/scripting/lua_game.cc (+7/-21)
src/ui_basic/table.cc (+12/-0)
src/ui_basic/table.h (+25/-3)
src/wui/CMakeLists.txt (+2/-0)
src/wui/game_statistics_menu.cc (+12/-1)
src/wui/interactive_gamebase.cc (+21/-18)
src/wui/interactive_gamebase.h (+2/-0)
src/wui/interactive_player.cc (+11/-0)
src/wui/seafaring_statistics_menu.cc (+580/-0)
src/wui/seafaring_statistics_menu.h (+159/-0)
src/wui/shipwindow.cc (+42/-33)
src/wui/shipwindow.h (+2/-1)
src/wui/watchwindow.cc (+20/-57)
src/wui/watchwindow.h (+56/-2)
Changed in widelands: | |
assignee: | nobody → fuchur (fuchur77) |
Changed in widelands: | |
milestone: | none → build20-rc1 |
Changed in widelands: | |
status: | Confirmed → In Progress |
Changed in widelands: | |
status: | In Progress → Fix Committed |
assignee: | GunChleoc (gunchleoc) → nobody |
Sounds good.
I'd suggest having a productivity % based on a slightly amended figure: travel time with non-empty cargo per period.
I'm not sure how you'd distinguish oceans programmatically, since they aren't likely to have names; instead, the ability to jump (and hopefully name ships) would have to do. However, adding a jump to the home port of that ship might work if needed.