aboutsummaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorgpcf <gpcf@gpcf.eu>2024-09-22 16:14:10 +0200
committergpcf <gpcf@gpcf.eu>2024-09-22 16:14:10 +0200
commit07497d8957d1969af9b08ee35899609892438bc8 (patch)
tree47436232ea67b27119a931a5bd4cc056724e2a36 /init.lua
parent925b6f62e4ce62aa4c06ee2a3a444eebf5b5c307 (diff)
downloadatm-07497d8957d1969af9b08ee35899609892438bc8.tar.gz
atm-07497d8957d1969af9b08ee35899609892438bc8.tar.bz2
atm-07497d8957d1969af9b08ee35899609892438bc8.zip
Add chat command for welfare, add unit tests and mod.conf
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua3
1 files changed, 2 insertions, 1 deletions
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"