Init repo with working copy from my private server
This commit is contained in:
commit
a2e53b161d
38 changed files with 2413 additions and 0 deletions
30
cards.lua
Normal file
30
cards.lua
Normal 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,
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue