{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreib3x57ywymuqkpkebvjp2gah544hsjmhf5mcggicowfdrae5gxuim",
"uri": "at://did:plc:pvz7ox4x2ehjiezsahttqyyz/app.bsky.feed.post/3mfvwqpidvb22"
},
"path": "/viewtopic.php?p=449795#p449795",
"publishedAt": "2026-02-28T01:45:11.000Z",
"site": "https://forum.luanti.org",
"tags": [
"Blockhead"
],
"textContent": "Code:\n\n\n -- 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\n\nStatistics: Posted by Blockhead — Sat Feb 28, 2026 01:45\n\n* * *",
"title": "Mod Releases • Re: [Mod] Technic [0.4.16-dev] [technic]",
"updatedAt": "2026-02-28T01:45:11.000Z"
}