NAdd nice textures for cash and atm

master
rubenwardy 2017-02-09 21:32:33 +00:00
parent 7601ac814e
commit 9f372566bd
9 changed files with 17 additions and 2 deletions

View File

@ -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)

Binary file not shown.

After

Width:  |  Height:  |  Size: 298 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 182 B

View File

@ -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},
})

Binary file not shown.

After

Width:  |  Height:  |  Size: 226 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 413 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 423 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 564 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 413 B