Editor: Improve texts for resources tool
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
This is maybe related to Bug 1649706 (setting water on the coast appears to remove fish), but i think it is different:
1. Open a map
2. Put some mountain area in it
3. Open resources menu
4. Choose iron
5. Set tool size '2'
6. Click 4 times on the same spot of mountains so we have resource amount of 4 iron
7. Chose coal resource
8. Set 'Set value' to 4 (the same value as we have set for iron on the map)
9. Press CTRL and click on the same spot where you have set iron
Result: No change of the resources, iron still remains.
This happens at least if: amount of resources on map == amount of 'Set Value'
But i am not sure, because when i encountered this bug the first time, i was sure the values were different.
Same appears with resources fish and water, where fish is directly set on the coast line.
Related branches
- GunChleoc: Approve
- kaputtnik (community): Needs Fixing
-
Diff: 801 lines (+114/-64)37 files modifieddata/campaigns/tutorial01_basic_control.wmf/scripting/texts.lua (+1/-1)
data/campaigns/tutorial04_economy.wmf/scripting/texts.lua (+3/-3)
src/editor/editorinteractive.cc (+7/-7)
src/editor/ui_menus/main_menu_load_map.cc (+1/-1)
src/editor/ui_menus/main_menu_map_options.cc (+1/-1)
src/editor/ui_menus/main_menu_random_map.cc (+1/-1)
src/editor/ui_menus/main_menu_save_map.cc (+1/-1)
src/editor/ui_menus/tool_change_height_options_menu.cc (+2/-2)
src/editor/ui_menus/tool_change_resources_options_menu.cc (+7/-7)
src/editor/ui_menus/tool_noise_height_options_menu.cc (+5/-5)
src/logic/replay_game_controller.cc (+1/-1)
src/ui_basic/button.h (+6/-0)
src/ui_basic/checkbox.h (+5/-0)
src/ui_basic/dropdown.h (+4/-0)
src/ui_basic/editbox.h (+2/-0)
src/ui_basic/listselect.h (+6/-0)
src/ui_basic/messagebox.h (+2/-0)
src/ui_basic/multilineeditbox.h (+2/-0)
src/ui_basic/radiobutton.h (+3/-0)
src/ui_basic/slider.h (+3/-0)
src/ui_basic/spinbox.h (+3/-0)
src/ui_basic/table.h (+7/-2)
src/ui_basic/tabpanel.h (+11/-3)
src/ui_basic/window.h (+1/-0)
src/ui_fsmenu/internet_lobby.cc (+1/-1)
src/ui_fsmenu/launch_mpg.cc (+1/-1)
src/ui_fsmenu/options.cc (+4/-4)
src/wlapplication.cc (+1/-1)
src/wui/building_statistics_menu.cc (+3/-3)
src/wui/game_options_sound_menu.cc (+4/-4)
src/wui/game_statistics_menu.cc (+3/-3)
src/wui/interactive_player.cc (+3/-3)
src/wui/interactive_spectator.cc (+4/-4)
src/wui/load_or_save_game.cc (+1/-1)
src/wui/shipwindow.cc (+1/-1)
src/wui/soldierlist.cc (+2/-2)
src/wui/ware_statistics_menu.cc (+1/-1)
description: | updated |
description: | updated |
Changed in widelands: | |
status: | Confirmed → In Progress |
The bug cant be reproduced all the time, or i didn't used the settings which causes it.