forked from ThomasMonroe314/ugxrealms
[shop] update
This commit is contained in:
parent
b68a753a50
commit
f614378167
@ -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
|
||||
|
@ -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"},
|
||||
}
|
||||
})
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user