init.lua 546 B

123456789101112131415161718192021
  1. -- Definitions made by this mod that other mods can use too
  2. -- @module x_marketplace
  3. -- @author SaKeL
  4. x_marketplace = {}
  5. x_marketplace.max_balance = 1000000 -- one million
  6. x_marketplace.colors = {
  7. ["yellow"] = "#FFEB3B", -- info
  8. ["green"] = "#4CAF50", -- success
  9. ["red"] = "#f44336", -- error
  10. ["cyan"] = "#00BCD4" -- terminal info
  11. }
  12. local path = minetest.get_modpath("x_marketplace")
  13. dofile(path.."/store_list.lua")
  14. dofile(path.."/api.lua")
  15. dofile(path.."/chatcommands.lua")
  16. dofile(path.."/nodes.lua")
  17. print ("[Mod] x_marketplace loaded")