2018-04-23 16:04:35 +02:00
|
|
|
|
|
|
|
spacecannon = {
|
|
|
|
config = {
|
|
|
|
-- technic EU storage value
|
2023-05-30 05:44:29 +02:00
|
|
|
th_powerstorage = 10000,
|
|
|
|
ki_powerstorage = 300,
|
2018-04-23 16:04:35 +02:00
|
|
|
|
|
|
|
-- charge value in EU
|
2023-05-30 05:44:29 +02:00
|
|
|
th_powerrequirement = 2500,
|
|
|
|
ki_powerrequirement = 300
|
2019-07-29 13:37:56 +02:00
|
|
|
},
|
|
|
|
node_resilience = {}
|
2018-04-23 16:04:35 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
local MP = minetest.get_modpath("spacecannon")
|
|
|
|
|
2018-04-24 09:37:53 +02:00
|
|
|
dofile(MP.."/util.lua")
|
2021-01-10 07:53:26 +01:00
|
|
|
dofile(MP.."/digiline.lua")
|
2018-04-23 16:04:35 +02:00
|
|
|
dofile(MP.."/cannon.lua")
|
2023-05-30 05:44:29 +02:00
|
|
|
dofile(MP.."/ammo.lua")
|
2019-07-29 13:37:56 +02:00
|
|
|
dofile(MP.."/node_resilience.lua")
|
2018-04-23 16:04:35 +02:00
|
|
|
|
2021-01-10 07:53:26 +01:00
|
|
|
print("[OK] Spacecannon")
|
2023-06-07 12:36:00 +02:00
|
|
|
|