Mod Releases • Re: [Mod] Technic [0.4.16-dev] [technic]
Luanti Forums - Index page [Unofficial]
February 28, 2026
Code:
-- handles the machine upgrades when set or removedlocal function on_machine_upgrade(meta, stack) local stack_name = stack:get_name() if stack_name == "default:chest" then meta:set_int("public", 1) return 1 elseif stack_name ~= "technic:control_logic_unit" and stack_name ~= "technic:battery" then return 0 end return 1end
Statistics: Posted by Blockhead — Sat Feb 28, 2026 01:45
Discussion in the ATmosphere