Commit Graph

26 Commits

Author SHA1 Message Date
BuckarooBanzay
537e756091 add .luacheckrc and gh action 2020-08-31 15:50:33 +02: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
0b3039e9a9 Make removestone check nodes above for falling (#357)
Fixes a part of #290.
2017-10-04 01:19:09 +03:00
Wuzzy
03ab151c87 Fix active ghoststones being droppable with sand
Fixes #289
2017-02-15 23:00:02 +01:00
Carter Kolwey
912f17f335 Split wires into their own mod, introduce autoconnect hooks
The update_autoconnect function had to be abstracted away from the
default wires, any kind of wire can now register autoconnect hooks,
which should make having multiple different wire types much easier.

mesecons_mvps, mesecons_receiver and mesecons_random made use of
update_autoconnect, their code was also adapted. This also fixes a
receiver bug: If a receiver was placed with a onstate receptor next
to it (but not the wall lever / button that caused the receiver to
appear) the receiver didn't turn on in the past.

Also move documentation for mesecon wire into mesecons_wire.
2016-08-23 11:08:53 +02:00
Emon
478680292c fixed missing capital letter @ line 29 2016-05-16 22:24:56 +02:00
Jeija
809192f353 Use vector helper functions instead of old builtin cmpPos and addPosRule functions 2016-02-14 20:55:50 +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
Uberi
16b4b79c51 Update code to standards of Minetest 0.4.8. 2013-11-30 22:13:00 -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
Kyle
fb45ee1d77 Remove ghoststone shadow when active. 2013-02-08 16:49:27 -08:00
Kyle
43cb258877 Make ghoststone conductive. 2013-02-07 08:30:15 -08: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
Anthony Zhang
208e95c2ff Captilization. 2012-09-27 17:27:34 -04:00
Anthony Zhang
ecefc937c9 Add ghoststone, crafted like removestone, with steel ingots at the corners. Trapstone disappears upon mesecon signals, but unlike removestone, reappears after the mesecon signal turns off. 2012-09-27 17:25:58 -04:00
Jeija
15fa38b848 Switch from tile_images to tiles = {...} 2012-08-20 10:12:10 +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
9829abc74d HUGE speed improvement 2012-08-12 10:57:00 +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
sfan5
7d0812a794 Fix experimental-Bug with latest Git 2012-04-02 07:55:20 +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