Commit Graph

91 Commits

Author SHA1 Message Date
mruncreative
0a4651c33c
Changes to torch and delayer appearance (#669)
* plantlike, x-shaped torch
* removed separate LEDs for luacontroller since already contained in base mod it depends on
* changed delayer textures to be more consistent with other gates
* Reduced the amount of textures needed for pistons with texture modifiers. Will continue to work fine with all existing texturepacks. No change in graphics.
* use luacontroller_LED instead of microcontroller_LED to prevent breaking the digistuff mod which inherits it. I hope no mods inherit microcontroller LED.
2024-06-08 13:43:47 +02:00
Wuzzy
b318aadd0a
Translate Mesecons to German (#636) 2023-08-05 12:57:46 +02:00
jolesh
2ede29df9c
Add Esperanto translation (#625) 2022-12-01 18:33:19 +01:00
fluxionary
da57a6214a
microcontroller: fix unsafe pattern usage (#620) 2022-08-01 17:27:05 +02:00
Jude Melton-Houghton
dfa43d6c0c
Make modpack mostly independent from MTG (#607) 2022-05-05 16:57:53 +02:00
Jude Melton-Houghton
0d9e0274ae
Prevent extra pin events with luacontrollers, microcontrollers, and FPGAs (#593) 2022-02-27 21:12:37 +01:00
Jude Melton-Houghton
1d30891349 Move default dependency to individual mods that need it 2022-02-19 17:13:31 +01:00
Jude Melton-Houghton
fb255d292e
Add .luacheckrc and fix issues it pointed out (#589) 2022-02-12 20:12:12 +01:00
David Leal
168a923665
Use mod.conf for dependencies (#492) 2020-06-27 02:26:14 +03:00
Hugo Locurcio
8baa789eb1 Optimize images (#464)
Recompress losslessly using `optipng` and `advpng`
2019-06-27 22:33:11 +03:00
ne-vlezay80
df4e880d8b Fix crash in microcontroller (#439)
Add check nil var with bug from crash server.
fixes #438
2018-11-06 09:48:44 +01:00
SmallJoker
5a0492b176 Check protection on microcontroller programming (#420)
Also, fix globals assignment.
2018-07-23 14:00:59 +03:00
DS
ff0bd76efe Set is_ground_content to false (#386) 2017-11-01 00:50:39 +03:00
DS
905260c8db Handle blasts (#356) 2017-10-07 01:44:49 +03:00
DS
3ef8ae01e7 Add conversation recipes for Lua- and Microcontroller (#354) 2017-09-11 21:26:37 +02:00
sfan5
07d074075c FPGAs (#315) 2017-01-28 11:33:13 +01:00
sfan5
7667e7d8c5 Fix Lua error with microcontrollers
caused by an oversight in ececf525b6
2017-01-19 16:31:36 +01:00
sfan5
ececf525b6 Fix remaining namespace pollutions (closes #311) 2017-01-15 23:12:13 +01:00
Carter Kolwey
4816dee396 Move shared textures into base mod (fixes a few LuaC issues) 2016-08-23 11:02:12 +02:00
Jeija
ed3964da80 Remove microcontroller documentation files from the source tree
The files are still available for download in a GitHub release
2016-05-15 19:04:18 +02:00
Jeija
97f7b5745f Remove trailing whitespace 2015-10-04 13:30:34 +02: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
194155fff8 Rewrite mesecon wires. This should increase the efficiency and speed of
large machines.

It also makes the wires.lua code easier to understand and more
maintainable. In case any other mod depends on
mesecon:update_autoconnect, please update it to use
mesecon.update_autoconnect. This should also fix some other minor bugs.
Please report bugs if this commit creates new ones.

This commit changes wire looks and removes some unneccesary textures.
2014-11-22 11:40:58 +01:00
Zefram
f1eaee2281 fix programming microcontroller through form
The handling of the "quit" pseudo-field meant that the microcontroller
couldn't be programmed with explicit code, only with the examples.
The "quit" can actually be ignored: what matters for programming the
controller is whether the "code" field was supplied.
2014-04-25 18:30:59 +02: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
e8d31c3e5a Change field receipt handling to work properly with Minetest 0.4.8. 2013-12-18 14:54:46 -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
Jeija
9ab0d9deb2 Update Microcontroller Tutorial and add .odt source for the .pdf 2013-09-08 11:38:01 +02:00
khonkhortisan
75ca00f51e Escape microcontroller code in formspec 2013-08-29 14:14:04 -07:00
khonkhortisan
913e355a71 Merge pull request #112 from khonkhortisan/multi_rules
Multi rules
Merged for near-future textures to be merged cleanly.
2013-08-27 22:22:30 -07:00
khonkhortisan
885899cbaf Crossover 2013-06-20 09:30:26 -07:00
Novatux
afad592783 Change mesecons signals so that they update effectors only after a globalstep, configurable to be on/off 2013-06-05 15:37:55 -04: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
RealBadAngel
255e363b04 Fix all crafting recipes to use modern style 2013-04-28 12:40:08 +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
6b1bfe6391 Add rule-name system. Every input rule can now have a name, that could help e.g. the microcontroller to know where a signal comes from. 2012-12-19 17:34:05 +01:00
Jeija
c0d3bd2abb Include experimental vertical wires (needs textures) 2012-12-13 18:42:45 +01:00
Jeija
05def1540a Fix microcontroller digging 2012-12-09 15:32:29 +01:00
Jeija
b37bdbf55c Port a lot more (basically everything apart from gates, pistons and 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) 2012-12-09 00:42:30 +01:00
cornernote
931ac23ff3 Improve T-FF code and add a reset pin on C. 2012-10-07 13:08:01 -04:00
Jeija
500e95c331 Fix Microcontroller bug in a different way, define offstate ports as inputs only 2012-09-09 13:07:59 +02:00
Jeija
f959c16763 Fix Microcontroller bug (discovered by Fenris) and some others that propably noone found 2012-09-08 15:10:31 +02:00
Vanessa Ezekowitz
34737f62e9 oops, that last commit broke something - evidently 'code' is not consistent.
This restores the previous behavior when code=nil, and shows the code when not.
2012-09-01 17:42:42 -04:00
Vanessa Ezekowitz
1d29037d8b fix missing code display when after() is involved 2012-09-01 17:32:49 -04:00
Vanessa Ezekowitz
f641a0cc9c prevent crash with malformed sbi code.
just inserting "sbi(A, C!=D)" into a µC without connecting it to anything
causes 'b' at line 510 to become nil, crashing the server.
2012-09-01 17:28:04 -04:00
Kyle
d399162fc1 Reduced the number of µC images. Instead of 16 top images, there is one
off image, then four port images that can be overlaid on top of the
blank.
2012-08-24 23:23:44 -07:00