Luke aka SwissalpS aa31a2cd86
Cleanup (#5)
* Whitespace only

* restructure to save indentation

* memory clear chatcommand takes no arguments

* readme: key-name is not optional

also to clarify, use more words

* readme: storage is now persistent

remove note about memory loss on reboot

* readme: slight restructure and choice of words

for some humans it is hard to process the word "it" ;)

* readme: optical header change and whitespace
2024-12-12 14:09:03 +01:00

18 lines
436 B
Lua

local MP = minetest.get_modpath("digiline_global_memory")
digiline_global_memory = {
store = {}, -- playername -> memory_name -> value
max_cost = 50000,
max_items = 100
}
dofile(MP .. "/functions.lua")
dofile(MP .. "/storage.lua")
dofile(MP .. "/controller.lua")
dofile(MP .. "/chatcommands.lua")
if minetest.get_modpath("mtt") and mtt.enabled then
dofile(MP .. "/functions.spec.lua")
dofile(MP .. "/storage.spec.lua")
end