Allow users to define their own economy default settings
Bug #1827696 reported by
GunChleoc
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Won't Fix
|
Wishlist
|
Unassigned |
Bug Description
Introduce economy profiles that the player can define to set the default quantity of wares on game start.
With all bells and whistles, this would allow saving as many profiles as the player wants, coded by tribe. The player can then define their favorite setting too. There would also be a "factory reset" for the tribe's default target quantity as defined in the Lua files.
Related branches
lp:~widelands-dev/widelands/tribe-economy-settings
Rejected
for merging
into
lp:widelands
- Klaus Halfmann: Disapprove (short review)
- Benedikt Straub: Disapprove
-
Diff: 863 lines (+108/-108)58 files modifieddata/tribes/wares/ax/init.lua (+1/-1)
data/tribes/wares/ax_battle/init.lua (+1/-1)
data/tribes/wares/ax_broad/init.lua (+1/-1)
data/tribes/wares/ax_bronze/init.lua (+1/-1)
data/tribes/wares/ax_sharp/init.lua (+1/-1)
data/tribes/wares/ax_warriors/init.lua (+1/-1)
data/tribes/wares/beer/init.lua (+3/-3)
data/tribes/wares/beer_strong/init.lua (+1/-1)
data/tribes/wares/blackroot_flour/init.lua (+1/-1)
data/tribes/wares/bread_barbarians/init.lua (+1/-1)
data/tribes/wares/bread_paddle/init.lua (+3/-3)
data/tribes/wares/buckets/init.lua (+1/-1)
data/tribes/wares/coal/init.lua (+2/-2)
data/tribes/wares/cornmeal/init.lua (+1/-1)
data/tribes/wares/diamond/init.lua (+1/-1)
data/tribes/wares/felling_ax/init.lua (+5/-5)
data/tribes/wares/fire_tongs/init.lua (+1/-1)
data/tribes/wares/fishing_rod/init.lua (+2/-2)
data/tribes/wares/gold/init.lua (+4/-4)
data/tribes/wares/gold_ore/init.lua (+4/-4)
data/tribes/wares/gold_thread/init.lua (+1/-1)
data/tribes/wares/granite/init.lua (+4/-4)
data/tribes/wares/grout/init.lua (+1/-1)
data/tribes/wares/hammer/init.lua (+7/-7)
data/tribes/wares/helmet/init.lua (+2/-2)
data/tribes/wares/helmet_mask/init.lua (+1/-1)
data/tribes/wares/helmet_warhelm/init.lua (+1/-1)
data/tribes/wares/hook_pole/init.lua (+1/-1)
data/tribes/wares/hunting_spear/init.lua (+3/-3)
data/tribes/wares/iron/init.lua (+4/-4)
data/tribes/wares/iron_ore/init.lua (+4/-4)
data/tribes/wares/kitchen_tools/init.lua (+3/-3)
data/tribes/wares/meal/init.lua (+3/-3)
data/tribes/wares/milking_tongs/init.lua (+1/-1)
data/tribes/wares/pick/init.lua (+4/-4)
data/tribes/wares/planks/init.lua (+2/-2)
data/tribes/wares/quartz/init.lua (+1/-1)
data/tribes/wares/saw/init.lua (+2/-2)
data/tribes/wares/scythe/init.lua (+4/-4)
data/tribes/wares/shield_advanced/init.lua (+1/-1)
data/tribes/wares/shield_steel/init.lua (+1/-1)
data/tribes/wares/shovel/init.lua (+4/-4)
data/tribes/wares/smoked_fish/init.lua (+1/-1)
data/tribes/wares/smoked_meat/init.lua (+1/-1)
data/tribes/wares/snack/init.lua (+2/-2)
data/tribes/wares/spider_silk/init.lua (+1/-1)
data/tribes/wares/spidercloth/init.lua (+1/-1)
data/tribes/wares/tabard/init.lua (+1/-1)
data/tribes/wares/tabard_golden/init.lua (+1/-1)
data/tribes/wares/trident_double/init.lua (+1/-1)
data/tribes/wares/trident_heavy_double/init.lua (+1/-1)
data/tribes/wares/trident_light/init.lua (+1/-1)
data/tribes/wares/trident_long/init.lua (+1/-1)
data/tribes/wares/trident_steel/init.lua (+1/-1)
data/tribes/workers/atlanteans/horse/init.lua (+1/-1)
data/tribes/workers/barbarians/ox/init.lua (+1/-1)
data/tribes/workers/empire/donkey/init.lua (+1/-1)
data/tribes/workers/frisians/reindeer/init.lua (+1/-1)
lp:~widelands-dev/widelands/economy-target-profiles
- GunChleoc: Approve
-
Diff: 104 lines (+21/-11)4 files modifiedsrc/economy/economy.cc (+2/-2)
src/economy/economy.h (+9/-5)
src/wui/economy_options_window.cc (+3/-3)
src/wui/fieldaction.cc (+7/-1)
Changed in widelands: | |
assignee: | nobody → Benedikt Straub (nordfriese) |
milestone: | none → build21-rc1 |
status: | Confirmed → In Progress |
Changed in widelands: | |
assignee: | Benedikt Straub (nordfriese) → nobody |
status: | In Progress → Fix Committed |
To post a comment you must log in.
Two quick questions:
– Any suggestions how to improve the user interface? (screenshot attached)
– The dropdown on the worker panel behaves as it should, the one on the ware panel refuses to open when clicking on it. Which peculiarity of dropdowns am I overlooking?