Railgun Turrets Using Rails as Ammo


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
19 days ago
2.0
53
Combat

Changelog

Version: 1.2.1
Date: 23.12.2025
  Bugfixes:
    - Fixed setting "rail"gun damage not having a proper name.
Version: 1.2.0
Date: 23.12.2025
  Balancing:
    - "Rail"gun can now only shoot the "Rail"gun ammo, but regular railguns can still shoot "Rail"gun ammo.
  Changes:
    - Removed crafting recipe "railgunRailAmmoRecipe" and instead added a dynamically added name .. "-to-railgun-ammo" (rail-to-railgun-ammo etc.)
      This means that there will be new recipes for each rails that each mod adds.
    - Changed the internal item name of "railgunRailAmmo" to "railgun-rail-ammo"
    - Changed the internal item name of "artilleryRailgun" to "artillery-wagon-railgun"
    - Changed the internal reicpe name of "railgunArtilleryRailgunWeaponRecipe" to "artillery-wagon-railgun"
    - These changes are breaking and will reset existing items due to early development stage.
    - Deleted recipe names from the locale file, because i have added dynamically added recipes. Can't do with that.
  Modding:
    - Cleaned up the code.
    - The other mods need to have their rails added as "rail-planner" in order for this mod to detect their rails.
  Compatibility:
    - Added compatibility with other mods that add any type of rail.
Version: 1.1.0
Date: 04.12.2025
  Features:
    - Added "Rail"gun, which is basically a gun on a rail, now in your own hand, acting as a railgun.
Version: 1.0.0
Date: 04.12.2025
  Features:
    - Initial update.
    - Prepared the mod file structure (I am actually doing it right now. Using VScode is weird)
    - Okay i'm done, publishing this here.
    - Adds a recipe to turn the railway rails into railgun rails. They deal 1000 damage instead of the 10k damage of railgun ammo.