summaryrefslogtreecommitdiff
path: root/mesecons_microcontroller/init.lua
AgeCommit message (Collapse)Author
2017-09-11Add conversation recipes for Lua- and Microcontroller (#354)DS
2017-01-19Fix Lua error with microcontrollerssfan5
caused by an oversight in ececf525b6f717956a38fa314d2472f72451159d
2017-01-15Fix remaining namespace pollutions (closes #311)sfan5
2015-10-04Remove trailing whitespaceJeija
2014-11-22Replace mesecon:<some_function> with mesecon.<some_function> for greaterJeija
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-22Rewrite mesecon wires. This should increase the efficiency and speed ofJeija
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-04-25fix programming microcontroller through formZefram
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-20Fix #155 (option 2 used). Remove non-ActionQueue system. Enable overheat for ↵Jeija
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-01-11Try to fix gateswith serverstep code.Novatux
2013-12-18Change field receipt handling to work properly with Minetest 0.4.8.Uberi
2013-11-30Update code to standards of Minetest 0.4.8.Uberi
2013-11-30Use minetest.swap_node() instead of mesecons' version, Minor code changesVanessa Ezekowitz
here and there to facilitate this.
2013-08-29Escape microcontroller code in formspeckhonkhortisan
2013-08-27Merge pull request #112 from khonkhortisan/multi_ruleskhonkhortisan
Multi rules Merged for near-future textures to be merged cleanly.
2013-06-20Crossoverkhonkhortisan
2013-06-05Change mesecons signals so that they update effectors only after a ↵Novatux
globalstep, configurable to be on/off
2013-06-05Add an ABM function which resets heat to 0, since gates/controllers won't be ↵Novatux
cooled normally if they are moved (piston, etc...) during the cooling delay.
2013-04-28Fix all crafting recipes to use modern styleRealBadAngel
2013-03-06Digging and footstep sounds for everything that needs them! Plus, pushing ↵Anthony Zhang
buttons, punching switches, and flipping levers all make sounds.
2012-12-19Add rule-name system. Every input rule can now have a name, that could help ↵Jeija
e.g. the microcontroller to know where a signal comes from.
2012-12-13Include experimental vertical wires (needs textures)Jeija
2012-12-09Fix microcontroller diggingJeija
2012-12-09Port a lot more (basically everything apart from gates, pistons and ↵Jeija
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-10-07Improve T-FF code and add a reset pin on C.cornernote
2012-09-09Fix Microcontroller bug in a different way, define offstate ports as inputs onlyJeija
2012-09-08Fix Microcontroller bug (discovered by Fenris) and some others that propably ↵Jeija
noone found
2012-09-01oops, that last commit broke something - evidently 'code' is not consistent.Vanessa Ezekowitz
This restores the previous behavior when code=nil, and shows the code when not.
2012-09-01fix missing code display when after() is involvedVanessa Ezekowitz
2012-09-01prevent crash with malformed sbi code.Vanessa Ezekowitz
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-08-24Reduced the number of µC images. Instead of 16 top images, there is oneKyle
off image, then four port images that can be overlaid on top of the blank.
2012-08-25added proper bottom image to microcontrollerVanessa Ezekowitz
2012-08-24pressing enter will reprogram the µC instead of acting like escapeKyle
2012-08-21display µc programming like a signkhonkhortisan
I had a grid that mapped buttons to pixels so pressing a button displayed a letter. I had one programming that was a positive match so the pixel turned on, and another programming that was negative and just passed the signal on to the next pixel. If I had to right-click on each µc to see its programming, it would take me longer to find a problem. If I can see the programming just by looking at it, I could find a typo much easier. I'm not sure about the \n \n\r thing.
2012-08-20Remove obsolete digprop_constanttimeJeija
2012-08-18Fix some bug that occurs when placing microcontrollers directly next to each ↵Jeija
other
2012-08-13Finish after() command: works nowJeija
2012-08-13Bugfix for microcontroller's after(): Make sure that microcontroller the ↵Jeija
code runs on is the same that sends the code
2012-08-13Add not-yet-working after(time, code) function to the microcontrollerJeija
2012-08-13New effector system, effectors have to be registered with ↵Jeija
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)
2012-08-12Fix mesecon delayer bugs and other non-functional changesJeija
2012-08-12HUGE speed improvementJeija
2012-08-11thinned the microcontroller down a bit to fit the style of the other floor ↵Vanessa Ezekowitz
objects.
2012-08-11change all recipes to use group:mesecon_conductor_craftableVanessa Ezekowitz
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
2012-08-11Mesecons only connect to blocks with group mesecon > 1Jeija
2012-08-10Added "mesecon = 1" to the groups setting for most objects, so that they'llVanessa Ezekowitz
visibly connect to neighboring wires.
2012-08-10Little bugfix: Register microcontroller0000 as off receptorJeija
2012-08-10Add print command print(string in quotes or condition, can be concatenated ↵Jeija
using comma)
2012-08-10Add else: if(condition)command()>command(); > is elseJeija
2012-08-10Allow usage of sbi(PORT, condition) and change preset snippets to use thisJeija
2012-08-10Remove dead timerJeija