Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
Fixes a part of #290.
|
|
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
|
|
extracts the documentation in a more readable format
This makes development of new features easier, as documentation can automatically be updated on the website without modifying the website's code!
Every mod that has nodes in the mesecons modpack has a "doc" folder that contains subfolders with recipe, description and preview of the block. The website will discover which documentation is available
by reading the documentation.json file.
|
|
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?]
|