mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2025-06-28 14:16:06 +02:00
[mesecons] Add NOR and OR gates, and documentation
This commit is contained in:
@ -0,0 +1 @@
|
||||
The switch is a receptor. It changes its state as when punched.
|
BIN
mods/mesecons/mesecons_switch/doc/switch/preview.png
Normal file
BIN
mods/mesecons/mesecons_switch/doc/switch/preview.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 84 KiB |
BIN
mods/mesecons/mesecons_switch/doc/switch/recipe.png
Normal file
BIN
mods/mesecons/mesecons_switch/doc/switch/recipe.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 12 KiB |
@ -1,4 +1,4 @@
|
||||
-- MESECON_SWITCH
|
||||
-- mesecons_switch
|
||||
|
||||
mesecon.register_node("mesecons_switch:mesecon_switch", {
|
||||
paramtype2="facedir",
|
||||
@ -14,15 +14,15 @@ mesecon.register_node("mesecons_switch:mesecon_switch", {
|
||||
end
|
||||
},{
|
||||
groups = {dig_immediate=2},
|
||||
tiles = { "jeija_mesecon_switch_side.png", "jeija_mesecon_switch_side.png",
|
||||
"jeija_mesecon_switch_side.png", "jeija_mesecon_switch_side.png",
|
||||
"jeija_mesecon_switch_side.png", "jeija_mesecon_switch_off.png"},
|
||||
tiles = { "mesecons_switch_side.png", "mesecons_switch_side.png",
|
||||
"mesecons_switch_side.png", "mesecons_switch_side.png",
|
||||
"mesecons_switch_side.png", "mesecons_switch_off.png"},
|
||||
mesecons = {receptor = { state = mesecon.state.off }}
|
||||
},{
|
||||
groups = {dig_immediate=2, not_in_creative_inventory=1},
|
||||
tiles = { "jeija_mesecon_switch_side.png", "jeija_mesecon_switch_side.png",
|
||||
"jeija_mesecon_switch_side.png", "jeija_mesecon_switch_side.png",
|
||||
"jeija_mesecon_switch_side.png", "jeija_mesecon_switch_on.png"},
|
||||
tiles = { "mesecons_switch_side.png", "mesecons_switch_side.png",
|
||||
"mesecons_switch_side.png", "mesecons_switch_side.png",
|
||||
"mesecons_switch_side.png", "mesecons_switch_on.png"},
|
||||
mesecons = {receptor = { state = mesecon.state.on }}
|
||||
})
|
||||
|
||||
|
BIN
mods/mesecons/mesecons_switch/textures/mesecons_switch_off.png
Normal file
BIN
mods/mesecons/mesecons_switch/textures/mesecons_switch_off.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 598 B |
BIN
mods/mesecons/mesecons_switch/textures/mesecons_switch_on.png
Normal file
BIN
mods/mesecons/mesecons_switch/textures/mesecons_switch_on.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 692 B |
BIN
mods/mesecons/mesecons_switch/textures/mesecons_switch_side.png
Normal file
BIN
mods/mesecons/mesecons_switch/textures/mesecons_switch_side.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 553 B |
Reference in New Issue
Block a user