Added grenade drop capabilities for new grenade users

This commit is contained in:
Blixibon 2022-07-30 13:02:03 -05:00
parent fb511402e8
commit e6f89682cb

View File

@ -56,14 +56,25 @@
// For classes which didn't support grenades before, but now do
@BaseClass base(GrenadeUser) = NewGrenadeUser
[
input SetGrenadeCapabilities(integer) : "Sets this NPC's grenade capabilities."
SetGrenadeCapabilities(choices) : "Grenade capabilities" : "None" : "Controls this NPC's capability to throw grenades or use their weapon's secondary ability (energy balls/SMG grenades)." =
[
0 : "None"
1 : "Grenades"
2 : "Alt-firing"
3 : "Grenades + Alt-firing"
1 : "[1] Grenades"
2 : "[2] Alt-firing"
3 : "[3] Grenades + Alt-firing"
]
SetGrenadeDropCapabilities(choices) : "Grenade drop capabilities" : 7 : "Controls whether or not this NPC should drop grenades or weapon alt-fire items upon dying. Note that these only apply when the NPC is respectively capable of throwing grenades or using their weapon's secondary ability." =
[
0 : "None"
1 : "[1] Drop grenades (based on player inventory)"
2 : "[2] Drop alt-fire items"
4 : "[4] Drop grenades when throwing animation is interrupted"
7 : "[7] All of the above"
]
input SetGrenadeCapabilities(integer) : "Sets this NPC's grenade capabilities."
input SetGrenadeDropCapabilities(integer) : "Sets this NPC's grenade-dropping capabilities."
]
@BaseClass = PolicingNPC