-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
Hi,
Great shop! My only issue is that it does not work with MineClone, so I've made a minor modification to it:
-- use proper nodes and texture for game
if minetest.get_modpath("mcl_chests") ~= nil then
chest = "mcl_chests:chest"
sign = "mcl_signs:wall_sign"
torch = "mcl_torches:torch_wall"
crystal = "mesecons:redstone" -- using redstone instead of mese crystal
steel = "mcl_core:iron_ingot"
copper = "mcl_core:gold_ingot" -- using gold instead of copper
tile = "default_chest_top.png^[colorize:#ffffff77^mcl_core_glass_black.png"
else
chest = "default:chest_locked"
sign = "default:sign_wall_wood"
torch = "default:torch"
crystal = "default:mese_crystal_fragment"
steel = "default:steel_ingot"
copper = "default:copper_ingot"
tile = "default_chest_top.png^[colorize:#ffffff77^default_obsidian_glass.png"
end
minetest.register_craft({
output = "smartshop:shop",
recipe = {
{chest, chest, chest},
{sign, chest, sign},
{sign, torch, sign},
}
})
minetest.register_craft({
output = "smartshop:wifistorage",
recipe = {
{crystal, chest, crystal},
{crystal, chest, crystal},
{steel, copper, steel},
}
})and in register nodes:
minetest.register_node("smartshop:shop", {
description = "Smartshop",
tiles = {tile},
...
minetest.register_node("smartshop:wifistorage", {
description = "Wifi storage",
tiles = {tile},And of course removed depends.txt. This patch works great for both MTG and MCL2.
See also in forum.
Merry Xmas!
bzt
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels