From cb588eca6bc196bbed51ae0193b065327d1c4a9c Mon Sep 17 00:00:00 2001 From: Hume2 Date: Wed, 22 Jul 2020 09:52:36 +0200 Subject: [PATCH] change spelling --- init.lua | 58 +++++++++--------- textures/{rosery_big.png => rosary_big.png} | Bin textures/{rosery_dot.png => rosary_dot.png} | Bin .../{rosery_small.png => rosary_small.png} | Bin 4 files changed, 29 insertions(+), 29 deletions(-) rename textures/{rosery_big.png => rosary_big.png} (100%) rename textures/{rosery_dot.png => rosary_dot.png} (100%) rename textures/{rosery_small.png => rosary_small.png} (100%) diff --git a/init.lua b/init.lua index e88b74e..bd5303d 100644 --- a/init.lua +++ b/init.lua @@ -21,55 +21,55 @@ local big_dots = { } -- items -minetest.register_craftitem("rosery:small_0", { - description = "Small Rosery", - inventory_image = "rosery_small.png", +minetest.register_craftitem("rosary:small_0", { + description = "Small rosary", + inventory_image = "rosary_small.png", wield_scale = {x=1, y=1, z=0.5}, - groups = {rosery=1, rosery_small=1}, + groups = {rosary=1, rosary_small=1}, stack_max = 1, on_use = function(itemstack, user, pointed_thing) - itemstack:set_name("rosery:small_10") + itemstack:set_name("rosary:small_10") return itemstack end, }) -minetest.register_craftitem("rosery:big_0", { - description = "Large Rosery", - inventory_image = "rosery_big.png", - wield_image = "[combine:96x96:0,0=rosery_big.png:", +minetest.register_craftitem("rosary:big_0", { + description = "Large rosary", + inventory_image = "rosary_big.png", + wield_image = "[combine:96x96:0,0=rosary_big.png:", wield_scale = {x=1.5, y=1.5, z=0.5}, - groups = {rosery=1, rosery_big=1}, + groups = {rosary=1, rosary_big=1}, stack_max = 1, on_use = function(itemstack, user, pointed_thing) - itemstack:set_name("rosery:big_59") + itemstack:set_name("rosary:big_59") return itemstack end, }) for i, p in ipairs(small_dots) do - minetest.register_craftitem("rosery:small_"..i, { - description = "Small Rosery", - inventory_image = "[combine:32x32:0,0=rosery_small.png:"..p.x..","..p.y.."=rosery_dot.png", + minetest.register_craftitem("rosary:small_"..i, { + description = "Small rosary", + 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}, - groups = {rosery=1, rosery_small=1, not_in_creative_inventory=1}, + groups = {rosary=1, rosary_small=1, not_in_creative_inventory=1}, stack_max = 1, on_use = function(itemstack, user, pointed_thing) - itemstack:set_name("rosery:small_"..(i-1)) + itemstack:set_name("rosary:small_"..(i-1)) return itemstack end, }) end for i, p in ipairs(big_dots) do - minetest.register_craftitem("rosery:big_"..i, { - description = "Large Rosery", - inventory_image = "[combine:64x64:0,0=rosery_big.png:"..p.x..","..p.y.."=rosery_dot.png", - wield_image = "[combine:96x96:0,0=rosery_big.png:"..p.x..","..p.y.."=rosery_dot.png", + minetest.register_craftitem("rosary:big_"..i, { + description = "Large rosary", + 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_scale = {x=1.5, y=1.5, z=0.5}, - groups = {rosery=1, rosery_big=1, not_in_creative_inventory=1}, + groups = {rosary=1, rosary_big=1, not_in_creative_inventory=1}, stack_max = 1, on_use = function(itemstack, user, pointed_thing) - itemstack:set_name("rosery:big_"..(i-1)) + itemstack:set_name("rosary:big_"..(i-1)) return itemstack end, }) @@ -79,18 +79,18 @@ end minetest.register_craft({ type = "shapeless", - output = "rosery:big_0", + output = "rosary:big_0", recipe = { - "group:rosery_small", - "group:rosery_small", - "group:rosery_small", - "group:rosery_small", - "group:rosery_small", + "group:rosary_small", + "group:rosary_small", + "group:rosary_small", + "group:rosary_small", + "group:rosary_small", } }) minetest.register_craft({ - output = "rosery:small_0", + output = "rosary:small_0", recipe = { {"default:steel_ingot","farming:string","default:steel_ingot"}, {"farming:string","","farming:string"}, diff --git a/textures/rosery_big.png b/textures/rosary_big.png similarity index 100% rename from textures/rosery_big.png rename to textures/rosary_big.png diff --git a/textures/rosery_dot.png b/textures/rosary_dot.png similarity index 100% rename from textures/rosery_dot.png rename to textures/rosary_dot.png diff --git a/textures/rosery_small.png b/textures/rosary_small.png similarity index 100% rename from textures/rosery_small.png rename to textures/rosary_small.png