RimWorld-CCL-Reborn / PlagueGun

The completed mod from the tutorial
MIT License
10 stars 4 forks source link

Duplicate values in XML and source code? #2

Open henrybzhang opened 4 years ago

henrybzhang commented 4 years ago

What is the point of these lines in RangedWeapon_PlagueGun.xml?

<AddHediffChance>0.05</AddHediffChance>
<HediffToAdd>Plague</HediffToAdd>
<thingClass>Plague.Projectile_PlagueBullet</thingClass>

Aren't these values later set in the C# source file YourLiking.cs?