Age | Commit message (Collapse) | Author |
|
Fixes #289
|
|
The update_autoconnect function had to be abstracted away from the
default wires, any kind of wire can now register autoconnect hooks,
which should make having multiple different wire types much easier.
mesecons_mvps, mesecons_receiver and mesecons_random made use of
update_autoconnect, their code was also adapted. This also fixes a
receiver bug: If a receiver was placed with a onstate receptor next
to it (but not the wall lever / button that caused the receiver to
appear) the receiver didn't turn on in the past.
Also move documentation for mesecon wire into mesecons_wire.
|
|
|
|
functions
|
|
flexibility and because it was never inteded to be OOP in the first
place.
mesecon.receptor_on and mesecon.receptor_off are provided by wrappers
(mesecon:receptor_on/off) for compatibility, but will be removed. Mod
programmers that use mesecons: Please update!
Also, fix microcontroller polluting the global namespace and remove some
deprecated stuff.
|
|
|
|
buttons, punching switches, and flipping levers all make sounds.
|
|
|
|
|
|
extrawire crossing) to the new nodedef system. There are some problems with wall button and wall lever (in the way they visually connect to wires)
|
|
|
|
Trapstone disappears upon mesecon signals, but unlike removestone, reappears after the mesecon signal turns off.
|
|
|
|
mesecon:register_effector(onstate, offstate, rules, function get_rules) rules and function get_rules are optional. You don't have to specify both onstate and offstate (required for e.g. removestone)
|
|
|
|
fixed deprecated/invalid recipes in lightstones.
fixed copy&paste error in one of the delayer textures
fixed recipe for player detector to rely on microcontroller instead of old IC
|
|
|
|
visibly connect to neighboring wires.
|
|
|
|
|
|
|
|
mod into several modules - [BUGGY?]
|