spacecannon/init.lua
Kiëd Llaentenn 29c0daca0b
Add railgun cannons (#16)
* feat: add purple and blue cannons (railguns)

* fix: linter warnings

* fix: last commit

Seems I forgot to save some changes that were supposed to be part of the last commit.

* feat: don't change cannon projectile range

Avoid breaking builds on other servers
2023-05-30 05:44:29 +02:00

24 lines
458 B
Lua

spacecannon = {
config = {
-- technic EU storage value
th_powerstorage = 10000,
ki_powerstorage = 300,
-- charge value in EU
th_powerrequirement = 2500,
ki_powerrequirement = 300
},
node_resilience = {}
}
local MP = minetest.get_modpath("spacecannon")
dofile(MP.."/util.lua")
dofile(MP.."/digiline.lua")
dofile(MP.."/cannon.lua")
dofile(MP.."/ammo.lua")
dofile(MP.."/node_resilience.lua")
print("[OK] Spacecannon")