mirror of
https://github.com/minetest-mods/more_chests.git
synced 2025-07-01 06:40:22 +02:00
Revert "Mod rewrite and new models (#21)"
This reverts commit 74b3c5a25d
.
This commit is contained in:
@ -1,50 +0,0 @@
|
||||
local gen_def = dofile(minetest.get_modpath("more_chests") .. "/utils/base.lua")
|
||||
local S = minetest.get_translator("more_chests")
|
||||
|
||||
-- TODO model open
|
||||
|
||||
local fridge = gen_def({
|
||||
description = S("Fridge"),
|
||||
type = "fridge",
|
||||
size = "small",
|
||||
tiles = {
|
||||
side = "fridge_side.png",
|
||||
front = "fridge_front.png",
|
||||
},
|
||||
recipe = {
|
||||
{"", "default:steel_ingot", ""},
|
||||
{"default:steel_ingot", "default:ice", "default:steel_ingot"},
|
||||
{"", "default:steel_ingot", ""}
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_node("more_chests:fridge", fridge)
|
||||
minetest.register_craft({
|
||||
output = "more_chests:fridge",
|
||||
recipe = fridge.recipe,
|
||||
})
|
||||
|
||||
|
||||
local big_fridge = gen_def({
|
||||
description = S("Big Fridge"),
|
||||
type = "fridge",
|
||||
size = "big",
|
||||
node_box = {
|
||||
{-0.5, -0.5, -0.5, 0.5, 1.5, 0.5},
|
||||
},
|
||||
tiles = {
|
||||
side = "fridge_side.png",
|
||||
front = "fridge_front.png",
|
||||
},
|
||||
recipe = {
|
||||
{"default:steel_ingot", "default:steel_ingot", "default:steel_ingot"},
|
||||
{"default:steel_ingot", "default:ice", "default:steel_ingot"},
|
||||
{"default:steel_ingot", "default:steel_ingot", "default:steel_ingot"}
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_node("more_chests:big_fridge", big_fridge)
|
||||
minetest.register_craft({
|
||||
output = "more_chests:big_fridge",
|
||||
recipe = big_fridge.recipe,
|
||||
})
|
Reference in New Issue
Block a user