dwarfcorp
dwarfcorp copied to clipboard
Redesign: Selection tool
To recap: What started as a design proposal to make harvest, pickup, and chop all one single feature eventually exposed previous - but as of yet unactualized - design goals to make a fancy context specific selection tool.
In the process we've agreed to:
- Do away with harvest.
- Redesign away from pick/chop to a broader context specific selection tool.
Discussion thus far:
#222 relevant.
This is done! Needs some polish and some more commands. So far you can: Attack, Catch, Gather, Harvest, Cancel Task, Fire Dwarf, Promote Dwarf, Move Object, Destroy Object
Starting to bug this. Expect I'll find more, and later I'll suggest some polish for the UI, unless you've got your own ideas there?
First issue found: Actions stay on screen when nothing is selected. Causes some overlapping UI, and the UI won't go away. Objects will also become unmoveable. Seems to mainly be caused by selecting many different kinds of entities.
(Rough repro. Probably multiple bugs)
-
Start a game. Make and or find an area that has a natural enemy (like a demon, scorpion, etc), natural resources (trees,etc), and dwarves.
-
Select all of these at once.
-
Perform one of the actions given.
-
Cancel out of as much of the UI as possible.
-
Observe that the UI remains on screen and sometimes overlaps.
Also #785
236e5063
As for initial design feedback:
1.I think we should add the cancel tool to the selector, if possible.
-
We should take the right click option and put it on left click instead. If the player left clicks a single entity, then they get the option menu. If they click and drag over more than one, then they get the feature options displayed at the bottom.
-
Add more features for selecting dwarves: Follow/unfollow, emp, cancel task, empty backpack, etc...
-
Selecting crafting objects: Players should be able to select certain crafting objects. which should pull up the appropriate bottom menu. For instance:
- Single left click Cutting Board
- Displays options: Destroy, move, cook
- Select cook
- The usual bottom tool menu displays the options menu for cooking.
This should work for anvils, forges, stoves, barrels, and cutting boards.
Fixed the multiple-menus opening thing.
Cancel tool is now in the selector. Cancel task and empty backpack are now in the selector.
Working pretty nicely so far. Feel like players should be able to cancel things like dig, zones, and other task by selecting the designated area. That outside the realm of possibility or no?
We should add in an auto-gather of resources dropped after a canceled crafting task.
- Selecting crafting objects: Players should be able to select certain crafting objects. which should pull up the appropriate bottom menu.
This would be super powerful to add.
Regressing. What's your next steps for this?
Regressing. Any plans to continue dev here or no? @mklingen