Releases: DingoDjango/GrenadeFixRearmed
Hotfix recompile
Recompiled assembly to make sure it works with the latest A17 hotfix.
Different method + bug fix
-
Changed method to GameComponent from StaticConstructorOnStartup
-
Fixed bug relating to weapons with multiple verbs
Assembly version 2.1.17
A17 Release
Recompiled for A17.
Assembly version 2.0.17
Bug Fix Release
Fixed a null reference excpetion when a ThingDef had an explosive projectile and an additional melee attack.
Assembly version 1.3.16
A16 Release
Grenade Fix: Rearmed for A16.
Includes Chinese translation.
Assembly version 1.2.16
Version 1.2
Improved code, using a better method to handle when the def change is fired.
Version 1.1
Switched from ITab method to StaticConstructorOnStartup.
Seems to work fine and I like it a bit better.
Source is also commented now.
Grenade Fix: Rearmed
(Based on the idea behind A14 mod "Grenade Fix" by TheFlameTouched)
This mod dynamically injects a minimum range to any weapon with an explosive projectile:
Grenades, launchers, mortars and even items added by mods.
The minimum range is slightly larger than the weapon's explosion radius, ensuring that pawns won't explode themselves by accident.