NQualityOfLife.Weapons.GunGraphic - Niilo007/RimWorld-NQoL GitHub Wiki
<ThingDef>
<graphicData>
<graphicClass>NQualityOfLife.Weapons.GunGraphic</graphicClass>
</graphicData>
</ThingDef>
The below error is given if the bipodGraphic
is given, but the weapon def doesn't have the NQualityOfLife.Weapons.GunGraphic
graphicClass
.
Config error in NMS_Gun_MG34_B: 'NQualityOfLife.Weapons.Comps.WeaponComp_Properties' - 'NMS_Gun_MG34_B' - 'bipodGraphic' requires the weapon to use: 'NQualityOfLife.Weapons.GunGraphic' currently has: 'Verse.Graphic_Single'
<ThingDef Name="Base_NMS_Gun" ParentName="BaseHumanMakeableGun" Abstract="true">
<graphicData>
<graphicClass>NQualityOfLife.Weapons.GunGraphic</graphicClass>
</graphicData>
<soundInteract>Interact_Rifle</soundInteract>
<weaponClasses>
<li>Ranged</li>
</weaponClasses>
<tradeTags>
<li>WeaponRanged</li>
</tradeTags>
<weaponTags>
<li>Gun</li>
</weaponTags>
</ThingDef>