Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <Patch>
- <Operation Class="PatchOperationSequence">
- <success>Always</success>
- <operations>
- <li Class = "PatchOperationConditional">
- <xpath>/Defs/ThingDef/ingestible[preferability = "MealAwful" or preferability = "MealSimple" or preferability = "MealFine" or preferability = "MealLavish"]/chairSearchRadius</xpath>
- <nomatch Class = "PatchOperationAdd">
- <xpath>/Defs/ThingDef/ingestible[preferability = "MealAwful" or preferability = "MealSimple" or preferability = "MealFine" or preferability = "MealLavish"]</xpath>
- <value>
- <chairSearchRadius>999</chairSearchRadius>
- </value>
- </nomatch>
- <match Class = "PatchOperationReplace">
- <xpath>/Defs/ThingDef/ingestible[preferability = "MealAwful" or preferability = "MealSimple" or preferability = "MealFine" or preferability = "MealLavish"]/chairSearchRadius</xpath>
- <value>
- <chairSearchRadius>999</chairSearchRadius>
- </value>
- </match>
- </li>
- </operations>
- </Operation>
- </Patch>
Advertisement
Add Comment
Please, Sign In to add comment