Commit Graph

33 Commits

Author SHA1 Message Date
sfan5
c2e3d7c4e5 Fix most of the namespace pollutions reported in #311 2017-01-15 11:53:49 +01:00
Jeija
a6b28d1f11 Gates: Update nor gate craft recipe, fixes #243 2015-12-15 22:25:39 +01:00
Jeija
0ec771bf7d Major change: Documentation is now included with mesecons, the website just 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.
2015-11-20 20:14:50 +01:00
Jeija
75bd081a67 Gates: Add OR and NOR gate 2015-11-20 20:13:59 +01:00
Jeija
80648b6c14 Fix #198 by adding gates to the "overheat" group 2015-01-03 14:04:18 +01:00
Jeija
c326dc221a Rewrite Logic Gates: Makes it super-easy to add new gates and cleans up code
Fix bugs in the Luacontroller (when placing, false input pin values were given) and fix variables
leaking into the global environment in pistons.
2014-11-29 15:08:37 +01:00
Jeija
5be179bf11 Replace mesecon:<some_function> with mesecon.<some_function> for greater
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.
2014-11-22 15:42:22 +01:00
Jeija
300abcb587 Fix #155 (option 2 used). Remove non-ActionQueue system. Enable overheat for more than 20 actions per second on lua- / microcontrollers and gates.
Fix a bug where a burnt luacontroller didn't have the correct pin-states as the burnt controller does not register any changes from outside.
2014-04-20 21:51:17 +02:00
Jeija
8a71f51b26 Merge branch 'actionqueue'
This introduces the ActionQueue, a new kind of MESECONS_GLOBALSTEP.
Circuits using delayers will now resume when restarting the server.
Also, large circuits should automatically resume if parts of them are
in unloaded chunks.
Old circuits e.g. using gates will not resume when mesecons is updated,
which means you have to restart them once. But after that, it should work
just like it used to.
This will fix a lot of stuff but may also introduce some new bugs.
So please report them!
2014-01-19 13:59:22 +01:00
Novatux
f1ae54ed12 Try to fix gateswith serverstep code. 2014-01-11 07:24:42 +01:00
ShadowNinja
de6dd30745 Move textures into their mods 2014-01-10 13:13:02 -05:00
Uberi
16b4b79c51 Update code to standards of Minetest 0.4.8. 2013-11-30 22:13:00 -05:00
Vanessa Ezekowitz
f46bc329de Use minetest.swap_node() instead of mesecons' version, Minor code changes
here and there to facilitate this.
2013-11-30 20:34:55 -05:00
Novatux
edc10dac47 Add an ABM function which resets heat to 0, since gates/controllers won't be cooled normally if they are moved (piston, etc...) during the cooling delay. 2013-06-05 06:45:19 +02:00
Anthony Zhang
3792b692aa Digging and footstep sounds for everything that needs them! Plus, pushing buttons, punching switches, and flipping levers all make sounds. 2013-03-06 20:51:57 -05:00
Jeija
841bc70b97 Fix a bug that occured when using a receptor placed directly next to a
gate.
We need to call a changesignal even if the gate/other effector is still
connected to a power source in a way.
2013-01-09 16:56:25 +01:00
Anthony Zhang
17579a6aa1 Fix gates drop bug reported by kaeza and Kacey, avoid polluting the global namespace. 2013-01-06 14:09:54 -05:00
Jeija
5904abbd79 Port gates (finally) 2012-12-10 19:46:24 +01:00
Jeija
d5825f9602 Fix insulated mesecon 2012-12-10 17:19:30 +01:00
Kyle
6aa330e85c depend on mesecons_delayer's all_rules instead of getting both insulated
and microcontroller rules
2012-09-05 10:09:53 -07:00
Kyle
9fbc4b4587 went back to large nodeboxes which agree with inventory image 2012-09-04 21:22:29 -07:00
Kyle
17fc6ac1f0 FACEDIR! (among other things) 2012-09-04 21:16:32 -07:00
Kyle
e65c5ca9dc nodeboxes now show which sides connect 2012-09-03 11:50:43 -07:00
Kyle
b0142a7429 flat inventory image for easy gate identification 2012-09-01 23:27:23 -07:00
Kyle
845c275121 registering the on receptor makes placing a mesecon on the out port of
the gate update the circuitry after it
2012-09-01 22:06:25 -07:00
Kyle
0f7a87538d (oops) forgot the "out" connection 2012-09-01 18:59:10 -07:00
Kyle
6f1296198c simplified effector rules 2012-09-01 18:53:31 -07:00
Kyle
dc3fc4deb5 cut set_gate in half 2012-09-01 18:26:15 -07:00
Kyle
9af83593ac added recipes 2012-09-01 17:07:00 -07:00
Kyle
efd06143b1 gates overheat 2012-09-01 16:10:23 -07:00
Kyle
b44f443fb2 nodeboxes 2012-09-01 13:48:16 -07:00
Kyle
f93930a478 gate output works 2012-09-01 13:07:18 -07:00
Kyle
6147c385cc initial gates commit, logic behind gates works, more work to do. 2012-09-01 01:23:15 -07:00