Commit Graph

43 Commits

Author SHA1 Message Date
Josh Mars
dccb2c6787 Update init.lua 2017-03-18 09:44:04 -04:00
Josh Mars
aff4b59d3c Update init.lua 2017-03-18 09:13:41 -04:00
number Zero
aec5652fa2 Fix protection checks 2017-03-18 01:46:19 +03:00
number Zero
31919e0194 Add backwards compatibility 2017-03-18 01:20:43 +03:00
number Zero
e675f86766 Minor fix in detectors 2017-03-18 01:17:14 +03:00
Josh Mars
c265b8891f Update init.lua 2017-03-17 15:57:34 -04:00
Josh Mars
6b959d1aa3 Update init.lua 2017-03-15 11:47:31 -04:00
Josh Mars
6ff8927146 Update init.lua 2017-03-15 11:39:05 -04:00
Josh Mars
126285fb65 Update init.lua 2017-03-14 12:34:42 -04:00
Josh Mars
8480c08827 Update init.lua 2017-03-14 11:54:43 -04:00
Josh Mars
c0dfb40dd1 Update init.lua 2017-03-13 16:13:57 -04:00
Jeija
6b54f025c1 Merge branch 'playerdetector_update' of https://github.com/HybridDog/minetest-mod-mesecons into HybridDog-playerdetector_update 2016-02-14 13:41:48 +01:00
HybridDog
c1d0481f8f playerdetector: short code and don't get scanname for every object 2016-01-03 14:56:32 +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
97f7b5745f Remove trailing whitespace 2015-10-04 13:30:34 +02:00
Jeija
b6ae419b00 Return if invalid parameters are given to node_detector_scan (e.g. unloaded area), should fix #228 2015-03-26 07:29:34 +01:00
Jeija
f977ac821a Re-implement settings system:
Settings can now be retrieved by mesecon.setting(<name>, <default>) and can be modified without
editing the source code by adding the setting to minetest.conf
For instance, you can add mesecon.blinky_plant_interval = 0.5 to minetest.conf in order to
increase the blinking speed.
Rewrite the blinky plant with nodetimers.
Fixes #161
2014-11-22 22:09:26 +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
b5cc933287 Pressure plates and the object detector will send power to vertical
wires 2 nodes below them, allows to hide circuitry powered by them.
Fixes #179
Rewrite pressure plates + vertical wires using mesecon.register_node.
2014-11-22 12:30:39 +01:00
Novatux
63998fd7e7 Localize a few variables, add "GET" command to node detector. 2014-06-08 19:02:15 +02:00
Novatux
99cb021f15 Add node detector, which works like the player detector but detects a specific nodename (or any node except air) in front of it. 2014-06-08 08:29:17 +02:00
Jeija
a6916191aa Fix #140 once again 2014-04-30 14:44:47 +02:00
Jeija
ee3797746f Fix #140 by adding a save button to the Player Detector 2014-01-19 14:12:34 +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
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
c9e89189eb Improved object detector craft recipe, picture soon available on mesecons.net 2013-02-22 19:49:03 +01:00
Jeija
a0920104fc Object Detector, cleanup and different behaviour:
* Name to scan for can be specified by right-clicking it
* It can receive digiline signals that change the name to scan for
* A sign above it for the name doesn't work anymore (this features wasn't used often anyway)
2013-02-22 19:23:28 +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
15fa38b848 Switch from tile_images to tiles = {...} 2012-08-20 10:12:10 +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
Vanessa Ezekowitz
e12b297987 change all recipes to use group:mesecon_conductor_craftable
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-11 20:53:47 -04:00
Jeija
1f6e1fa7ab Mesecons only connect to blocks with group mesecon > 1 2012-08-11 23:39:28 +02:00
Vanessa Ezekowitz
39db9cf01c Added "mesecon = 1" to the groups setting for most objects, so that they'll
visibly connect to neighboring wires.
2012-08-10 17:35:54 -04:00
Kotolegokot
70841d8c8e not_in_creative_inventory 2012-08-01 15:58:19 +06:00
Jeija
bc80efd685 Fix detector player name lookup 2012-06-23 12:39:35 +02:00
Anthony Zhang
4200757ba3 Remove deprecated API functions "register_on_placenode" and "register_on_dignode" where possible. 2012-06-04 22:20:04 -04:00
Jeija
e50639291c Make pressure plates and object detector use the new rules system 2012-03-29 11:49:37 +02:00
Anthony Zhang
3018128b4b Update nodes for compatibility with digging time groups. 2012-03-22 17:52:11 -04:00
Jeija
36ae0cc1a5 Upload after major code reorganization - Version 0.6 DEV - Split mesecons mod into several modules - [BUGGY?] 2012-03-05 19:21:26 +01:00