RimWorld

RimWorld

Camping Tent
Patch2
I went ahead and made a patch to add tents to the new scenarios for Biotech and Anomaly. Please feel free to add this to the mod:


FOR 1.4 VERSION


<?xml version="1.0" encoding="utf-8" ?>
<Patch>
<Operation Class="PatchOperationSequence">
<operations>

<!-- BioTech -->
<li MayRequire="ludeon.rimworld.biotech" Class="PatchOperationAdd">
<success>Always</success>
<xpath>/Defs/ScenarioDef[defName="Mechanitor"]/scenario/parts</xpath>
<value>
<li Class="ScenPart_StartingThing_Defined">
<def>StartingThing_Defined</def>
<thingDef>FoldingTent</thingDef>
<stuff>Cloth</stuff>
<count>1</count>
</li>
</value>
</li>

<li MayRequire="ludeon.rimworld.biotech" Class="PatchOperationAdd">
<success>Always</success>
<xpath>/Defs/ScenarioDef[defName="Sanguophage"]/scenario/parts</xpath>
<value>
<li Class="ScenPart_StartingThing_Defined">
<def>StartingThing_Defined</def>
<thingDef>VikingTent</thingDef>
<stuff>Cloth</stuff>
<count>1</count>
</li>
<li Class="ScenPart_StartingThing_Defined">
<def>StartingThing_Defined</def>
<thingDef>Tent</thingDef>
<stuff>Cloth</stuff>
<count>1</count>
</li>
</value>
</li>

</operations>
</Operation>
</Patch>


FOR 1.5 VERSION

<?xml version="1.0" encoding="utf-8" ?>
<Patch>
<Operation Class="PatchOperationSequence">
<operations>

<!-- BioTech -->
<li MayRequire="ludeon.rimworld.biotech" Class="PatchOperationAdd">
<success>Always</success>
<xpath>/Defs/ScenarioDef[defName="Mechanitor"]/scenario/parts</xpath>
<value>
<li Class="ScenPart_StartingThing_Defined">
<def>StartingThing_Defined</def>
<thingDef>FoldingTent</thingDef>
<stuff>Cloth</stuff>
<count>1</count>
</li>
</value>
</li>

<li MayRequire="ludeon.rimworld.biotech" Class="PatchOperationAdd">
<success>Always</success>
<xpath>/Defs/ScenarioDef[defName="Sanguophage"]/scenario/parts</xpath>
<value>
<li Class="ScenPart_StartingThing_Defined">
<def>StartingThing_Defined</def>
<thingDef>VikingTent</thingDef>
<stuff>Cloth</stuff>
<count>1</count>
</li>
<li Class="ScenPart_StartingThing_Defined">
<def>StartingThing_Defined</def>
<thingDef>Tent</thingDef>
<stuff>Cloth</stuff>
<count>1</count>
</li>
</value>
</li>

<!-- Anomaly -->
<li MayRequire="ludeon.rimworld.anomaly" Class="PatchOperationAdd">
<success>Always</success>
<xpath>/Defs/ScenarioDef[defName="TheAnomaly"]/scenario/parts</xpath>
<value>
<li Class="ScenPart_StartingThing_Defined">
<def>StartingThing_Defined</def>
<thingDef>FoldingTent</thingDef>
<stuff>Cloth</stuff>
<count>3</count>
</li>
</value>
</li>

</operations>
</Operation>
</Patch>
< >
Showing 1-2 of 2 comments
@AOBA - Alternatively, I can send you a link for the patched version. I've added you
Nice to see this has been implemented. I've been updating my mods, and just verified my files after downgrading back to 1.5 - forgetting that it would also verify all mod files. Nice to see I didn't have to redo the patch XD
< >
Showing 1-2 of 2 comments
Per page: 1530 50