added new machines

This commit is contained in:
Rainer 2025-08-22 02:10:35 +02:00
parent ceb168de55
commit 8603834f56
35 changed files with 2223 additions and 1204 deletions

View file

@ -1,29 +1,21 @@
--[[
Item Definitions
----------------
This file defines all physical items from the mod, like
the different types of cards and the receipt.
--]]
-- cards.lua (mit Übersetzungs-Funktion)
-- The credit card for purchases via credit line.
minetest.register_craftitem("bank_accounts:credit_card", {
description = S("Credit Card"),
description = S("Credit Card"), -- <-- Änderung hier
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"),
description = S("Debit Card"), -- <-- Änderung hier
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"),
description = S("Receipt"), -- <-- Änderung hier
inventory_image = "receipt.png",
groups = {not_in_creative_inventory=1},
stack_max = 1,