From 9d601cb4d6bf3abccfecd2b810c59ba3e64f3300 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gabriel=20P=C3=A9rez-Cerezo?= Date: Sat, 25 Jun 2016 23:22:36 +0200 Subject: Added interest mechanism --- init.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'init.lua') diff --git a/init.lua b/init.lua index bc1970d..12a828c 100644 --- a/init.lua +++ b/init.lua @@ -1,6 +1,7 @@ atm = {} atm.balance = {} atm.pth = minetest.get_worldpath().."/atm_accounts" +local modpath = minetest.get_modpath("atm") function atm.showform (player) atm.readaccounts() @@ -186,3 +187,4 @@ minetest.register_craft({ {"default:steel_ingot", "default:mese_crystal", "default:steel_ingot"} } }) +dofile(modpath .. "/interest.lua") -- cgit v1.2.3