Commit Graph

28 Commits

Author SHA1 Message Date
Jeija
1f66687580 Fix bug that made delayers oscillate their input port
when powering off the delayer faster than the delay time.
Actually, delayers should have never worked since the ActionQueue update as
they always used the default rules for their output, which is obviously nonsense.
2014-03-23 09:28:22 +01:00
Jeija
2d004b19ea First draft of some kind of Action Queue (just like the globalstep queue in to_update), but more flexible and also including delay functionality (mesecon_delayer).
The queue is also saved to a file, so that when restarting mesecons, delayers resume to the state they had when the game shut down. Needs testing.
2014-01-10 22:33:40 +01: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
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
52ddd4bdc9 Add crafting recipe for the delayer (similar to redstone, but with cobble instead of stone) 2012-12-30 09:07:49 +01:00
Jeija
7fe4947056 Bugfix foes for pistons, delayyrs, gates and microcontrollers. Rework delayers. 2012-12-27 09:28:04 +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
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
24c50571f7 Make mesecons only connect to input and output ports (e.g. of the delayer) 2012-08-13 16:49:14 +02:00
Jeija
3ea68a6eae Fix mesecon delayer bugs and other non-functional changes 2012-08-12 21:28:53 +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
Vanessa Ezekowitz
83ac20018c Improvements to mesecons delayers nodeboxes and textures 2012-08-11 20:20:50 -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
Jeija
b0a0387722 Make Delayer use facedir 2012-08-10 22:58:48 +02:00
Jeija
6772bc0112 Auto-Generate delayers 2012-08-10 21:50:07 +02:00
Vanessa Ezekowitz
6d0e2b04c6 made mesecons delayer thinner to better match the other floor devices 2012-08-09 21:29:33 -04:00
Vanessa Ezekowitz
c3ebe6c308 Better textures for mesecons delayer: Redrew my previously-submitted ones at a
larger size to properly fit in with the new nodebox-based delayers, and added a
"sides" texture to go with them.  Fixed deprecated tile_images lines.
2012-08-07 03:40:04 -04:00
Kotolegokot
70841d8c8e not_in_creative_inventory 2012-08-01 15:58:19 +06:00
Jeija
87442f0c31 Experimental 3D Delayer 2012-06-21 20:33:01 +02:00
Vanessa Ezekowitz
ee141db06d Fancy New Textures :-) 2012-05-12 17:57:23 -04:00
Jeija
36c0090444 Tweak delayer times 2012-04-06 20:03:12 +02:00
sfan5
d60af4b83d Fix Delayer wield_image 2012-04-02 08:41:27 +02:00
Jeija
5f947ae340 Remove unnecessary debug output 2012-03-29 22:22:46 +02:00
Jeija
e0c1740944 Add mesecons delayer 2012-03-29 22:11:39 +02:00
Jeija
ce87414f6b Add mesecons delayer 2012-03-29 22:11:17 +02:00