Commit Graph

30 Commits

Author SHA1 Message Date
auouymous
397d449f1e Use empty string for protection check if puncher or clicker is nil. 2020-12-19 23:11:20 +03:00
auouymous
29ec26a4c8 Prevent unauthorized players from toggling blinky plant. 2020-12-19 23:11:20 +03:00
DS
ff0bd76efe Set is_ground_content to false (#386) 2017-11-01 00:50:39 +03:00
MT-Modder
1509510262 Use group:sapling for all recipes 2015-01-20 13:28:44 -05: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
Vanessa Ezekowitz
d325292291 use the right mesecon:receptor_* call for on/off blinkyplant 2014-09-01 21:12:11 -04:00
Vanessa Ezekowitz
1ebd50ac75 use one ABM for blinkyplant instead of two.
using two ABMs allows the engine to desynchronize them, which makes the
duty cycle unpredictable.
2014-09-01 21:01:35 -04:00
qwrwed
711c73a197 change on_punch to on_rightclick, make disabled blinky plants drop normal ones 2013-12-02 17:50:00 +00:00
Uberi
16b4b79c51 Update code to standards of Minetest 0.4.8. 2013-11-30 22:13:00 -05:00
Vanessa Ezekowitz
f12206acc6 Remove "disabled" blinkyplant from inventory 2013-11-30 20:45:10 -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
qwrwed
33de6fad55 Make blinkyplants toggleable 2013-11-29 22:06:50 +00:00
RealBadAngel
255e363b04 Fix all crafting recipes to use modern style 2013-04-28 12:40:08 +02:00
Anthony Zhang
10bacdd7f4 Update selection boxes to make building easier. 2013-04-20 11:25:12 -04: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
a55874b5d2 Fix blinky plant bug (crash when placing mesecon next to it) 2012-12-10 22:05:13 +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
15fa38b848 Switch from tile_images to tiles = {...} 2012-08-20 10:12:10 +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
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
20d1b9dd52 Power Plant 2012-08-01 19:36:32 +06:00
Kotolegokot
35de798dcd Blinky Plant 2012-08-01 16:48:00 +06:00
Kotolegokot
70841d8c8e not_in_creative_inventory 2012-08-01 15:58:19 +06: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
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