From 07497d8957d1969af9b08ee35899609892438bc8 Mon Sep 17 00:00:00 2001 From: gpcf Date: Sun, 22 Sep 2024 16:14:10 +0200 Subject: Add chat command for welfare, add unit tests and mod.conf --- init.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'init.lua') diff --git a/init.lua b/init.lua index 36cfa0b..3ccba60 100644 --- a/init.lua +++ b/init.lua @@ -5,7 +5,8 @@ atm = {} atm.balance = {} atm.welfare = {} -atm.default_welfare = 1000 +atm.welfare_cap = 1000 -- +atm.welfare_amount = 5 atm.pending_transfers = {} atm.completed_transactions = {} atm.pth = minetest.get_worldpath().."/atm_accounts" -- cgit v1.2.3