RimWorld

RimWorld

Remove Rocket Launchers
Patching for Extended Storage Extended
Regarding Extended Storage Extended here. My mod allows storage of multiple weapons in two cells and uses the building filter lists (akin to shelves) to handle small / large / massive weapons separately. Of course that's in the XML defs so you'll need to remove the following nodes:

<li>Gun_TripleRocket</li> <li>Gun_DoomsdayRocket</li>

from both of these paths:

Defs/ThingDef[defName="Storage_MassiveWeaponsRack"]/building/defaultStorageSettings/filter/thingDefs/ Defs/ThingDef[defName="Storage_LargeWeaponsRack"]/building/fixedStorageSettings/filter/disallowedThingDefs/

as well to fully purge those defs and prevent startup errors.

I don't expect any defname or weapon filter changes to ESE anytime soon (or ever honestly), so conditionally patching against them would be fine by only considering those that past the PatchOperationTest:

Defs/ThingDef[@ParentName="ExtendedStorageExtended_FurnitureBase"]

HTH
Last edited by TerraggosaurusRex; 14 Apr, 2019 @ 8:07am