Commit Graph
100 Commits
Author SHA1 Message Date
Jeija de46729b97 Merge branch 'mesecons_in_nodedef'
Conflicts:
	mesecons/internal.lua
2012-12-11 19:49:55 +01:00
Jeija 5540fcbcb3 Fix a bug reported here: http://minetest.net/forum/viewtopic.php?pid=56152#p56152 2012-12-11 18:15:44 +01:00
Jeija a55874b5d2 Fix blinky plant bug (crash when placing mesecon next to it) 2012-12-10 22:05:13 +01:00
Jeija 192b9eca4f Fix crash when digging unknown nodes 2012-12-10 21:14:03 +01:00
Jeija 59a39204a9 Remove dead parts of the mod/dead textures/wireless mesecons 2012-12-10 20:55:13 +01:00
Jeija e9f2beb2c6 Slightly change wire look (may be reverted?) 2012-12-10 20:39:12 +01: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
Jeija 05def1540a Fix microcontroller digging 2012-12-09 15:32:29 +01:00
Jeija 961b955f2d Port door, fix button/lever bug, new visual style for receiver 2012-12-09 13:28:32 +01:00
Jeija 31f3c99288 Fix microcontroller alias 2012-12-09 11:16:48 +01:00
Jeija a0a3328f7c Fix microcontroller alias 2012-12-09 11:13:32 +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
Jeija cf6080f723 Port more blocks to nodedef system: object detector, extrawires, water turbine, insulated wire 2012-12-08 22:28:46 +01:00
Jeija 00e071b695 Cleanup, make and use util.lua, port command block and delayer to nodedef 2012-12-08 21:56:09 +01:00
Jeija 8578fd89c8 Port lightstones (as reference for effectors) + blinky plant to the new nodedef system 2012-12-08 19:02:34 +01:00
Jeija 472650f099 Finish new mesecon-in-nodedef for conductors and receptors. Make wires and switch use it for reference. 2012-12-08 17:50:25 +01:00
Jeija f28cf0af03 Fix major bug that often occured when using gates (caused by commit 64d109b) 2012-12-08 16:08:16 +01:00
Jeija e0aa5b1d3d New branch: Move mesecon to node definition instead of functions like register_conductor; first steps: move everything to legacy 2012-12-08 14:14:04 +01:00
Jeija 12206ac190 Add support for the preinstalled wooden door in minetest_game 2012-12-08 12:13:45 +01:00
Jeija 7542dd4da0 Fix a bug (in some cases the output rules of a receptor weren't respected, bug introduced by commit before, 64d109b31b) 2012-12-03 18:59:34 +01:00
Jeija e92387695d Add T-junction extrawire (no good textures yet) 2012-09-09 13:34:21 +02: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 f0e3b13f3f Merge branch 'master' of
https://github.com/Jeija/minetest-mod-mesecons
2012-09-08 15:28:57 +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
Jeija 4ae7bc9aa6 Use sunlight_propagates = true for some more nodes 2012-09-07 15:59:49 +02:00
Jeija 3928d54d0c Implement mesecon:register_receptor(onstate, offstate, rules, get_rules) and make add_receptor_node(_off) deprecated 2012-09-06 09:53:30 +02:00
Jeija 7e7e1de725 Code cleanup 2012-09-05 23:52:09 +02:00
Jeija 69c6f1a440 Remove door 2012-09-05 23:06:46 +02:00
Jeija 15fa38b848 Switch from tile_images to tiles = {...} 2012-08-20 10:12:10 +02:00
Jeija b2c5a672e7 Remove obsolete digprop_constanttime 2012-08-20 09:51:19 +02:00
Jeija 48337a4df8 Fix bug when placing a wire (receiver) to an onstate-walllever/button 2012-08-19 10:38:44 +02:00
Jeija c103aa6b23 Fix some bug that occurs when placing microcontrollers directly next to each other 2012-08-18 11:06:24 +02:00
Jeija c5bf95f79d Some fix for walllever/button receiver digging 2012-08-17 23:48:09 +02:00
Jeija fe1606eb31 Add fiber and craft recipe for insulated mesecon 2012-08-17 21:32:21 +02:00
Jeija f65d092267 Remove some useless code 2012-08-17 16:33:18 +02:00
Jeija 3c2d0ba325 Re-enable button + Wall lever, bugfix that adds a 'receiver' node (not yet designed) 2012-08-17 16:28:59 +02:00
Jeija 863ef26b63 Make isolated wires depend on facedir, rename them to 'insulated' 2012-08-17 11:59:06 +02:00
Jeija 78fdedc880 Add conductor rules, add demo isolated mesecons to proof that it works 2012-08-16 21:24:06 +02:00
Jeija e74bb1ce75 Same rules change like with wall levers for buttons 2012-08-15 20:50:13 +02:00
Jeija 67b21804e3 Fix/Improve Wall lever rules 2012-08-15 20:43:45 +02:00
Jeija 6214dbf66e Remove Temperest setting as it is an extension now 2012-08-15 11:11:13 +02:00
Jeija 573a3150d1 Move Temperest to mesecons-extension-temperest 2012-08-15 11:05:15 +02:00
Jeija 44d075f92d Change tile_images to tiles for water turbine 2012-08-15 10:59:16 +02:00
Jeija 0fef5cca58 Move Battery to mesecons-extension-battery 2012-08-15 10:57:57 +02:00
Jeija b346d89594 Update microcontroller tutorial to include after() 2012-08-13 23:33:53 +02:00
Jeija 67dfa93c2e Finish after() command: works now 2012-08-13 23:20:29 +02:00
Jeija 5ede8f370c Bugfix for microcontroller's after(): Make sure that microcontroller the code runs on is the same that sends the code 2012-08-13 22:55:14 +02:00
Jeija c58882b0c6 Bugfix: Check if receptor node is powered from somewhere before turning it off in mesecons:turnoff 2012-08-13 22:42:45 +02:00
Jeija 9f16e4fcaa Add not-yet-working after(time, code) function to the microcontroller 2012-08-13 22:33:25 +02:00
Jeija 9396ce8940 Re-enable backwards compatibility (sorry for disabling) 2012-08-13 21:51:41 +02:00
Jeija 164971f6d1 Remove piston_up from dead groups 2012-08-13 20:39:14 +02:00
Jeija 6f9036c70b Register piston_up and piston_down as effectors 2012-08-13 20:37:39 +02:00
Jeija 00ce2540c2 New effector system, effectors have to be registered with 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-13 20:17:45 +02:00
Jeija 24c50571f7 Make mesecons only connect to input and output ports (e.g. of the delayer) 2012-08-13 16:49:14 +02:00
Jeija 439af2a88b Add alias for solar panel: mesecons:solarpanel 2012-08-13 14:38:27 +02:00
Jeija 5626aec852 Use sapling instead of jungelgrass for power & blinky plant. Glue is made by cooking saplings. 2012-08-13 14:36:48 +02:00
Jeija 55bdf5441f Code improvement, Bugfix for solar panel 2012-08-13 14:26:00 +02:00
Jeija 2b1f0d1338 Update README 2012-08-13 13:17:35 +02:00
Jeija b197d29bef Code cleanup, little bugfix (some conductors placed next to receptors didn't turn on) 2012-08-13 13:12:19 +02:00
Jeija cf6106ce43 Code cleanup - remove internal_api.lua (now internal.lua) 2012-08-13 12:05:37 +02:00
Jeija 955b8254dd Code cleanup 2012-08-13 12:03:36 +02:00
Jeija b8ba13a17a Code cleanup 2012-08-13 11:58:04 +02:00
Jeija c20a4b3a89 Minimal speedup by not checking some nodes twice for receptors 2012-08-13 09:37:55 +02:00
Jeija c8c2fd32da Code cleanup and ond more extremely small speedup 2012-08-13 08:50:10 +02:00
Jeija fc74976f9c Further (small) speed improvement, shrink code & more comments on it 2012-08-12 23:02:38 +02:00
Jeija 3ea68a6eae Fix mesecon delayer bugs and other non-functional changes 2012-08-12 21:28:53 +02:00
Jeija 3be48e6985 Merge remote-tracking branch 'origin/master' 2012-08-12 10:58:55 +02:00
Jeija 9829abc74d HUGE speed improvement 2012-08-12 10:57:00 +02:00
Jeija d72c0e6bdd Add VanessaE to the contrib list 2012-08-12 07:27:14 +02:00
Jeija 8b62511615 Add some wires to mesecon_conductor_craftable group 2012-08-11 23:45:51 +02:00
Jeija 1f6e1fa7ab Mesecons only connect to blocks with group mesecon > 1 2012-08-11 23:39:28 +02:00
Jeija 6b1941a380 Add new nodebox style wires. Can be activated by setting NEW_STYLE_WIRES to true (in mesecons/settings.lua) 2012-08-11 22:58:00 +02:00
Jeija b0a0387722 Make Delayer use facedir 2012-08-10 22:58:48 +02:00
Jeija 6772bc0112 Auto-Generate delayers 2012-08-10 21:50:07 +02:00
Jeija 813c0a83b0 Remove support for old jeija_* nodenames; add delayer and microcontroller aliases 2012-08-10 21:48:24 +02:00
Jeija 4db24333f5 Add craft recipe for noteblock 2012-08-10 21:31:52 +02:00
Jeija 32fba63267 Update Microcontroller Tutorial 2012-08-10 20:58:39 +02:00
Jeija 9d52049e83 Fix sticky piston duplicate bug 2012-08-10 20:12:53 +02:00
Jeija 8fa6894953 Consistency improvement and remove dead code 2012-08-10 18:58:21 +02:00
Jeija fe6c9f3e09 Little bugfix: Register microcontroller0000 as off receptor 2012-08-10 11:46:17 +02:00
Jeija daf1a7e5a3 Fix bug in registration of wall lever as receptor_node_on 2012-08-10 11:42:21 +02:00
Jeija ca7bd1f24f Improve light level a little 2012-08-10 11:31:01 +02:00
Jeija 2fe312618c Make button and Wall lever emit very few light if turned on 2012-08-10 11:11:53 +02:00
Jeija ce72ed2bab Add print command print(string in quotes or condition, can be concatenated using comma) 2012-08-10 10:47:40 +02:00
Jeija 6a524b8cdd Add else: if(condition)command()>command(); > is else 2012-08-10 10:19:33 +02:00
Jeija 0633809f73 Allow usage of sbi(PORT, condition) and change preset snippets to use this 2012-08-10 09:44:49 +02:00
Jeija 5c5db631a6 Merge branch 'master' of https://github.com/Jeija/minetest-mod-mesecons 2012-08-10 08:26:38 +02:00
Jeija 9fa033db7b Remove dead timer 2012-08-10 08:23:55 +02:00
Jeija d3ba13e878 Update Tutorial 2012-08-10 00:39:16 +02:00
Jeija ce928a5954 Little bugfix for programming the microcontroller 2012-08-09 23:09:02 +02:00
Jeija 686e420430 Remove the obsolete AND block - Replacement: Microcontroller 2012-08-09 22:42:26 +02:00
Jeija af3288f61d Add buttons for logic gates and some FlipFlops 2012-08-09 22:39:54 +02:00
Jeija f557b6c363 Add overheat protection and lots of bugfixes once again 2012-08-09 21:40:25 +02:00
Jeija 0abfa674d6 A huge lot of bugfixes 2012-08-09 16:25:30 +02:00
Jeija 9854160ece Bugfix for last push 2012-08-09 13:34:10 +02:00
Jeija ca4a8cd264 Use all of VanessaE's textures, bugfixes & improvements 2012-08-09 12:54:31 +02:00
Jeija 331ae1a13c Remove stupid debug output 2012-08-09 09:05:00 +02:00
Jeija 5fe294a5fa Define second parameter of sbi as condition 2012-08-09 09:03:22 +02:00
Jeija 72b00178f9 Enable commentaries in the Microcontroller by using :commentary 2012-08-09 08:27:47 +02:00