Makes it possible for railguns to use rails as ammo. Just as the name suggests. And also adds other 'rail'gun related things. Compatible with other mods that add rails.
Tweaks
Mod category: Tweaks
Small changes concerning balance, gameplay, or graphics.
i don't know how to approach this problem. i could either write a function that checks other mods to see if they have their own rail items, and then this function creates a lua table which automatically generates the ammo version of each track (or creates a new crafting recipe for each modded railway track); or just look at popular overhaul mods that add rails and hardcode them into the mod so they are there as optional dependencies.
i think the first solution is a better solution. i just don't know how to implement it though.
i will look into it.
i did choose to do the first option, and made a function that dynamically adds every single possible modded rail, as long as they are classified as "rail-planner". let me be notified if you experience some bugs lol.
oh i also broke everything, you need to recraft your "rail"gun ammos. oops.