Init repo with working copy from my private server

This commit is contained in:
Rainer 2025-06-16 01:00:23 +02:00
commit a2e53b161d
38 changed files with 2413 additions and 0 deletions

30
cards.lua Normal file
View file

@ -0,0 +1,30 @@
--[[
Item Definitions
----------------
This file defines all physical items from the mod, like
the different types of cards and the receipt.
--]]
-- The credit card for purchases via credit line.
minetest.register_craftitem("bank_accounts:credit_card", {
description = S("Credit Card"),
inventory_image = "credit_card.png",
groups = {not_in_creative_inventory=1},
stack_max = 1,
})
-- The debit card for purchases from the account balance.
minetest.register_craftitem("bank_accounts:debit_card", {
description = S("Debit Card"),
inventory_image = "debit_card.png",
groups = {not_in_creative_inventory=1},
stack_max = 1,
})
-- A receipt item given after a card swipe purchase.
minetest.register_craftitem("bank_accounts:receipt", {
description = S("Receipt"),
inventory_image = "receipt.png",
groups = {not_in_creative_inventory=1},
stack_max = 1,
})