NQualityOfLife.Weapons.Verb_Shoot - Niilo007/RimWorld-NQoL GitHub Wiki

Verb_Shoot

Related:


XML

<verbs>
    <li>
        <verbClass>NQualityOfLife.Weapons.Verb_Shoot</verbClass>
        <!-- Same as Verb_Shoot -->
    </li>
</verbs>

Usage

Weapons that have the weapon comp will convert from Verb_Shoot to NQualityOfLife.Weapons.Verb_Shoot automatically.


Errors


Examples

Used In Example:

<verbs>
    <li>
        <verbClass>NQualityOfLife.Weapons.Verb_Shoot</verbClass>
        <hasStandardCommand>true</hasStandardCommand>
        <defaultProjectile>Bullet_NMS_Gun_M1_Garand</defaultProjectile>
        <warmupTime>0.85</warmupTime>
        <range>34.9</range>
        <soundCast>GunShot_NMS_Gun_M1_Garand</soundCast>
        <soundCastTail>GunTail_Medium</soundCastTail>
        <muzzleFlashScale>9</muzzleFlashScale>
    </li>
</verbs>
<comps Inherit="True" MayRequireAnyOf="Niilo007.NiilosQoL,Niilo007.NiilosQoL.Dev">
    <li Class="NQualityOfLife.Weapons.Comps.WeaponComp_Properties">
        <magazineSize>8</magazineSize>
        <reloadStartSound>NMS_Gun_M1_Garand_Ping</reloadStartSound>
        <reloadTicks>180</reloadTicks>
    </li>
</comps>

Used In Example:

<verbs>
    <li>
        <verbClass>Verb_Shoot</verbClass>
        <hasStandardCommand>true</hasStandardCommand>
        <defaultProjectile>Bullet_NMS_Gun_M1_Garand</defaultProjectile>
        <warmupTime>0.85</warmupTime>
        <range>34.9</range>
        <soundCast>GunShot_NMS_Gun_M1_Garand</soundCast>
        <soundCastTail>GunTail_Medium</soundCastTail>
        <muzzleFlashScale>9</muzzleFlashScale>
    </li>
</verbs>
<comps Inherit="True" MayRequireAnyOf="Niilo007.NiilosQoL,Niilo007.NiilosQoL.Dev">
    <li Class="NQualityOfLife.Weapons.Comps.WeaponComp_Properties">
        <magazineSize>8</magazineSize>
        <reloadStartSound>NMS_Gun_M1_Garand_Ping</reloadStartSound>
        <reloadTicks>180</reloadTicks>
    </li>
</comps>

⚠️ **GitHub.com Fallback** ⚠️