Commit Graph

724 Commits (21822b3aa31f014fcda9f461ba68cb2116fe2726)

Author SHA1 Message Date
Myk Taylor 65357d292d
prevent the overlay from being moved out of position
when the screen size changes
2023-11-24 17:22:29 -08:00
Myk Taylor 8faefc50d8
only eat input when a search widget is visible 2023-11-22 18:28:19 -08:00
Myk Taylor 7fedff6111
search and sort for elevate to barony page 2023-11-22 18:04:07 -08:00
Myk Taylor ecd7849112
search associated building in tasks tab 2023-11-20 17:32:50 -08:00
Myk Taylor 981fef3160
only clean up actual data records 2023-11-20 16:13:47 -08:00
Myk Taylor 5617204480
handle exiting and reentering creature tabs
memory gets reallocated, and we need to keep up
2023-11-20 12:53:58 -08:00
Myk Taylor dce753c593
don't allow keyboard keys to bleed through
when multiple keys are hit at once
2023-11-20 09:43:43 -08:00
Myk Taylor 72bec1dfdb
choose mechanism improvements
sort by heat safety so mechanisms of the least appropriate heat safety
are used first, saving the magma-safe mechanisms for when they are
needed

filter out unreachable mechanisms

item_id -1 => item_id or -1
that is, we wanted to default to -1, not subtract 1 from the item_id
2023-11-19 23:38:58 -08:00
Black-Talon 743604b474
adjusted building plan filter reset hotkey to ctrl-d 'delete' due to ctrl-x conflicting with field entry clearing 2023-11-15 18:01:05 -07:00
Myk Taylor bf19b63020
remove uneeded copypasta
ref: #4019
2023-11-14 10:58:57 -08:00
Myk Taylor 2a52011492
label the mechanisms appropriately when linking a plate
only call it a lever when it's a lever
2023-11-14 09:28:57 -08:00
Myk f081bda853
Merge pull request #4019 from ToxicBananaParty/placesort
Add search to remaining Places pages
2023-11-13 22:16:29 -08:00
Ryan Dwyer 8869480a57 Fix stockpile double-format, add assigned unit to workshop search 2023-11-13 19:42:48 -08:00
Ryan Dwyer fdf99fd65b Add search to remaining Places pages 2023-11-13 19:22:12 -08:00
Black-Talon 2f15d258a7
changed buildingplan filterselection hotkey for reseting the filter to ctrl-x (from shift-x which conflicted with increasing the minimum quality) 2023-11-13 16:23:20 -07:00
Myk Taylor 52e0da5c33
don't leak widgets into unrelated screens 2023-11-12 00:47:48 -08:00
Ryan Dwyer de727d04d0 Better code reuse with info.lua 2023-11-10 13:56:14 -08:00
Ryan Dwyer 62ead4bbf1 Port auto-resize code from info.lua 2023-11-10 13:24:03 -08:00
Ryan Dwyer 8533f06efb Minor syntax fixes 2023-11-09 12:11:48 -08:00
Ryan Dwyer e6a6185627 Fix string concatenation syntax 2023-11-09 01:37:13 -08:00
Ryan Dwyer 5b8de86142 Implement suggested changes 2023-11-09 01:35:27 -08:00
Ryan Dwyer 78b7926d50 Make get_religion_string ifs more readable, add dwarfified profession string to get_profession_string 2023-11-09 01:34:47 -08:00
Ryan Dwyer 7516e6f268 Replace string comparison with df.is_instance 2023-11-08 17:44:40 -08:00
Ryan Dwyer 674bf94344 More code reuse with sort/locationselector 2023-11-08 17:36:31 -08:00
pre-commit-ci[bot] a21695ccc2 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-11-08 20:43:26 +00:00
Ryan Dwyer 217258b013 Better code reuse with locationselector.get_religion_string 2023-11-08 12:41:28 -08:00
Ryan Dwyer f3e96d206c Add search overlay to Locations page 2023-11-08 03:25:47 -08:00
Ryan Dwyer 924c780210 Replace slashes with spaces for multi-named zones 2023-11-08 00:30:58 -08:00
Ryan Dwyer e58553fd0c Replace get_location_type_from_language_name with static language_name_type mapping 2023-11-07 21:29:27 -08:00
Ryan Dwyer 14d441344f Rename 'get_typestring_from_language_name' to 'get_location_type_from_language_name' 2023-11-07 12:55:55 -08:00
Ryan Dwyer fc2819ec1a Add get_typestring_from_language_name 2023-11-07 12:52:04 -08:00
Ryan Dwyer 4798dc6560 Fix nested if order of operations 2023-11-07 02:30:06 -08:00
pre-commit-ci[bot] 8b625e30db [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-11-07 10:26:04 +00:00
Ryan Dwyer 2162341e7f Implement myk002's proposed changes 2023-11-07 02:24:30 -08:00
Ryan Dwyer 5df373c3c5
Merge branch 'develop' into placesort 2023-11-07 00:00:33 -08:00
pre-commit-ci[bot] b71e283b3e [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-11-07 07:54:35 +00:00
Ryan Dwyer 9953f81248 Add search to Zones page 2023-11-06 23:28:08 -08:00
Myk Taylor 4fb7694e6e
reset subset filters when the context is exited 2023-11-06 17:58:36 -08:00
Myk Taylor b22e57fe1f
allow 3d box select to start or end out of bounds 2023-11-06 16:20:22 -08:00
Myk Taylor 8361ef6981
military and burrow membership filters for burrow assignment 2023-11-06 08:52:48 -08:00
Myk d7caab9add
Merge branch 'develop' into myk_potential 2023-11-05 08:57:39 -08:00
Myk Taylor 2ce55efed7
add filter for unburrowed units 2023-11-05 03:20:36 -08:00
Myk Taylor 42298b4d2e
show how many work animals a unit has when assigning 2023-11-05 03:09:30 -08:00
Myk Taylor b5962feae9
normalize effectiveness and potential rating scales 2023-11-05 01:37:36 -07:00
Myk Taylor 4686dcec42
filter units by squad or burrow
on work animal assignment page
2023-11-05 01:26:14 -07:00
Myk Taylor 1c5deaff38
improve interface for single-tile stairs 2023-11-04 23:57:10 -07:00
Myk cfec7cef12
Merge pull request #3958 from myk002/myk_work_animal
[sort] support search and filter for work animal assignment
2023-11-04 19:37:48 -07:00
Myk Taylor 749ccc5182
filter out non-denominational temples if one is established 2023-11-04 19:06:03 -07:00
Myk Taylor e196ceb8f9
support search for work animal assignment 2023-11-04 18:59:20 -07:00
Myk Taylor f93bb60b3b
move the safety line down by one 2023-11-03 17:41:32 -07:00