[mesecons] Add NOR and OR gates, and documentation
62
mods/mesecons/documentation.json
Normal file
@ -0,0 +1,62 @@
|
||||
{
|
||||
"Conductors" : {
|
||||
"Mesecon" : "mesecons/doc/mesecon",
|
||||
"Insulated Wire" : "mesecons_insulated/doc/insulated",
|
||||
"T-Junction" : "mesecons_extrawires/doc/tjunction",
|
||||
"Crossing" : "mesecons_extrawires/doc/crossing",
|
||||
"Corner" : "mesecons_extrawires/doc/corner",
|
||||
"Vertical Wire" : "mesecons_extrawires/doc/vertical",
|
||||
"Mese" : "mesecons_extrawires/doc/mese"
|
||||
},
|
||||
"Receptors" : {
|
||||
"Power Plant" : "mesecons_powerplant/doc/powerplant",
|
||||
"Blinky Plant" : "mesecons_blinkyplant/doc/blinkyplant",
|
||||
"Switch" : "mesecons_switch/doc/switch",
|
||||
"Object Detector" : "mesecons_detector/doc/objectdetector",
|
||||
"Node Detector" : "mesecons_detector/doc/nodedetector",
|
||||
"Wall Lever" : "mesecons_walllever/doc/walllever",
|
||||
"Pressure Plate" : "mesecons_pressureplates/doc/pressureplate_wood",
|
||||
"Pressure Plate" : "mesecons_pressureplates/doc/pressureplate_stone",
|
||||
"Water Turbine" : "mesecons_hydroturbine/doc/waterturbine",
|
||||
"Solar Panel" : "mesecons_solarpanel/doc/solarpanel",
|
||||
"Wall Button" : "mesecons_button/doc/button"
|
||||
},
|
||||
"Effectors" : {
|
||||
"Noteblock" : "mesecons_noteblock/doc/noteblock",
|
||||
"Lamp" : "mesecons_lamp/doc/lamp",
|
||||
"Piston" : "mesecons_pistons/doc/piston",
|
||||
"Sticky Piston" : "mesecons_pistons/doc/piston_sticky",
|
||||
"Movestone" : "mesecons_movestones/doc/movestone",
|
||||
"Sticky Movestone" : "mesecons_movestones/doc/movestone_sticky",
|
||||
"Removestone" : "mesecons_random/doc/removestone",
|
||||
"Ghoststone" : "mesecons_random/doc/ghoststone",
|
||||
"Command Block" : "mesecons_commandblock/doc/commandblock",
|
||||
"Lightstones" : {
|
||||
"Dark Grey" : "mesecons_lightstone/doc/lightstone_darkgrey",
|
||||
"Light Grey" : "mesecons_lightstone/doc/lightstone_lightgrey",
|
||||
"Green" : "mesecons_lightstone/doc/lightstone_green",
|
||||
"Red" : "mesecons_lightstone/doc/lightstone_red",
|
||||
"Blue" : "mesecons_lightstone/doc/lightstone_blue",
|
||||
"Yellow" : "mesecons_lightstone/doc/lightstone_yellow"
|
||||
}
|
||||
},
|
||||
"Logic" : {
|
||||
"Luacontroller" : "mesecons_luacontroller/doc/luacontroller",
|
||||
"Torch" : "mesecons_torch/doc/torch",
|
||||
"Delayer" : "mesecons_delayer/doc/delayer",
|
||||
"Gates" : {
|
||||
"Diode" : "mesecons_gates/doc/diode",
|
||||
"NOT Gate" : "mesecons_gates/doc/not",
|
||||
"AND Gate" : "mesecons_gates/doc/and",
|
||||
"NAND Gate" : "mesecons_gates/doc/nand",
|
||||
"OR Gate" : "mesecons_gates/doc/or",
|
||||
"NOR Gate" : "mesecons_gates/doc/nor",
|
||||
"XOR Gate" : "mesecons_gates/doc/xor"
|
||||
}
|
||||
},
|
||||
"Crafts" : {
|
||||
"Silicon" : "mesecons_materials/doc/silicon",
|
||||
"Glue" : "mesecons_materials/doc/glue",
|
||||
"Fiber" : "mesecons_materials/doc/fiber"
|
||||
}
|
||||
}
|
1
mods/mesecons/mesecons/doc/mesecon/description.html
Normal file
@ -0,0 +1 @@
|
||||
Mesecons are the wires, use them to connect effectors with receptors.
|
BIN
mods/mesecons/mesecons/doc/mesecon/preview.png
Executable file
After Width: | Height: | Size: 29 KiB |
BIN
mods/mesecons/mesecons/doc/mesecon/recipe.png
Normal file
After Width: | Height: | Size: 3.8 KiB |
Before Width: | Height: | Size: 430 B |
Before Width: | Height: | Size: 505 B |
Before Width: | Height: | Size: 671 B |
Before Width: | Height: | Size: 306 B |
Before Width: | Height: | Size: 723 B |
@ -0,0 +1 @@
|
||||
The blinky plants toggles between on and off state every three seconds. Can be used to make clocks. Also works after having restarted the game.
|
BIN
mods/mesecons/mesecons_blinkyplant/doc/blinkyplant/preview.png
Executable file
After Width: | Height: | Size: 65 KiB |
BIN
mods/mesecons/mesecons_blinkyplant/doc/blinkyplant/recipe.png
Normal file
After Width: | Height: | Size: 2.9 KiB |
@ -0,0 +1 @@
|
||||
This receptor can be attached to walls. It turns on for 1 second if it's punched.
|
BIN
mods/mesecons/mesecons_button/doc/button/preview.png
Normal file
After Width: | Height: | Size: 78 KiB |
BIN
mods/mesecons/mesecons_button/doc/button/recipe.png
Normal file
After Width: | Height: | Size: 7.8 KiB |
@ -0,0 +1 @@
|
||||
There is no crafting recipe as this should only be available for server admins. Quite similar to the Minecraft counterpart. Executes server commands.
|
BIN
mods/mesecons/mesecons_commandblock/doc/commandblock/preview.png
Normal file
After Width: | Height: | Size: 36 KiB |
@ -0,0 +1 @@
|
||||
The delayer delays the signal from the input for a determined time. The time can be set by punching the delayer. Possible delays are: 0.1 seconds, 0.3 seconds, 0.5 seconds and 1 second. You may try to use it for creating songs with the noteblock.
|
BIN
mods/mesecons/mesecons_delayer/doc/delayer/preview.png
Normal file
After Width: | Height: | Size: 61 KiB |
BIN
mods/mesecons/mesecons_delayer/doc/delayer/recipe.png
Normal file
After Width: | Height: | Size: 8.3 KiB |
@ -0,0 +1,6 @@
|
||||
The node detector is a receptor. It changes its state when either any node
|
||||
or a specific node is detected. Right-click it to set a nodename to scan for.
|
||||
It can also receive digiline signals. You can either send "GET" and it will
|
||||
respond with the detected nodename or you can send any other string and it will
|
||||
set this string as the node to scan for.
|
||||
Nodenames must include the mod they reside in, so for instance default:dirt, not just dirt.
|
BIN
mods/mesecons/mesecons_detector/doc/nodedetector/preview.png
Normal file
After Width: | Height: | Size: 48 KiB |
BIN
mods/mesecons/mesecons_detector/doc/nodedetector/recipe.png
Normal file
After Width: | Height: | Size: 9.8 KiB |
@ -0,0 +1,3 @@
|
||||
The object detector is a receptor. It changes its state when a player approaches.
|
||||
Right-click it to set a name to scan for.
|
||||
It can also receive digiline signals which are the name to scan for on the specified channel in the right-click menu.
|
BIN
mods/mesecons/mesecons_detector/doc/objectdetector/preview.png
Normal file
After Width: | Height: | Size: 84 KiB |
BIN
mods/mesecons/mesecons_detector/doc/objectdetector/recipe.png
Normal file
After Width: | Height: | Size: 9.6 KiB |
@ -0,0 +1 @@
|
||||
Insulated corners are conductors that only conduct between the inputs (also not up or down). When placing they always point to the left in direction of your vision.
|
BIN
mods/mesecons/mesecons_extrawires/doc/corner/preview.png
Normal file
After Width: | Height: | Size: 41 KiB |
BIN
mods/mesecons/mesecons_extrawires/doc/corner/recipe.png
Normal file
After Width: | Height: | Size: 3.8 KiB |
@ -0,0 +1 @@
|
||||
Insulated crossing are conductors that conduct two signals between the opposing sides, the signals are insulated to each other.
|
BIN
mods/mesecons/mesecons_extrawires/doc/crossing/preview.png
Normal file
After Width: | Height: | Size: 61 KiB |
BIN
mods/mesecons/mesecons_extrawires/doc/crossing/recipe.png
Normal file
After Width: | Height: | Size: 3.7 KiB |
@ -0,0 +1 @@
|
||||
The basic prerequesite for mesecons, can be crafted into wires and other stuff. Have a look at the <a href="http://wiki.minetest.net/Mese">Minetest Wiki</a> for more information. Mese is a conductor. It conducts in all six directions: Up/Down/Left/Right/Forward/Backward
|
BIN
mods/mesecons/mesecons_extrawires/doc/mese/preview.png
Normal file
After Width: | Height: | Size: 30 KiB |
BIN
mods/mesecons/mesecons_extrawires/doc/mese/recipe.png
Normal file
After Width: | Height: | Size: 6.1 KiB |
@ -0,0 +1 @@
|
||||
Insulated T-Junctions are conductors that only conduct between the inputs (also not up or down).
|
BIN
mods/mesecons/mesecons_extrawires/doc/tjunction/preview.png
Normal file
After Width: | Height: | Size: 54 KiB |
BIN
mods/mesecons/mesecons_extrawires/doc/tjunction/recipe.png
Normal file
After Width: | Height: | Size: 3.9 KiB |
@ -0,0 +1 @@
|
||||
Vertical Mesecons only conduct up and down. Plates appear at the ends, at that place they also conduct to the side.
|
BIN
mods/mesecons/mesecons_extrawires/doc/vertical/preview.png
Normal file
After Width: | Height: | Size: 14 KiB |
BIN
mods/mesecons/mesecons_extrawires/doc/vertical/recipe.png
Normal file
After Width: | Height: | Size: 3.0 KiB |
1
mods/mesecons/mesecons_gates/doc/and/description.html
Normal file
@ -0,0 +1 @@
|
||||
And gates power their output if both inputs (from left and right) are powered.
|
BIN
mods/mesecons/mesecons_gates/doc/and/preview.png
Normal file
After Width: | Height: | Size: 68 KiB |
BIN
mods/mesecons/mesecons_gates/doc/and/recipe.png
Normal file
After Width: | Height: | Size: 2.7 KiB |
1
mods/mesecons/mesecons_gates/doc/diode/description.html
Normal file
@ -0,0 +1 @@
|
||||
Mesecon diodes, just like real ones, only transfer power (signals) in one direction only.
|
BIN
mods/mesecons/mesecons_gates/doc/diode/preview.png
Normal file
After Width: | Height: | Size: 71 KiB |
BIN
mods/mesecons/mesecons_gates/doc/diode/recipe.png
Normal file
After Width: | Height: | Size: 2.0 KiB |
1
mods/mesecons/mesecons_gates/doc/nand/description.html
Normal file
@ -0,0 +1 @@
|
||||
Nand gates do not power their output if both inputs (from left and right) are powered, but power it in every other case.
|
BIN
mods/mesecons/mesecons_gates/doc/nand/preview.png
Normal file
After Width: | Height: | Size: 62 KiB |
BIN
mods/mesecons/mesecons_gates/doc/nand/recipe.png
Normal file
After Width: | Height: | Size: 2.7 KiB |
1
mods/mesecons/mesecons_gates/doc/nor/description.html
Normal file
@ -0,0 +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.
|
BIN
mods/mesecons/mesecons_gates/doc/nor/preview.png
Normal file
After Width: | Height: | Size: 26 KiB |
BIN
mods/mesecons/mesecons_gates/doc/nor/recipe.png
Normal file
After Width: | Height: | Size: 2.4 KiB |
1
mods/mesecons/mesecons_gates/doc/not/description.html
Normal file
@ -0,0 +1 @@
|
||||
Not gates invert signals, just like a mesecon torch does, but faster. The input is at the opposite side of the output.
|
BIN
mods/mesecons/mesecons_gates/doc/not/preview.png
Normal file
After Width: | Height: | Size: 69 KiB |
BIN
mods/mesecons/mesecons_gates/doc/not/recipe.png
Normal file
After Width: | Height: | Size: 2.0 KiB |
1
mods/mesecons/mesecons_gates/doc/or/description.html
Normal file
@ -0,0 +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.
|
BIN
mods/mesecons/mesecons_gates/doc/or/preview.png
Normal file
After Width: | Height: | Size: 26 KiB |
BIN
mods/mesecons/mesecons_gates/doc/or/recipe.png
Normal file
After Width: | Height: | Size: 2.4 KiB |
1
mods/mesecons/mesecons_gates/doc/xor/description.html
Normal file
@ -0,0 +1 @@
|
||||
XOR gates power their output if only one input is powered, they're off if either both or none of the inputs is powered.
|
BIN
mods/mesecons/mesecons_gates/doc/xor/preview.png
Normal file
After Width: | Height: | Size: 69 KiB |
BIN
mods/mesecons/mesecons_gates/doc/xor/recipe.png
Normal file
After Width: | Height: | Size: 2.6 KiB |
@ -122,3 +122,13 @@ register_gate("xor", 2, function (val1, val2) return (val1 or val2) and not (val
|
||||
{{"mesecons:mesecon", "", ""},
|
||||
{"", "mesecons_materials:silicon", "mesecons_materials:silicon"},
|
||||
{"mesecons:mesecon", "", ""}})
|
||||
|
||||
register_gate("nor", 2, function (val1, val2) return not (val1 or val2) end,
|
||||
{{"mesecons:mesecon", "", ""},
|
||||
{"", "mesecons_materials:mesecon_torch_on", "mesecons_materials:silicon"},
|
||||
{"mesecons:mesecon", "", ""}})
|
||||
|
||||
register_gate("or", 2, function (val1, val2) return (val1 or val2) end,
|
||||
{{"mesecons:mesecon", "", ""},
|
||||
{"", "mesecons:mesecon", "mesecons:mesecon"},
|
||||
{"mesecons:mesecon", "", ""}})
|
||||
|
BIN
mods/mesecons/mesecons_gates/textures/jeija_gate_nor.png
Normal file
After Width: | Height: | Size: 251 B |
BIN
mods/mesecons/mesecons_gates/textures/jeija_gate_or.png
Normal file
After Width: | Height: | Size: 243 B |
@ -0,0 +1 @@
|
||||
Water turbines are receptors that turn on if flowing water is above them.
|
BIN
mods/mesecons/mesecons_hydroturbine/doc/waterturbine/preview.png
Normal file
After Width: | Height: | Size: 33 KiB |
BIN
mods/mesecons/mesecons_hydroturbine/doc/waterturbine/recipe.png
Normal file
After Width: | Height: | Size: 8.0 KiB |
@ -0,0 +1 @@
|
||||
Insulated mesecons are conductors that only conduct in one direction (and also not up or down).
|
BIN
mods/mesecons/mesecons_insulated/doc/insulated/preview.png
Normal file
After Width: | Height: | Size: 43 KiB |
BIN
mods/mesecons/mesecons_insulated/doc/insulated/recipe.png
Normal file
After Width: | Height: | Size: 4.6 KiB |
1
mods/mesecons/mesecons_lamp/doc/lamp/description.html
Normal file
@ -0,0 +1 @@
|
||||
Lamps are effectors that if powered emit light.
|
BIN
mods/mesecons/mesecons_lamp/doc/lamp/preview.png
Normal file
After Width: | Height: | Size: 34 KiB |
BIN
mods/mesecons/mesecons_lamp/doc/lamp/recipe.png
Normal file
After Width: | Height: | Size: 4.4 KiB |
@ -0,0 +1 @@
|
||||
Effector, glows blue when powered.
|
After Width: | Height: | Size: 36 KiB |
BIN
mods/mesecons/mesecons_lightstone/doc/lightstone_blue/recipe.png
Normal file
After Width: | Height: | Size: 4.3 KiB |
@ -0,0 +1 @@
|
||||
Effector, glows dark grey when powered.
|
After Width: | Height: | Size: 43 KiB |
After Width: | Height: | Size: 4.5 KiB |
@ -0,0 +1 @@
|
||||
Effector, glows green when powered.
|
After Width: | Height: | Size: 48 KiB |
After Width: | Height: | Size: 4.5 KiB |
@ -0,0 +1 @@
|
||||
Effector, glows light grey when powered.
|
After Width: | Height: | Size: 44 KiB |
After Width: | Height: | Size: 4.6 KiB |
@ -0,0 +1 @@
|
||||
Effector, glows red when powered.
|
BIN
mods/mesecons/mesecons_lightstone/doc/lightstone_red/preview.png
Normal file
After Width: | Height: | Size: 31 KiB |
BIN
mods/mesecons/mesecons_lightstone/doc/lightstone_red/recipe.png
Normal file
After Width: | Height: | Size: 3.9 KiB |
@ -0,0 +1 @@
|
||||
Effector, glows yellow when powered.
|
After Width: | Height: | Size: 28 KiB |
After Width: | Height: | Size: 4.4 KiB |
@ -0,0 +1,5 @@
|
||||
The luacontroller is an advanced programmable component.
|
||||
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!).
|
||||
|
||||
<a href="http://mesecons.net/luacontroller/">Documentation is available here!</a>
|
After Width: | Height: | Size: 66 KiB |
After Width: | Height: | Size: 5.4 KiB |
@ -0,0 +1 @@
|
||||
Craftitem: It can't be placed! Made by cooking glue in the furnace. Used for insulated mesecon crafting.
|
BIN
mods/mesecons/mesecons_materials/doc/fiber/preview.png
Normal file
After Width: | Height: | Size: 86 KiB |
BIN
mods/mesecons/mesecons_materials/doc/fiber/recipe.png
Normal file
After Width: | Height: | Size: 4.6 KiB |
@ -0,0 +1 @@
|
||||
Craftitem: It can't be placed! Made by cooking saplings in furnace. Used for sticky pistons and sticky movestones.
|
BIN
mods/mesecons/mesecons_materials/doc/glue/preview.png
Normal file
After Width: | Height: | Size: 47 KiB |