commit | author | age
|
fd3f25
|
1 |
-- Minetest 0.4.6 mod: technic_chests |
R |
2 |
-- namespace: technic |
|
3 |
-- (c) 2012-2013 by RealBadAngel <mk@realbadangel.pl> |
|
4 |
|
c17732
|
5 |
local modpath = minetest.get_modpath("technic_chests") |
fd3f25
|
6 |
|
49e82a
|
7 |
technic = rawget(_G, "technic") or {} |
78cacd
|
8 |
technic.chests = {} |
S |
9 |
|
|
10 |
dofile(modpath.."/common.lua") |
|
11 |
dofile(modpath.."/register.lua") |
fd3f25
|
12 |
dofile(modpath.."/iron_chest.lua") |
R |
13 |
dofile(modpath.."/copper_chest.lua") |
|
14 |
dofile(modpath.."/silver_chest.lua") |
|
15 |
dofile(modpath.."/gold_chest.lua") |
|
16 |
dofile(modpath.."/mithril_chest.lua") |
78cacd
|
17 |
|
68fac3
|
18 |
minetest.register_lbm({ |
V |
19 |
name = "technic_chests:fix_wooden_chests", |
|
20 |
nodenames = {"default:chest"}, |
|
21 |
action = function(pos, node) |
|
22 |
local meta = minetest.get_meta(pos) |
|
23 |
meta:set_string("formspec", "") |
|
24 |
end |
|
25 |
}) |