Commit Graph

52 Commits

Author SHA1 Message Date
Johannes Fritz
7f8758f17b
Pressure plates: check for entity contact (#632) 2023-06-18 21:05:35 +03:00
jolesh
2ede29df9c
Add Esperanto translation (#625) 2022-12-01 18:33:19 +01:00
Jude Melton-Houghton
dfa43d6c0c
Make modpack mostly independent from MTG (#607) 2022-05-05 16:57:53 +02:00
Jude Melton-Houghton
1d30891349 Move default dependency to individual mods that need it 2022-02-19 17:13:31 +01:00
Jude Melton-Houghton
fb255d292e
Add .luacheckrc and fix issues it pointed out (#589) 2022-02-12 20:12:12 +01:00
tuedel
01332a7ba1
Replace deprecated getpos() calls (#522) 2020-07-31 22:26:58 +02:00
David Leal
168a923665
Use mod.conf for dependencies (#492) 2020-06-27 02:26:14 +03:00
Hugo Locurcio
8baa789eb1 Optimize images (#464)
Recompress losslessly using `optipng` and `advpng`
2019-06-27 22:33:11 +03:00
Christopher Head
9d239cbfff Fix typos (#442) 2018-12-09 16:38:23 +03:00
Wuzzy
1b513d2111 Fix sounds of pressure plates, change groups 2018-01-28 21:14:54 +01:00
DS
ff0bd76efe Set is_ground_content to false (#386) 2017-11-01 00:50:39 +03:00
sfan5
c2e3d7c4e5 Fix most of the namespace pollutions reported in #311 2017-01-15 11:53:49 +01:00
Jeija
7865d42834 Always use minetest.set_node instead of minetest.add_node for consistency 2016-02-14 21:00:37 +01:00
Jeija
809192f353 Use vector helper functions instead of old builtin cmpPos and addPosRule functions 2016-02-14 20:55:50 +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
aa5538a734 Fix pressure plates calling receptor_on on a regular basis 2015-02-25 21:01:00 +01:00
Jeija
adb803ce17 **This commit changes functionality**, please read
Remove legacy code that enabled / disabled mesecon wires that were placed 2 blocks below a
pressure plate. From now on, please place a vertical wire at that place. That way, no false
signals will be triggered (the wire won't "flash" turned off if you enable it by a pressure
plate and turn off a switch connected to it).
If you depend on this functionality, please just revert this commit. That should be possible in
the near future as well, since no major rewrites are planned for mesecons_pressureplates. In the
long run, please update your mesecon strucutres to use vertical wires instead of relying on this
old hack.
2015-01-03 10:12:20 +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
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