Commit Graph

37 Commits

Author SHA1 Message Date
Jude Melton-Houghton
6fc8c6a2c0 Fix issues with node movement and rotation 2022-05-05 11:13:31 -04:00
Jude Melton-Houghton
dfa43d6c0c
Make modpack mostly independent from MTG (#607) 2022-05-05 16:57:53 +02:00
Jude Melton-Houghton
fb255d292e
Add .luacheckrc and fix issues it pointed out (#589) 2022-02-12 20:12:12 +01:00
Awkor
e1cffdedbf
Gates: Modify appearance (#515) 2020-05-27 23:31:51 +02:00
DS
ff0bd76efe Set is_ground_content to false (#386) 2017-11-01 00:50:39 +03:00
numberZero
54b9eaffa2 Improve overheating (#334)
New overheating system that doesn’t use the meta.
2017-04-14 23:14:17 +04:00
Wuzzy
967bde284a Spell-check and clarify item names
* Fix inconsistent insulated mesecon names
* Clarify lightstone names
* Rename meselamp to "Mesecon Lamp"
* Use capitalization "Luacontroller" consistently
* Cleanup / improvements for logic gate naming
2017-03-07 19:04:05 +01:00
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
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
Novatux
f1ae54ed12 Try to fix gateswith serverstep code. 2014-01-11 07:24:42 +01: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