While more complex, many simplified train, vehicle, and infrastructure mods are just XML metadata + sprites.

: Access to infinite coins, gems, and exclusive points in games like FC Mobile without in-game purchases.

<ThingDef ParentName="BaseWeapon"> <defName>Gun_SniperRifle</defName> <label>sniper rifle</label> <description>A long-barreled precision rifle.</description> <statBases> <DamageMultiplier>1.0</DamageMultiplier> <RangedWeapon_Cooldown>2.1</RangedWeapon_Cooldown> <AccuracyTouch>0.80</AccuracyTouch> <AccuracyShort>0.85</AccuracyShort> <AccuracyMedium>0.75</AccuracyMedium> </statBases> </ThingDef>

Search for <ThingDef> containing the AssaultRifle .

Using XML’s <patch> or <Operation> logic to surgically change a specific value without copying the entire file. This ensures compatibility with other mods. XCOM 2 is famous for this, using Updating operations to find and replace values.

The entire RimWorld modding ecosystem (over 20,000 mods on Steam Workshop) relies heavily on XML Defs. Popular overhauls like Vanilla Expanded series, Combat Extended , and Save Our Ship 2 started with XML edits before adding C# code.