Commit Graph

5528 Commits (44790936d99193f860ac3ea6f544142e416a411a)

Author SHA1 Message Date
Kelly Kinkade 44790936d9 tailor: reshuffled logic
this simplifies the ordering logic by checking available stock _after_ deciding if a item is needed, rather than _before_

the old logic was failing to check for available replacement stock in some cases, resulting in overordering
2023-11-17 16:34:51 -06:00
Kelly Kinkade 35cd415095 add cast to make gcc happy 2023-11-16 07:52:48 -06:00
Kelly Kinkade 6f64ee833e tailor: do not process non-clothing
also added a safety check
2023-11-16 07:48:42 -06: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 14e05f4970
revert restriction on ramp tops
now that tree branches are not included, this is not an issue
also, it was preventing flood fill from progressing up ramps
2023-11-14 12:56:19 -08:00
Myk Taylor bf19b63020
remove uneeded copypasta
ref: #4019
2023-11-14 10:58:57 -08:00
Myk Taylor 3116287f08
don't expand through tree branches unless they're pathable 2023-11-14 10:42:05 -08:00
Myk Taylor 8dccfae9bc
don't extend too far beyond ramps
and don't expand across mushroom tops -- they're not pathable
2023-11-14 10:33:35 -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 233deafd4e
ignore trees in burrow flood tile comparisons 2023-11-12 12:37:13 -08:00
Myk ce3de1785f
Merge pull request #4014 from myk002/myk_burrow_flood
[burrow] allow 3d flood fill in hidden tiles
2023-11-12 02:25:33 -08: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
Myk Taylor 186c5a1bb8
allow 3d flood fill in hidden tiles 2023-11-09 15:51:44 -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
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