[shop] update

master
elite 2017-08-01 22:02:24 -04:00
parent b68a753a50
commit f614378167
2 changed files with 5 additions and 5 deletions

View File

@ -19,7 +19,7 @@ function shop.setform(pos)
"list[nodemeta:" ..spos.. ";fast;5,1;1,1;]" ..
"item_image[2,1;1,1;shop:coin]" ..
"item_image[5,1;1,1;shop:coin]" ..
"label[2,2;" .. shop.price1 .. " Coin per second]" ..
"label[2,2;" .. shop.price1 .. " Coins per second]" ..
"label[5,2;" .. shop.price2 .. " Coins per second]" ..
"list[current_player;main;0,3;8,4;]"
return formspec

View File

@ -161,12 +161,12 @@ minetest.register_node("shop:register", {
})
-- Crafts & Craft Items
minetest.register_craftitem("shop:coin", {
description = "Gold Coin",
inventory_image = "shop_coin.png",
})
-- Crafts & Craft Items
minetest.register_craft({
output = "shop:coin 4",
recipe = {
@ -175,11 +175,11 @@ minetest.register_craft({
})
minetest.register_craft({
type = "shapeless",
output = "default:gold_ingot",
recipe = {
{"shop:coin", "shop:coin", "shop:coin"},
{"shop:coin", "shop:coin", "shop:coin"},
{"shop:coin", "shop:coin", "shop:coin"}
{"shop:coin", "shop:coin"},
{"shop:coin", "shop:coin"},
}
})