another question! So im making a mod but would like to know how to increase a chests capacity but cant get it to work by changing inv:set_size("main", 8*4) to inv:set_size("main", 9*4), can anyone help?
many thanks
also using this code im about to show i cant get a different texture on each face of the chest
minetest.register_node("techno:technocrate", {
drawtype = "glasslike",
description = "technocrate",
tiles = {"techno_technocrate_top.png", "techno_technocrate_top.png", "techno_technocrate_side.png",
"techno_technocrate_side.png", "techno_technocrate_side.png", "techno_technocrate_front.png"},
sunlight_propagates = true,
paramtype = "light",
paramtype2 = "facedir",
groups = {choppy=2,oddly_breakable_by_hand=2},
legacy_facedir_simple = true,
sounds = default.node_sound_wood_defaults(),
on_construct = function(pos)
local meta = minetest.get_meta(pos)
meta:set_string("formspec",default.chest_formspec)
meta:set_string("infotext", "technocrate")
local inv = meta:get_inventory()
inv:set_size("main", 9*4)
end,