mirror of
https://codeberg.org/minenux/minetest-mod-xdecor
synced 2023-10-20 21:43:39 -07:00
fixed rosary registration due the naming conventions on mods coding api
This commit is contained in:
parent
3004b23be7
commit
069ae8d7bb
@ -21,7 +21,7 @@ local big_dots = {
|
|||||||
}
|
}
|
||||||
-- items
|
-- items
|
||||||
|
|
||||||
minetest.register_craftitem("rosary:small_0", {
|
minetest.register_craftitem(":rosary:small_0", {
|
||||||
description = "Small rosary",
|
description = "Small rosary",
|
||||||
inventory_image = "rosary_small.png",
|
inventory_image = "rosary_small.png",
|
||||||
wield_scale = {x=1, y=1, z=0.5},
|
wield_scale = {x=1, y=1, z=0.5},
|
||||||
@ -33,7 +33,7 @@ minetest.register_craftitem("rosary:small_0", {
|
|||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craftitem("rosary:big_0", {
|
minetest.register_craftitem(":rosary:big_0", {
|
||||||
description = "Large rosary",
|
description = "Large rosary",
|
||||||
inventory_image = "rosary_big.png",
|
inventory_image = "rosary_big.png",
|
||||||
wield_image = "[combine:96x96:0,0=rosary_big.png:",
|
wield_image = "[combine:96x96:0,0=rosary_big.png:",
|
||||||
@ -47,7 +47,7 @@ minetest.register_craftitem("rosary:big_0", {
|
|||||||
})
|
})
|
||||||
|
|
||||||
for i, p in ipairs(small_dots) do
|
for i, p in ipairs(small_dots) do
|
||||||
minetest.register_craftitem("rosary:small_"..i, {
|
minetest.register_craftitem(":rosary:small_"..i, {
|
||||||
description = "Small rosary",
|
description = "Small rosary",
|
||||||
inventory_image = "[combine:32x32:0,0=rosary_small.png:"..p.x..","..p.y.."=rosary_dot.png",
|
inventory_image = "[combine:32x32:0,0=rosary_small.png:"..p.x..","..p.y.."=rosary_dot.png",
|
||||||
wield_scale = {x=1, y=1, z=0.5},
|
wield_scale = {x=1, y=1, z=0.5},
|
||||||
@ -61,7 +61,7 @@ for i, p in ipairs(small_dots) do
|
|||||||
end
|
end
|
||||||
|
|
||||||
for i, p in ipairs(big_dots) do
|
for i, p in ipairs(big_dots) do
|
||||||
minetest.register_craftitem("rosary:big_"..i, {
|
minetest.register_craftitem(":rosary:big_"..i, {
|
||||||
description = "Large rosary",
|
description = "Large rosary",
|
||||||
inventory_image = "[combine:64x64:0,0=rosary_big.png:"..p.x..","..p.y.."=rosary_dot.png",
|
inventory_image = "[combine:64x64:0,0=rosary_big.png:"..p.x..","..p.y.."=rosary_dot.png",
|
||||||
wield_image = "[combine:96x96:0,0=rosary_big.png:"..p.x..","..p.y.."=rosary_dot.png",
|
wield_image = "[combine:96x96:0,0=rosary_big.png:"..p.x..","..p.y.."=rosary_dot.png",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user