RimWorld

RimWorld

Custom Alerts
CrazyBlot Jul 28, 2024 @ 5:50am
Check weapon UNWEARED (in "cargo")
Hi! I am not understand how to make search that looking for weapon in pawn's inventory but exclude wearied (in slot) items. For example search for all not-equipped weapon inside pawn.
Need it for check after non-trivial items evacuations in Ancient Complex or after looting valuables things for reprocess.
Last edited by CrazyBlot; Jul 28, 2024 @ 10:46am
< >
Showing 1-3 of 3 comments
Uuugggg  [developer] Aug 6, 2024 @ 11:27am 
Hello yes. The filter for pawn's gear is now expanded to search inventory specifically (Once Steam decides to update TDFindLib for you)

Personal Details => Gear , change "equipped or worn" to "inventory"

Note that The other "Inventory" filter is general and would find anything, in any container of any sort.
CrazyBlot Aug 6, 2024 @ 11:57pm 
Cool! Thank will try it.
CrazyBlot Aug 7, 2024 @ 12:19am 
Something like that very helpful when using both Pick Up And Houl and Simple Side Arm in order to unload extra weapon stuck in 'cargo'.
PS: I wrote suggestion to authors to add option that dont allow to hold weapons in `cargo` if you are `not in a rout` with that weapon.
Search example:
<TD_Find_Lib.QuerySearch> <saveable Class="TD_Find_Lib.QuerySearch"> <name>Double R-Weapon!</name> <listType>Everyone</listType> <mapType>AllMaps</mapType> <searchMaps /> <queries> <li Class="TD_Find_Lib.ThingQueryBasicProperty"> <def>Query_PawnProperty</def> </li> <li Class="TD_Find_Lib.ThingQueryEquipment"> <def>Query_Equipment</def> <queries> <li Class="TD_Find_Lib.ThingQueryItemCategory"> <def>Query_ItemCategory</def> <refName>WeaponsRanged</refName> </li> </queries> <matchAllQueries>False</matchAllQueries> <hasType>Any</hasType> </li> <li Class="TD_Find_Lib.ThingQueryEquipment"> <def>Query_Equipment</def> <queries> <li Class="TD_Find_Lib.ThingQueryItemCategory"> <def>Query_ItemCategory</def> <refName>WeaponsRanged</refName> </li> <li Class="TD_Find_Lib.ThingQueryThingDef"> <def>Query_Def</def> <include>False</include> <refName>Weapon_GrenadeEMP</refName> </li> </queries> <matchAllQueries>True</matchAllQueries> <filterType>Unused</filterType> <hasType>Any</hasType> </li> </queries> <matchAllQueries>True</matchAllQueries> </saveable> </TD_Find_Lib.QuerySearch>
Last edited by CrazyBlot; Aug 7, 2024 @ 12:22am
< >
Showing 1-3 of 3 comments
Per page: 1530 50