mirror of
https://github.com/minetest-mods/mesecons.git
synced 2024-11-16 23:30:34 +01:00
Apply new naming style to documentatin files, rename meselamp to “Mesecon Lamp”
This commit is contained in:
parent
33c3192492
commit
aa9a92b4aa
|
@ -1 +1 @@
|
||||||
And gates power their output if both inputs (from left and right) are powered.
|
AND gates power their output if both inputs (from left and right) are powered.
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Mesecon diodes, just like real ones, only transfer power (signals) in one direction only.
|
Diodes only transfer power (signals) to one direction.
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Nand gates do not power their output if both inputs (from left and right) are powered, but power it in every other case.
|
NAND gates do not power their output if both inputs (from left and right) are powered, but power it in every other case.
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Nor gates only power their output if none of their two inputs is powered. They are basically or gates with a not gate at their output.
|
NOR gates only power their output if none of their two inputs is powered. They are basically OR gates with a NOT gate at their output.
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Not gates invert signals, just like a mesecon torch does, but faster. The input is at the opposite side of the output.
|
NOT gates invert signals, just like a mesecon torch does, but faster. The input is at the opposite side of the output.
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Or gates power their output if either of their inputs (or both) are powered. You could basically get the same behaviour with two diodes, but or gates save some space.
|
OR gates power their output if either of their inputs (or both) are powered. You could basically get the same behaviour with two diodes, but OR gates save some space.
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Lamps are effectors that if powered emit light.
|
Mesecon lamps are effectors that if powered emit light.
|
||||||
|
|
|
@ -42,7 +42,7 @@ minetest.register_node("mesecons_lamp:lamp_off", {
|
||||||
node_box = mesecon_lamp_box,
|
node_box = mesecon_lamp_box,
|
||||||
selection_box = mesecon_lamp_box,
|
selection_box = mesecon_lamp_box,
|
||||||
groups = {dig_immediate=3, mesecon_receptor_off = 1, mesecon_effector_off = 1},
|
groups = {dig_immediate=3, mesecon_receptor_off = 1, mesecon_effector_off = 1},
|
||||||
description="Attached Lamp",
|
description="Mesecon Lamp",
|
||||||
sounds = default.node_sound_glass_defaults(),
|
sounds = default.node_sound_glass_defaults(),
|
||||||
mesecons = {effector = {
|
mesecons = {effector = {
|
||||||
action_on = function (pos, node)
|
action_on = function (pos, node)
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
The luacontroller is an advanced programmable component.
|
The Lua controller is an advanced programmable component.
|
||||||
You can simply code it in the language mesecons uses itself: Lua!
|
You can simply code it in the language Mesecons uses itself: Lua!
|
||||||
All the code runs in a sandbox, so it's completely safe (but I won't guarantee that for absolute certainty!).
|
All the code runs in a sandbox, so it's completely safe (but I won't guarantee that for absolute certainty!).
|
||||||
|
|
||||||
<a href="http://mesecons.net/luacontroller/">Documentation is available here!</a>
|
<a href="http://mesecons.net/luacontroller/">Documentation is available here!</a>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user