1
0
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:
LeMagnesium
2015-11-21 12:28:13 +01:00
parent b5f6b76237
commit f6639708a8
155 changed files with 153 additions and 12 deletions

View File

@ -0,0 +1 @@
The switch is a receptor. It changes its state as when punched.

Binary file not shown.

After

Width:  |  Height:  |  Size: 84 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

View File

@ -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 }}
})

Binary file not shown.

After

Width:  |  Height:  |  Size: 598 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 692 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 553 B