Commit Graph

5555 Commits (65b0b307ff7ac8c343012084e82cc6ad943b65ba)

Author SHA1 Message Date
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
Robob27 248a5922ba Remove old trackstop 2023-11-06 23:27:35 -05:00
Myk Taylor 4fb7694e6e
reset subset filters when the context is exited 2023-11-06 17:58:36 -08:00
Myk b0b60265b4
Merge pull request #3825 from lethosor/css-allow-no-perturb
check-structures-sanity: Allow running without MALLOC_PERTURB_
2023-11-06 17:32:34 -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 f986029f3b
Merge pull request #3959 from myk002/myk_location
[sort] filter out non-denominational temples if one is established
2023-11-04 19:37:31 -07:00
Myk Taylor f5d0c5b291
unregister event listeners on disable 2023-11-04 19:10:19 -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
Myk Taylor 7873ff8b5a
docs and branding 2023-11-03 16:41:58 -07:00
Myk Taylor f0badc63e4
implement mechanism selection for lever linking 2023-11-03 16:33:08 -07:00
Myk Taylor 74464f3b61
mock out potential UI 2023-11-03 13:39:26 -07:00
Myk Taylor a19545dcec
don't unregister handlers on world unload
we still need them for the next world!
2023-11-03 11:54:08 -07:00
Myk Taylor 4d9e6d53f5
document autochop properties 2023-11-03 11:33:43 -07:00
Myk Taylor 322d4fb51f
allow burrows to expand into dug channels 2023-11-03 09:21:14 -07:00
Myk Taylor 604eb47f87
implement burrow name matching with ignoring plus 2023-11-02 13:55:08 -07:00
Myk ff052ae41c
Merge pull request #3948 from myk002/myk_burrow_autogrow
[burrow] reintroduce autogrow
2023-11-02 12:59:26 -07:00
Myk Taylor 940f7de0d2
implement autogrow and update docs
also fix bad state tracking in EventManager for the JobStarted event
2023-11-02 12:44:37 -07:00
Myk Taylor a6ce29d209
remove old code for search plugin (now part of sort) 2023-11-01 23:56:56 -07:00
Myk Taylor 9db479bf32
include ramp tops in flood fill 2023-11-01 12:54:26 -07:00
Myk Taylor aa87d76380
implement CLI functions 2023-10-31 18:54:38 -07:00
Myk Taylor c94aa8d28c
prep for more tiles actions 2023-10-31 16:56:45 -07:00
Myk Taylor 8ca03982d5
implement clear tiles 2023-10-30 16:48:26 -07:00
Myk Taylor c98da947b8
implement flood fill 2023-10-30 16:27:57 -07:00
Myk Taylor f5f9f76ee1
implement box select from the UI 2023-10-30 16:27:57 -07:00
Myk Taylor cf1e4e69ca
basic commandline processing
and skeleton lua interface
2023-10-30 16:27:57 -07:00
Myk Taylor 3523975194
re-add burrow to the build 2023-10-30 16:27:57 -07:00
Myk Taylor ad998001b6
implement skeleton for UI handling 2023-10-30 16:27:57 -07:00
Myk 73dbd6de65
Merge pull request #3923 from myk002/myk_rename_burrow
[burrows] rename burrows plugin to burrow to match the command name
2023-10-30 16:26:04 -07:00
Myk Taylor 19480f41ca
add api for getting the walkability group of a tile 2023-10-29 16:36:02 -07:00
Myk Taylor 5d98282623
also rename lua file 2023-10-27 04:23:02 -07:00
Myk Taylor 7ff30f7c9e
rename burrows plugin to burrow to match the command name 2023-10-27 04:15:59 -07:00
Myk Taylor 435f859000
reinstate embark screen estimates 2023-10-27 03:06:16 -07:00
Myk Taylor 966762c198
unify unit search key logic
so all pages have the same search capabilities
2023-10-26 19:24:01 -07:00
Myk ea28f599ed
Merge pull request #3917 from myk002/myk_stockpiles_buttons
[stockpiles] hide help and configure buttons when panel is minimized
2023-10-26 19:16:50 -07:00
Myk Taylor 369ac7821c
display how many items are available on the planner panel
just like we display how many you'd need to make if you don't have
enough
2023-10-26 09:19:09 -07:00
Myk Taylor 205d14235d
hide help and configure buttons when panel is minimized 2023-10-26 08:55:46 -07:00
Myk Taylor 29d39938f9
default the location filter to off
to preserve default vanilla behavior
2023-10-16 23:40:07 -07:00
Myk 06944ee0bd
Merge pull request #3893 from myk002/myk_tailor
[tailor] reuse existing orders if possible
2023-10-16 09:43:51 -07:00
Myk Taylor a651f6461b
add standard HelpButton and ConfigureButton classes
and use them across the overlays that need them
2023-10-16 03:27:08 -07:00
Myk Taylor 2c626213d8
add overlay for collapsing all categories on stocks screen 2023-10-16 01:55:55 -07:00
Myk Taylor b554f7472e
add stocks plugin (but comment out contents) 2023-10-16 01:55:38 -07:00
Myk Taylor 29ef626889
reuse existing orders if possible 2023-10-16 00:43:58 -07:00
Myk Taylor 287ed440ce
show how many items you need to make when planning 2023-10-15 23:20:31 -07:00
Myk Taylor 45d585cabd
refresh the overlay state when toggling minimize
since the items may have changed
2023-10-15 20:12:45 -07:00
Myk Taylor f50c137f32
we can no longer build with ash, coal, or soap 2023-10-15 20:00:14 -07:00
Myk Taylor 3ed16306da
mercenaries aren't appointed officials 2023-10-15 15:21:07 -07:00
Myk Taylor 682e9d3a86
filter cages by whether they are occupied 2023-10-15 14:03:31 -07:00
Myk Taylor a04623e4fb
add search and filter for slab engraving list 2023-10-15 13:26:25 -07:00
Myk Taylor 042f330eec
add filter for established location types 2023-10-15 00:14:12 -07:00
Myk Taylor cd935dcdcb
properly initialize job id when linking into world 2023-10-13 23:30:09 -07:00
Myk Taylor 0323055e0d
better panel alignment on small screen sizes
for worker assignment screen
2023-10-13 14:48:44 -07:00
Myk Taylor d739d9c1ef
add search support for noble candidates 2023-10-13 14:33:22 -07:00
Myk Taylor ee78f4fbdf
support searching for spheres on the religion selector 2023-10-13 12:37:11 -07:00
Myk Taylor 448dd5fa19
clean up artifact search code 2023-10-12 11:33:22 -07:00
Myk Taylor f14f55a520
add missing storage of visible vec length 2023-10-12 01:21:23 -07:00
Myk Taylor 60818e2194
support search on the world artifacts screen 2023-10-10 16:41:02 -07:00
Myk Taylor e41017a26b
generalize burrow code to other unit assignment screens 2023-10-10 06:03:06 -07:00
Myk Taylor 09e3ed427a
add search functionality for burrows assignment screen 2023-10-10 05:03:59 -07:00
Myk Taylor f282efd4d4
update docs 2023-10-10 04:06:00 -07:00
Myk Taylor 9acf81d3a0
port info widgets to unified superclass 2023-10-10 03:57:03 -07:00
Myk Taylor a085e5ef28
add support for location selector
that is, guildhalls and temples
also start refactoring code for better reuse
2023-10-10 02:33:47 -07:00
Myk 0b9103b10b
Merge pull request #3860 from myk002/myk_zone_dungeon
[zone] dungeon cages/restraints aren't assignable
2023-10-09 18:00:50 -07:00
Myk Taylor 640c77dc48
dungeon cages/retraints aren't assignable 2023-10-09 17:31:50 -07:00
Myk Taylor 3ee059317f
add help button to squad panel 2023-10-09 03:45:53 -07:00
Myk Taylor bd1381bbf3
clean up whitespace 2023-10-09 02:37:32 -07:00
Myk Taylor 98b44ea8f0
allow right click exit when search is focused
but screen isn't a search-enabled screen
2023-10-09 02:32:26 -07:00
Myk Taylor 9f9d8ff74b
implement risky visitor detection, refine algorithm 2023-10-09 02:25:45 -07:00
Myk Taylor a575727c09
add support for searching jobs (tasks) 2023-10-09 01:44:21 -07:00
Myk Taylor 06faeb669b
add support for work details and interrogation 2023-10-09 01:10:32 -07:00
Myk Taylor 060becec7c
implement search for conviction screen 2023-10-08 16:28:02 -07:00
Myk Taylor c1531ae646
prototype justice overlay 2023-10-08 15:49:11 -07:00
Myk Taylor 0ad61ccf26
rename file to reflect the more general usage 2023-10-08 13:44:09 -07:00
Myk Taylor 420e0d0952
add search support for info objects tabs 2023-10-08 11:30:57 -07:00
Myk Taylor a063c0cf41
only recheck orders that have conditions 2023-10-08 09:47:40 -07:00
Myk Taylor ab386a0ed2
add docs for creatures search overlay 2023-10-07 22:50:31 -07:00
Myk 8886cd7e79
Allow searching for job 2023-10-07 20:51:11 -07:00