mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-12-01 07:13:45 +01:00
add ':' to modname once
This commit is contained in:
parent
bb2ce9ef92
commit
2665980007
@ -1,14 +1,14 @@
|
|||||||
local modname = minetest.get_current_modname()
|
local mod_registername = minetest.get_current_modname() .. ":"
|
||||||
local S = minetest.get_translator(modname)
|
local S = minetest.get_translator(modname)
|
||||||
|
|
||||||
for _, template_name in pairs(mcl_armor_trims.overlays) do
|
for _, template_name in pairs(mcl_armor_trims.overlays) do
|
||||||
minetest.register_craftitem(modname .. ":" .. template_name, {
|
minetest.register_craftitem(mod_registername .. template_name, {
|
||||||
description = S("Smithing Template '@1'", template_name),
|
description = S("Smithing Template '@1'", template_name),
|
||||||
inventory_image = template_name .. "_armor_trim_smithing_template.png",
|
inventory_image = template_name .. "_armor_trim_smithing_template.png",
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = modname .. ":" .. template_name .. " 2",
|
output = mod_registername .. template_name .. " 2",
|
||||||
recipe = {
|
recipe = {
|
||||||
{"mcl_core:diamond",modname .. ":" .. template_name,"mcl_core:diamond"},
|
{"mcl_core:diamond",modname .. ":" .. template_name,"mcl_core:diamond"},
|
||||||
{"mcl_core:diamond","mcl_core:cobble","mcl_core:diamond"},
|
{"mcl_core:diamond","mcl_core:cobble","mcl_core:diamond"},
|
||||||
@ -19,7 +19,7 @@ end
|
|||||||
|
|
||||||
--temp craft recipies, missing structures
|
--temp craft recipies, missing structures
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = modname .. ":eye",
|
output = mod_registername .. "eye",
|
||||||
recipe = {
|
recipe = {
|
||||||
{"mcl_core:diamond","mcl_end:ender_eye","mcl_core:diamond"},
|
{"mcl_core:diamond","mcl_end:ender_eye","mcl_core:diamond"},
|
||||||
{"mcl_core:diamond","mcl_end:ender_eye","mcl_core:diamond"},
|
{"mcl_core:diamond","mcl_end:ender_eye","mcl_core:diamond"},
|
||||||
@ -28,7 +28,7 @@ minetest.register_craft({
|
|||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = modname .. ":ward",
|
output = mod_registername .. "ward",
|
||||||
recipe = {
|
recipe = {
|
||||||
{"mcl_core:diamond","mcl_core:diamond","mcl_core:diamond"},
|
{"mcl_core:diamond","mcl_core:diamond","mcl_core:diamond"},
|
||||||
{"mcl_core:diamond","mcl_core:apple_gold_enchanted","mcl_core:diamond"},
|
{"mcl_core:diamond","mcl_core:apple_gold_enchanted","mcl_core:diamond"},
|
||||||
@ -37,7 +37,7 @@ minetest.register_craft({
|
|||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = modname .. ":snout",
|
output = mod_registername .. "snout",
|
||||||
recipe = {
|
recipe = {
|
||||||
{"mcl_core:diamond","mcl_core:diamond","mcl_core:diamond"},
|
{"mcl_core:diamond","mcl_core:diamond","mcl_core:diamond"},
|
||||||
{"mcl_core:diamond","mcl_core:goldblock","mcl_core:diamond"},
|
{"mcl_core:diamond","mcl_core:goldblock","mcl_core:diamond"},
|
||||||
|
Loading…
Reference in New Issue
Block a user