Commit Graph

32 Commits

Author SHA1 Message Date
Carter Kolwey
1bd936ad8c Properly handle rotation of buttons / levers
Buttons and levers can now also be pointed upwards / downwards which will make them connect to corresponding up / down receivers. You will need to use the screwdriver for this.

Receivers cannot be rotated using the screwdriver anymore.
2017-01-02 14:51:28 +01:00
Jeija
97f7b5745f Remove trailing whitespace 2015-10-04 13:30:34 +02:00
Marcin
6e326a6a03 Use right mouse button instead of left to press button and change state of switch and lever. 2015-10-01 19:13:12 +02:00
Phil Hagelberg
52ea2c3c66 Don't refer to LIGHT_MAX global; use default.
The LIGHT_MAX global is created in the legacy.lua file in the default
mod; it states that it's there for backwards compatibility, but it would
be better to reference the proper value inside the default table.
2015-05-11 11:28:56 +07: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
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
RealBadAngel
e88e99b54f Update init.lua
change crafting recipe format
2013-04-15 09:21:41 +03: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
961b955f2d Port door, fix button/lever bug, new visual style for receiver 2012-12-09 13:28:32 +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
00e071b695 Cleanup, make and use util.lua, port command block and delayer to nodedef 2012-12-08 21:56:09 +01:00
Jeija
472650f099 Finish new mesecon-in-nodedef for conductors and receptors. Make wires and switch use it for reference. 2012-12-08 17:50:25 +01:00
Jeija
4ae7bc9aa6 Use sunlight_propagates = true for some more nodes 2012-09-07 15:59:49 +02:00
Jeija
3c2d0ba325 Re-enable button + Wall lever, bugfix that adds a 'receiver' node (not yet designed) 2012-08-17 16:28:59 +02:00
Jeija
e74bb1ce75 Same rules change like with wall levers for buttons 2012-08-15 20:50:13 +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
Vanessa Ezekowitz
fa1213134a did the same for buttons and up/down pistons 2012-08-10 17:59:52 -04:00
Jeija
ca7bd1f24f Improve light level a little 2012-08-10 11:31:01 +02:00
Jeija
2fe312618c Make button and Wall lever emit very few light if turned on 2012-08-10 11:11:53 +02:00
Vanessa Ezekowitz
4559828953 thickened base of wall button to match that of wall lever (for consistency) 2012-08-09 21:24:31 -04:00
Vanessa Ezekowitz
ddbe33ed56 Better wall button nodeboxes. Also fixed the deprecated time_images lines (now
"tiles").  This also restores the textures I added a few months ago, since the
ones I made are needed for a nodebox of this sort.
2012-08-07 02:56:40 -04:00
Kotolegokot
70841d8c8e not_in_creative_inventory 2012-08-01 15:58:19 +06:00
Jeija
730537f013 Fix Bug: Apply Rules on removal 2012-06-21 18:41:51 +02:00
Jeija
11ae41f119 Tune Buttons to work together with Door 2012-06-21 17:27:29 +02:00
Jeija
3a6b099ae1 Replace old wall button with a fancy new 3d button 2012-06-21 16:38:48 +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
d069275d09 Rules + Receptor system rework 2012-03-29 21:06:48 +02:00
Jeija
8e0b2a2b11 Simplify rules System 2012-03-29 11:35:23 +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