mirror of
https://gitlab.com/deetmit/mesecons_x.git
synced 2024-07-07 08:25:29 +02:00
update
This commit is contained in:
parent
a332d55bd8
commit
9a70a68db6
48
README.md
48
README.md
@ -1,5 +1,6 @@
|
|||||||
mesecons_x by marek
|
mesecons_x by marek
|
||||||
|
|
||||||
|
|
||||||
Adds some new elements to Mesecons mod, to make it easier to build more complex circuits.
|
Adds some new elements to Mesecons mod, to make it easier to build more complex circuits.
|
||||||
|
|
||||||
|
|
||||||
@ -8,7 +9,46 @@ Adds some new elements to Mesecons mod, to make it easier to build more complex
|
|||||||
|
|
||||||
New elements:
|
New elements:
|
||||||
|
|
||||||
- autowire tool, creates wires automatically (left click to select 'from', right click to select 'to')
|
Tools.
|
||||||
- autodelete tool, removes wires automatically (left clik removes one block, right click removes entire wire)
|
- autowire tool (black)
|
||||||
- 3input logic gates
|
Creates wires automaticaly by selectin starting position (left click) and ending position (right click).
|
||||||
- registers: latch and flipflop
|
You can keep clicking right, to continue the wire. The wire will automaticaly bend and go over other wires
|
||||||
|
if possible. Click on other wire to connect to the existing wire
|
||||||
|
|
||||||
|
- autodelete tool (red)
|
||||||
|
Removes wires automaticaly. Left click is simple puch. Right click removes the entire wire
|
||||||
|
to the next junction.
|
||||||
|
|
||||||
|
If you click on a junction, it will delete all wires that goes out of the junction.
|
||||||
|
If you click on a gate, it will remove the gate and all adjacent (=connected) wires.
|
||||||
|
|
||||||
|
If you click right on the air, it will remove the selected area.
|
||||||
|
|
||||||
|
- select tool (blue)
|
||||||
|
Selects the area. Left click selects pos1, right click selects pos2.
|
||||||
|
Left click on air removes selection.
|
||||||
|
|
||||||
|
- automove tool (yellow)
|
||||||
|
Allows you to move circuit, or part of the circuit without disconnecting wires.
|
||||||
|
Left click moves to the left, right click moves to the right. You must face proper direction.
|
||||||
|
Use blue tool to select region.
|
||||||
|
|
||||||
|
- circuit (blue book)
|
||||||
|
Allows you to store your circuit, and paste it in other places.
|
||||||
|
Left click on air saves the circuit (selecion must be active).
|
||||||
|
Left click on block creates selection of the circuit.
|
||||||
|
Right click paste the circuit.
|
||||||
|
|
||||||
|
Other elements.
|
||||||
|
- 3 input logic gates: and, or, nand, nor
|
||||||
|
- latch and flipflop
|
||||||
|
- insulated xjunction
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Keep in ming that it's still work in progress.
|
||||||
|
TODO list:
|
||||||
|
- add support for multiple users (right now only one user can use the tools, everything is shared)
|
||||||
|
- add page and book to keep multiple circuits in one place
|
||||||
|
- improve algorithm for autoconnection of the wires when the circuit is moved
|
||||||
|
|
||||||
|
@ -66,7 +66,7 @@ local function update_gate3(pos, node, link, newstate)
|
|||||||
end
|
end
|
||||||
|
|
||||||
local function register_gate(name, assess, recipe, description)
|
local function register_gate(name, assess, recipe, description)
|
||||||
description = "Logic Gate: "..name
|
local description = "Logic Gate: "..name
|
||||||
|
|
||||||
local basename = "mesecons_gates3:"..name
|
local basename = "mesecons_gates3:"..name
|
||||||
mesecon.register_node(basename, {
|
mesecon.register_node(basename, {
|
||||||
|
@ -45,7 +45,7 @@ minetest.register_node("mesecons_morewires:xjunction_on", {
|
|||||||
selection_box = xjunction_selectionbox,
|
selection_box = xjunction_selectionbox,
|
||||||
node_box = xjunction_nodebox,
|
node_box = xjunction_nodebox,
|
||||||
groups = {dig_immediate = 3, not_in_creative_inventory = 1},
|
groups = {dig_immediate = 3, not_in_creative_inventory = 1},
|
||||||
drop = "mesecons_extrawires:xjunction_off",
|
drop = "mesecons_morewires:xjunction_off",
|
||||||
sounds = default.node_sound_defaults(),
|
sounds = default.node_sound_defaults(),
|
||||||
mesecons = {conductor =
|
mesecons = {conductor =
|
||||||
{
|
{
|
||||||
|
@ -83,7 +83,7 @@ end
|
|||||||
|
|
||||||
local function register_latch()
|
local function register_latch()
|
||||||
local name = "latch"
|
local name = "latch"
|
||||||
description = "Logic Memory Circuit: "..name
|
local description = "Logic Memory Circuit: "..name
|
||||||
|
|
||||||
local basename = "mesecons_regs:"..name
|
local basename = "mesecons_regs:"..name
|
||||||
mesecon.register_node(basename,
|
mesecon.register_node(basename,
|
||||||
|
BIN
picture.png
BIN
picture.png
Binary file not shown.
Before Width: | Height: | Size: 321 KiB After Width: | Height: | Size: 334 KiB |
Loading…
Reference in New Issue
Block a user