RimWorld

RimWorld

Auto Caravan Equip (Autoseller Extension)
Supes  [developer] Oct 23, 2018 @ 10:22am
Presets
presets are made on a per map basis, and come in three forms, Select, Contains and Prefix. All require a description/name.

Selected
in selected, you specifically select what rules are and what aren't part of the preset by name, if further rules are created after the preset is made, you can set whether or not those rules would be set as Active or Inactive when activating the preset.

Contains
this searches for a specific word or phrase within the rule description.

Prefix
Prefixes are set in a rule by putting a ":" in the rule description, anything before the colon is classed as a prefix list, you can have multiple prefixes in a rule by seperating prefixes by a comma "," or semicolon ";". a preset can make any rule that has a specific prefix to active, those that don't are set to inactive.

to demonstrate

Rules
--
Blue:Sandwiches
Red:Bed Rolls
Blue,Red:Guns

so checking for a prefix of blue, you'd activate Sandwiches and Guns, Bed Rolls would be deactivated.