NAdd nice textures for cash and atm
|
@ -1,6 +1,14 @@
|
|||
minetest.register_node("atm:atm", {
|
||||
description = "ATM",
|
||||
tiles = "default_cobble.png",
|
||||
tiles = {
|
||||
"atm_atm_sides.png",
|
||||
"atm_atm_sides.png",
|
||||
"atm_atm_sides.png",
|
||||
"atm_atm_sides.png",
|
||||
"atm_atm_sides.png",
|
||||
"atm_atm_front.png",
|
||||
},
|
||||
paramtype2 = "facedir",
|
||||
after_place_node = function(pos, placer, itemstack, pointed_thing)
|
||||
local placername = placer:get_player_name()
|
||||
local companyname = companies.get_current_company(placername)
|
||||
|
|
After Width: | Height: | Size: 298 B |
After Width: | Height: | Size: 182 B |
|
@ -1,34 +1,41 @@
|
|||
cash.register("cash:note_10", {
|
||||
description = "$10 Note",
|
||||
inventory_image = "cash_note_10.png",
|
||||
groups = { money = 1000 },
|
||||
})
|
||||
|
||||
cash.register("cash:note_5", {
|
||||
description = "$5 Note",
|
||||
inventory_image = "cash_note_5.png",
|
||||
groups = { money = 500 },
|
||||
})
|
||||
|
||||
cash.register("cash:coin_2", {
|
||||
cash.register("cash:coin_200", {
|
||||
description = "$2 Coin",
|
||||
inventory_image = "cash_coin_200.png",
|
||||
groups = { money = 200 },
|
||||
})
|
||||
|
||||
cash.register("cash:coin_100", {
|
||||
description = "$1 Coin",
|
||||
inventory_image = "cash_coin_100.png",
|
||||
groups = { money = 100 },
|
||||
})
|
||||
|
||||
cash.register("cash:coin_50", {
|
||||
description = "50c Coin",
|
||||
inventory_image = "cash_coin_50.png",
|
||||
groups = { money = 50 },
|
||||
})
|
||||
|
||||
cash.register("cash:coin_10", {
|
||||
description = "10c Coin",
|
||||
inventory_image = "cash_coin_10.png",
|
||||
groups = { money = 10 },
|
||||
})
|
||||
|
||||
cash.register("cash:coin_1", {
|
||||
description = "1c Coin",
|
||||
inventory_image = "cash_coin_1.png",
|
||||
groups = { money = 1},
|
||||
})
|
||||
|
|
After Width: | Height: | Size: 226 B |
After Width: | Height: | Size: 413 B |
After Width: | Height: | Size: 423 B |
After Width: | Height: | Size: 564 B |
After Width: | Height: | Size: 413 B |