VanessaE wrote:12Me21: I don't remember the computer you're talking about, but this modpack does come with a computers mod which has quite a few things from classic 8-bit computers to modern PCs and laptops, modern desktops, a server machine, and a few misc peripherals.
kaeza wrote:12Me21 wrote:Try adding this to the code,Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
minetest.register_on_punchnode = function (pos, node, puncher)
if node.name == 'computer:comp1_on' then
local dir = node["param2"]
minetest.env:add_node(pos, {name="computer:comp1_off", paramtype2='none', param2=dir})
nodeupdate(pos)
elseif node.name == 'computer:comp1_off' then
local dir = node["param2"]
minetest.env:add_node(pos, {name="computer:comp1_on", paramtype2='none', param2=dir})
nodeupdate(pos)
end
end
It probably won't work, because I can't test it.
Already done in my mod (I still didn't add your towers, but will do soon). Look here for turn on/off: https://github.com/kaeza/minetest-computer/blob/master/init.lua#L32
12Me21 wrote:VanessaE wrote:12Me21: I don't remember the computer you're talking about, but this modpack does come with a computers mod which has quite a few things from classic 8-bit computers to modern PCs and laptops, modern desktops, a server machine, and a few misc peripherals.
viewtopic.php?f=9&t=5386kaeza wrote:12Me21 wrote:Try adding this to the code,Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
minetest.register_on_punchnode = function (pos, node, puncher)
if node.name == 'computer:comp1_on' then
local dir = node["param2"]
minetest.env:add_node(pos, {name="computer:comp1_off", paramtype2='none', param2=dir})
nodeupdate(pos)
elseif node.name == 'computer:comp1_off' then
local dir = node["param2"]
minetest.env:add_node(pos, {name="computer:comp1_on", paramtype2='none', param2=dir})
nodeupdate(pos)
end
end
It probably won't work, because I can't test it.
Already done in my mod (I still didn't add your towers, but will do soon). Look here for turn on/off: https://github.com/kaeza/minetest-computer/blob/master/init.lua#L32
kaeza wrote:This mod is now part of homedecor_modpack. Updates will be posted on that topic.
VanessaE wrote:12Me21: I don't remember the computer you're talking about, but this modpack does come with a computers mod which has quite a few things from classic 8-bit computers to modern PCs and laptops, modern desktops, a server machine, and a few misc peripherals.
VanessaE wrote:modern and classic computers, peripherals, and gaming consoles.[/*]
VanessaE wrote:Actually the best idea would be to make the fridge into a mesh node, which is coming soon. Meanwhile, I've just pushed an update that does that for the dog house.
tar marble tar
marble tar marble ====> Granite block
tar marble tar
stick plastic green-dye
stick plastic plastic ====> Desk globe
stick wood-slab blue-dye
motor steel-axe steel-pick
steel-ingot drawer steel-ingot ====> Tool cabinet
steel-ingot drawer steel-ingot
green-wool green-wool green-wool
hardwood hardwood hardwood ====> Pool table
hardwood-slab hardwood-slab hardwood-slab
jp wrote:The chandelier will be switched to mesh soon as well for matching the chains, it's in our TODO.
Users browsing this forum: Bing [Bot] and 9 guests