diff --git a/README.md b/README.md new file mode 100644 index 0000000..a1d6660 --- /dev/null +++ b/README.md @@ -0,0 +1,16 @@ +# MoreMesecons + +Based on Mesecons by Jeija + +MoreMesecons is a mod for minetest wich add some mesecons items. + +### New items + +* `Adjustable Blinky plant` : Like a mesecons blinky plant, but... adjustable. Right-click to change the interval. +* `Craftable Command Block` : A command block with just some commands accepted. The admin can change the accepted command (first line of the init.lua), default "say" and "tell". +* `Player Killer` : This block kills the nearest player (with a maximal distance of 8 blocks by default) (if this player isn't its owner) when it receives a mesecons signal. +* `Signal Changer` : If it receives a signal on its pin "F", it turns on. If ti receives a signal on its pin "O", it turns off. +* `Switch Torch` : It connects just like Mesecons Torch. If it receives a signal, it turns on, and if it receives a second signal, it turns off. +* `Teleporter` : Both parties teleporters must be on the same axis. +* `Temporary Gate` : If it receives a mesecons signal, whatever its duration, a mesecons signal is send with a fixed duration. You can change it by right-click (in seconds) (you can write for example 0.2 to send a pulse, or 20 to send long signals). +* `Wireless` : Put 2 (or more) wireless somewhere. Change their channel by right-click. If you send a signal to a wireless, every wireless wich have the same channel will send the signal. diff --git a/README.txt b/README.txt deleted file mode 100644 index e2efdce..0000000 --- a/README.txt +++ /dev/null @@ -1,15 +0,0 @@ -MOREMESECONS -By palige -Based on Mesecons by Jeija -With the participation of Mg - -MoreMesecons add few mesecons objects to simplify circuits and add new possibilities. - -NEW NODES ARE : - SWITCH TORCH : This torch must be connected like a mesetorch. On the first mesecons signal, it switch on. On the second mesecons signal, it switch off. This is a switch controlled by a mesecons signal. You can use it like a memory for example. - TEMPORARY GATE : This node must be connected like a mesecons delayer. If it receive a signal (short or long), it send a signal of duration can be modified by punch (1, 2, 3 or 4 seconds). - ADJUSTABLE BLINKY PLANT : Like a blinky plant, but you can change the signal duration with a right click. - PLAYER KILLER : This node must be connected like a player detector. If it receive a mesecons signal, the nearest player of player killer died. The maximal distance is 8. - TELEPORTER : This node teleports the nearest player at the position of the other teleporter in the same line (two identical directions (x, z or y). For example, first teleporter is at 33,10,-1057 ; and the second can be at 33,56,-1057 but NOT in 30,56,-1057.). They must are 2 teleporters. - WIRELESS : If you want to send a mesecons signal on very long distance, when you can't use "Mesecons", you can use "wireless" ! Put 2 wireless (or more if you want), type the channel and send a signal to the first : the second re-send it ! - CRAFTABLE COMMAND BLOCK : You can't use command block in survival... So, MoreMesecons introduce the Craftable Command Block. You can choose authorized commands : just set the "accepted_commands" list on the begin of the init.lua file. If you don't give any commands, all commands will be accepted. This is especially useful for servers administrators. \ No newline at end of file diff --git a/moremesecons/depends.txt b/moremesecons/depends.txt deleted file mode 100644 index 7ebf50c..0000000 --- a/moremesecons/depends.txt +++ /dev/null @@ -1 +0,0 @@ -mesecons \ No newline at end of file diff --git a/moremesecons/init.lua b/moremesecons/init.lua deleted file mode 100644 index 359b8b3..0000000 --- a/moremesecons/init.lua +++ /dev/null @@ -1 +0,0 @@ -print("[OK] MoreMesecons") diff --git a/moremesecons/init.lua~ b/moremesecons/init.lua~ deleted file mode 100644 index e69de29..0000000 diff --git a/moremesecons_commandblock/init.lua b/moremesecons_commandblock/init.lua index 69c2803..68b571d 100644 --- a/moremesecons_commandblock/init.lua +++ b/moremesecons_commandblock/init.lua @@ -1,4 +1,4 @@ -accepted_commands = {"say", "tell"} -- Authorized commands. Any to accept all. +local accepted_commands = {"say", "tell"} -- Authorized commands. Any to accept all. local function initialize_data(meta) local commands = meta:get_string("commands")