mirror of
https://github.com/pandorabox-io/spacecannon.git
synced 2024-12-21 13:25:44 +01:00
29c0daca0b
* 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
24 lines
458 B
Lua
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")
|