RimWorld

RimWorld

Expanded Materials Add-on - Ammunition Module
N00B 5 Apr, 2021 @ 10:10pm
Vanilla Factions Expanded - Mechanoids Turret ammo patch
https://steamhost.cn/steamcommunity_com/workshop/filedetails/?id=2329011599

Changes:

Charge blaster and charge lance use pulse ammo.
Inferno cannon uses chemfuel.

<?xml version="1.0" encoding="utf-8" ?> <Patch> <!-- TURRETS USE AMMUNITION --> <Operation Class="PatchOperationFindMod"> <mods> <li>Vanilla Factions Expanded - Mechanoids</li> </mods> <match Class="PatchOperationSequence"> <success>Always</success> <operations> <li Class="PatchOperationReplace"> <xpath>/Defs/ThingDef[defName = "VFE_Turret_AutoChargeBlaster"]/comps/li/fuelFilter</xpath> <value> <fuelFilter><thingDefs><li>VMEu_ChargueAmmo</li></thingDefs></fuelFilter> </value> </li> <!-- Cost efficiency --> <li Class="PatchOperationReplace"> <xpath>/Defs/ThingDef[defName = "VFE_Turret_AutoChargeBlaster"]/comps/li/fuelMultiplier</xpath> <value> <fuelMultiplier>0.75</fuelMultiplier> </value> </li> <li Class="PatchOperationReplace"> <xpath>/Defs/ThingDef[defName = "VFE_Turret_AutoChargeLance"]/comps/li/fuelFilter</xpath> <value> <fuelFilter><thingDefs><li>VMEu_ChargueAmmo</li></thingDefs></fuelFilter> </value> </li> <!-- Cost efficiency --> <li Class="PatchOperationReplace"> <xpath>/Defs/ThingDef[defName = "VFE_Turret_AutoChargeLance"]/comps/li/fuelMultiplier</xpath> <value> <fuelMultiplier>0.20</fuelMultiplier> </value> </li> <li Class="PatchOperationReplace"> <xpath>/Defs/ThingDef[defName = "VFE_Turret_AutoInfernoCannon"]/comps/li/fuelFilter</xpath> <value> <fuelFilter><thingDefs><li>Chemfuel</li></thingDefs></fuelFilter> </value> </li> <!-- Cost efficiency --> <li Class="PatchOperationReplace"> <xpath>/Defs/ThingDef[defName = "VFE_Turret_AutoInfernoCannon"]/comps/li/fuelMultiplier</xpath> <value> <fuelMultiplier>0.1</fuelMultiplier> </value> </li> </operations> </match> </Operation> </Patch>
Last edited by N00B; 5 Apr, 2021 @ 10:12pm
< >
Showing 1-1 of 1 comments
Argón  [developer] 15 Apr, 2021 @ 10:30pm 
I'm so sorry I didn't see this before, I guess steam didn't notify me about the creation of a discussion... thanks for doing this patch, I'll implement it in the mod
< >
Showing 1-1 of 1 comments
Per page: 1530 50