Ceisc's Maximum Range Projectiles

by Ceisc

Modifies the behaviour of thrown projectiles (grenade, cluster grenade, defender capsule, poison capsule, slowdown capsule, distractor, and destroyer) so that if you click outside the radius of the maximum range of the item it is thrown as far as possible in the direction of the cursor rather than not being launched at all. Should work for modded projectiles as well as long as they have a capsule_action type of "throw" and are of type "capsule" (not tested).

Tweaks
1 year, 6 months ago
1.1
209
Combat
Owner:
Ceisc
Source:
N/A
Homepage:
N/A
License:
The Unlicense (Public Domain)
Created:
1 year, 7 months ago
Latest Version:
0.0.8 (1 year, 6 months ago)
Factorio version:
1.1
Downloaded by:
209 users

Modifies the behaviour of thrown projectiles[1] so that if you click outside the radius of the maximum range of the item it is thrown as far as possible in the direction of the cursor rather than not being launched at all.

[1] - grenade, cluster grenade, defender capsule, poison capsule, slowdown capsule, distractor, and destroyer in vanilla

Should work for modded projectiles as well as long as they have a capsule_action type of throw and are of type capsule (not tested).

There is a requirement that the custom input key binding for the mod is set to the same binding you would normally use to launch a projectile