[Mod] LW Wires [0.1.9] [lwwires]

Post Reply
loosewheel
Member
Posts: 155
Joined: Mon Dec 28, 2020 01:19
GitHub: loosewheel
In-game: loosewheel

[Mod] LW Wires [0.1.9] [lwwires]

by loosewheel » Post

This mod provides wires, bundle cables and bundle blocks. 16 colored wires and 16 colored bundle cables. Bundle blocks are the same as bundle cables but full node size.

Image

Version
0.1.9

Minetest Version
This mod was developed on version 5.4.1

Dependencies
default
mesecons
dye

Optional Dependencies
intllib
digilines
mesecons_blinkyplant
mesecons_button
mesecons_commandblock
mesecons_delayer
mesecons_detector
mesecons_extrawires
mesecons_fpga
mesecons_gates
mesecons_hydroturbine
mesecons_lamp
mesecons_lightstone
mesecons_luacontroller
mesecons_microcontroller
mesecons_movestones
mesecons_noteblock
mesecons_pistons
mesecons_powerplant
mesecons_pressureplates
mesecons_random
mesecons_receiver
mesecons_solarpanel
mesecons_switch
mesecons_torch
mesecons_walllever
area_containers
tnt

Licence
  • Code licence: LGPL 2.1
  • Media licence: CC-BY-SA 3.0
Limitations
Breaking or placing wires sends notifications for that color even if the power state wasn't changed at the notified position. (See definition interface in mod_api.txt about notifications).

Individual mesecons circuits connected to wires may flick off and then on if multiple power sources are connected via the wires, and the power source connected to the mesecons circuit is turned off.

If wires visually connect to a mesecons item they connect on any side. This is only visual and only functionally connect on the sides the item can.

If mesecons devices are moved against wires (as with pistons) they are not automatically activated if the circuit is on.

Through Wires and Terminals
Through wires and terminals penetrate a block to connect to a mesecons device on the opposing side. The device must have the necessary rules to accommodate the connection (such as levers and buttons).

Through wires penetrate the surface they are placed against and transmit in the other 5 directions.

Terminals only penetrate in a horizontal direction and only transmit in the downward direction.

Two through wires or terminals placed one to two blocks apart opposing each other will transmit power.

Bundle Switch
The bundle switch is only defined if digilines is loaded. The bundle switch controls every bundle cable on any of the 6 sides with digilines messages. See readme.txt for usage.

Wire colors and numbers
black = 0
orange = 1
magenta = 2
sky = 3
yellow = 4
pink = 5
cyan = 6
gray = 7
silver = 8
red = 9
green = 10
blue = 11
brown = 12
lime = 13
purple = 14
white = 15

An api is exposed to interact with the mod. See mod_api.txt.
Black Wire
Image

Orange Wire
Image

Magenta Wire
Image

Sky Wire
Image

Yellow Wire
Image

Pink Wire
Image

Cyan Wire
Image

Gray Wire
Image

Silver Wire
Image

Red Wire
Image

Green Wire
Image

Blue Wire
Image

Brown Wire
Image

Lime Wire
Image

Purple Wire
Image

White Wire
Image

Black Bundle
Image

Orange Bundle
Image

Magenta Bundle
Image

Sky Bundle
Image

Yellow Bundle
Image

Pink Bundle
Image

Cyan Bundle
Image

Gray Bundle
Image

Silver Bundle
Image

Red Bundle
Image

Green Bundle
Image

Blue Bundle
Image

Brown Bundle
Image

Lime Bundle
Image

Purple Bundle
Image

White Bundle
Image

Bundle Blocks
Image

Through Wire
Image

Terminal
Image

Bundle Switch
Image Github
Download, extract to mods folder and rename to "lwwires".
Last edited by loosewheel on Mon May 23, 2022 10:09, edited 9 times in total.

loosewheel
Member
Posts: 155
Joined: Mon Dec 28, 2020 01:19
GitHub: loosewheel
In-game: loosewheel

Re: [Mod] LW Wires [0.1.1] [lwwires]

by loosewheel » Post

