Commit Graph

34 Commits

Author SHA1 Message Date
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
ShadowNinja
de6dd30745 Move textures into their mods 2014-01-10 13:13:02 -05:00
Uberi
16b4b79c51 Update code to standards of Minetest 0.4.8. 2013-11-30 22:13:00 -05:00
Vanessa Ezekowitz
669e3d0880 use 'wood' group for crafting pistons, pressure plates, and noteblocks 2013-11-30 19:07:12 -05:00
Jeija
b0bef909a0 Fix pressure plate (onstate) nodebox 2013-04-21 08:16:43 +02:00
Vanessa Ezekowitz
109d817df6 Make pressure plate texturing more flexible, improve appearance of existing textures 2013-04-21 01:00:31 -04:00
Anthony Zhang
1a5b1b4691 Fix pressure plate wield image. 2013-04-20 21:22:43 -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
e707afef1a Don't totally force deactivation of block two below the pressure plate if connected to a receptor 2013-02-24 19:09:07 +01:00
Jeija
2848df007e Bugfix: Also deactivate the block two below when digging a pressure plate 2013-02-24 19:03:28 +01:00
Jeija
2bbc9dd4b7 Rework the next nodes: Pressure Plates 2012-12-27 22:28:39 +01:00
Jeija
e2ec7b5b04 Fix pressure plates (forgot to add mesecons field to some of the nodedefs) 2012-12-22 23:39:17 +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
PilzAdam
4a8e20b68e Speed update of pressureplates up by using node_timers 2012-12-07 15:52:52 +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
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
Vanessa Ezekowitz
b24cc2a14d made pressure plates go thin (1/4 pixel thick) when "on" 2012-08-10 02:28:22 -04:00
Vanessa Ezekowitz
368a7c1eda thickened up pressure plates slightly for consistency 2012-08-09 21:35:34 -04:00
Jeija
df7edcb35c Make lamps and pressure plates walkable 2012-08-05 13:37:20 +02:00
Kotolegokot
70841d8c8e not_in_creative_inventory 2012-08-01 15:58:19 +06:00
Jeija
40d5df5855 Fix stone pressure plate nodebox 2012-07-19 16:28:24 +02:00
Jeija
1942663af5 Improve pressure plate 3D Model (Smaller) 2012-06-21 19:54:23 +02:00
Jeija
dfc918a5f5 Add 3d pressure plates 2012-06-21 13:56:04 +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
8870d491ae Fix game crash on pressure plate dig 2012-04-07 10:03:00 +02:00
Jeija
e50639291c Make pressure plates and object detector use the new rules system 2012-03-29 11:49:37 +02:00
Jeija
2601d550c3 Add pressure plate rules for new rules system 2012-03-29 11:37:00 +02:00
Jeija
c9b632cf5c Fix digging time groups for pressure plates 2012-03-26 17:58:59 +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