2020-03-05 07:48:11 +01:00
|
|
|
|
2020-03-05 13:55:52 +01:00
|
|
|
epic_score = {
|
|
|
|
hud = {
|
|
|
|
posx = tonumber(minetest.settings:get("epic_score.hud.offsetx") or 0.5),
|
|
|
|
posy = tonumber(minetest.settings:get("epic_score.hud.offsety") or 0.7)
|
|
|
|
}
|
|
|
|
}
|
2020-03-05 07:48:11 +01:00
|
|
|
|
|
|
|
local MP = minetest.get_modpath("epic_score")
|
|
|
|
|
2020-03-05 11:02:46 +01:00
|
|
|
-- utils
|
|
|
|
dofile(MP.."/persistence.lua")
|
2020-03-06 09:19:43 +01:00
|
|
|
dofile(MP.."/cleanup.lua")
|
2020-03-05 11:02:46 +01:00
|
|
|
|
2020-03-05 13:55:52 +01:00
|
|
|
-- hud
|
|
|
|
dofile(MP.."/hud.lua")
|
|
|
|
|
2020-03-05 11:02:46 +01:00
|
|
|
-- blocks
|
2020-03-05 08:18:05 +01:00
|
|
|
dofile(MP.."/add_score.lua")
|
|
|
|
dofile(MP.."/set_score.lua")
|
2020-03-05 12:53:39 +01:00
|
|
|
dofile(MP.."/periodic_add.lua")
|
2020-03-09 08:10:46 +01:00
|
|
|
dofile(MP.."/inventory_item_score.lua")
|
2020-03-05 07:48:11 +01:00
|
|
|
dofile(MP.."/highscore.lua")
|
2020-03-05 11:36:22 +01:00
|
|
|
dofile(MP.."/highscore_save.lua")
|
2020-03-05 11:02:46 +01:00
|
|
|
|
|
|
|
-- items
|
2020-03-05 07:48:11 +01:00
|
|
|
dofile(MP.."/items.lua")
|
2020-03-05 09:41:29 +01:00
|
|
|
|
2020-03-05 11:02:46 +01:00
|
|
|
-- forms
|
2020-03-05 09:41:29 +01:00
|
|
|
dofile(MP.."/forms/highscore_view.lua")
|
|
|
|
dofile(MP.."/forms/highscore_configure.lua")
|