Update v0.1.1
  • Changed state response message to current_state.
  • Changed power response message to current_power.
  • Darkened cyan wire color.
  • Improved power state on place and dig.
  • Improved circuit analysis.
  • Added bundle blocks.
  • Mesecons conductors and effectors turn on when placed on a live wire.

loosewheel
Member
Posts: 155
Joined: Mon Dec 28, 2020 01:19
GitHub: loosewheel
In-game: loosewheel

Re: [Mod] LW Wires [0.1.2] [lwwires]

by loosewheel » Post

Update v0.1.2
  • Improved circuit analysis.
  • Improved mesecons integration.

loosewheel
Member
Posts: 155
Joined: Mon Dec 28, 2020 01:19
GitHub: loosewheel
In-game: loosewheel

Re: [Mod] LW Wires [0.1.3] [lwwires]

by loosewheel » Post

Update v0.1.3
  • Visually connects to more items.
  • Fixed bundles and wires selection box.
  • Improved mesecons integration for complex devices.

loosewheel
Member
Posts: 155
Joined: Mon Dec 28, 2020 01:19
GitHub: loosewheel
In-game: loosewheel

Re: [Mod] LW Wires [0.1.4] [lwwires]

by loosewheel » Post

Update v0.1.4
  • Improved notifications.

loosewheel
Member
Posts: 155
Joined: Mon Dec 28, 2020 01:19
GitHub: loosewheel
In-game: loosewheel

Re: [Mod] LW Wires [0.1.5] [lwwires]

by loosewheel » Post

Update v0.1.5
  • Added through wire.
  • Added terminal.
  • Improved connection compatibility (visual) with mesecons items.
Through wires and terminals penetrate a block to connect to a mesecons device on the opposing side. The device must have the necessary rules to accommodate the connection (such as levers and buttons).

Through wires penetrate the surface they are placed against and transmit in the other 5 directions.
Image

Terminals only penetrate in a horizontal direction and only transmit in the downward direction.
Image

Two through wires or terminals placed one to two blocks apart opposing each other will transmit power.

loosewheel
Member
Posts: 155
Joined: Mon Dec 28, 2020 01:19
GitHub: loosewheel
In-game: loosewheel

Re: [Mod] LW Wires [0.1.6] [lwwires]

by loosewheel » Post

Update v0.1.6
  • Improved visible connection to through wires.
  • Improved circuit reaction.
The type of node was changed for through wires and cannot connect in diagonal directions. The node is more complex and has a different naming scheme. The old ones will show as unknown items. If these are an issue for anyone let me know.

loosewheel
Member
Posts: 155
Joined: Mon Dec 28, 2020 01:19
GitHub: loosewheel
In-game: loosewheel

Re: [Mod] LW Wires [0.1.7] [lwwires]

by loosewheel » Post

Update v0.1.7
  • Added per node lockout to wires to avoid inappropriate mesecons action.
  • Improved mesecons integration to avoid recursive loop back.

loosewheel
Member
Posts: 155
Joined: Mon Dec 28, 2020 01:19
GitHub: loosewheel
In-game: loosewheel

Re: [Mod] LW Wires [0.1.9] [lwwires]

by loosewheel » Post

Update v0.1.9
  • Added bundle_pos parameter to bundle_on and bundle_off interface callbacks.
  • Fixed return value in lwwires.bundle_on and lwwires.bundle_off.

loosewheel
Member
Posts: 155
Joined: Mon Dec 28, 2020 01:19
GitHub: loosewheel
In-game: loosewheel

Re: [Mod] LW Wires [0.1.9] [lwwires]

by loosewheel » Post

Due to actions by some members of the maintenance team of Minetest it appears obvious that this is not a FOSS project. ContentDB stopped updating from Github weeks ago. Continuing with the mod appears pointless as they are primarily inaccessible, and I have no interest contributing to an exclusive interest project. This mod was released under an open license so it can obviously be forked, if there is any interest to do so.

viewtopic.php?p=415477#p415477

User avatar
j0j0n4th4n
Member
Posts: 249
Joined: Tue Jan 26, 2021 06:45

Re: [Mod] LW Wires [0.1.9] [lwwires]

by j0j0n4th4n » Post

This mod is listed as WIP, does it have new features planned?
cdb_894a100ddd76

Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests