24160d45ff
Silly mistake, interrupts should work better now.
Anthony Zhang
2013-05-21 17:57:25 -04:00
682cf34792
Add burnt luacontroller (so you don't lose your program after an overheat) and prevent interrupts from piling up (fixes#101, metadata trashing). Idea for burnt luacontroller comes from ShadowNinja.
Anthony Zhang
2013-05-15 21:36:16 -04:00
0a9bcf26ca
Merge pull request #96 from VanessaE/master
Anthony
2013-04-22 09:50:13 -07:00
b3fb406727
Minor tweak to allow vertical wires with caps to use the "vertical" texture for the sides (still uses the "full" for the top/bottom of the caps).
Vanessa Ezekowitz
2013-04-21 22:16:17 -04:00
36bcce57b0
Add table.* to luacontroller sandbox
Jeija
2013-03-26 15:12:56 +01:00
6cf713098a
Make pistons use the 6d facedir feature
Jeija
2013-03-24 20:56:46 +01:00
21550b3727
Explicit tables of luacontroller environment.
Anthony Zhang
2013-03-23 18:41:44 -04:00
6983db6d82
Add math library to luacontroller, and make sure to copy stuff so code can't get out of the sandbox.
Anthony Zhang
2013-03-23 17:49:25 -04:00
1ff437b7b0
Don't forget sticky movestones!
Anthony Zhang
2013-03-16 21:18:36 -04:00
5f9e655c13
Add MOVESTONE_MAXIMUM_PUSH setting.
Anthony Zhang
2013-03-15 19:53:09 -04:00
3c3e45c7ea
Avoid corrupting metadata.
Anthony Zhang
2013-03-15 17:46:59 -04:00
5fd1cf5c80
Use formspec_escape when available.
Anthony Zhang
2013-03-15 17:21:16 -04:00
e1211729cc
Avoid borking the luacontroller if the code uses square brackets. When the next stable MT is released, uncomment the formspec_escape call to take advantave of formspec escaping.
Anthony Zhang
2013-03-15 17:07:15 -04:00
588e41c786
Up/down pistons should also have special rules excluding the pusher side (rotated versions of normal pistons).
Anthony Zhang
2013-03-14 14:19:02 -04:00
79bb4a3433
Lots of bugs in movestones fixed:
Anthony Zhang
2013-03-14 13:44:49 -04:00
e1577eba46
Revert additional piston rules.
Anthony Zhang
2013-03-11 17:49:07 -04:00
4406654fa4
Support metadata in piston pushing (so that microcontrollers and such can be pushed), support pushing chests (not locked ones though), and add two missing rules for pistons (z- top and bottom, but not z- itself). This still avoids the piston pushing power source issue.
Anthony Zhang
2013-03-11 17:37:50 -04:00
db90c1cb4b
Add /hp command to set the HP of a given player, requires the ban privelege.
Anthony Zhang
2013-03-07 16:47:32 -05:00
3792b692aa
Digging and footstep sounds for everything that needs them! Plus, pushing buttons, punching switches, and flipping levers all make sounds.
Anthony Zhang
2013-03-06 20:51:57 -05:00
ac23eb070a
Make vertical piston pusher selection boxes match their horizontal equivalents
khonkhortisan
2013-03-02 22:22:43 -08:00
e707afef1a
Don't totally force deactivation of block two below the pressure plate if connected to a receptor
Jeija
2013-02-24 19:09:07 +01:00
2848df007e
Bugfix: Also deactivate the block two below when digging a pressure plate
Jeija
2013-02-24 19:02:38 +01:00
c9e89189eb
Improved object detector craft recipe, picture soon available on mesecons.net
Jeija
2013-02-22 19:47:01 +01:00
36263d481a
Add (shaped) craft recipe for vertical mesecons * Craft them from three wires in a vertical row * Craft them back into mesecons by just putting one of them in the grid
Jeija
2013-02-22 19:37:05 +01:00
a0920104fc
Object Detector, cleanup and different behaviour: * Name to scan for can be specified by right-clicking it * It can receive digiline signals that change the name to scan for * A sign above it for the name doesn't work anymore (this features wasn't used often anyway)
Jeija
2013-02-22 19:20:23 +01:00
cc41f136cc
More distinguishable inventory image for the luacontroller (not wield item, just top)
Jeija
2013-02-19 16:58:17 +01:00
fb45ee1d77
Remove ghoststone shadow when active.
Kyle
2013-02-08 16:49:27 -08:00
5b5e919683
Make load times faster by avoiding inventorycube and wielditem creation in technical blocks such as active wires and various piston orientations.
Anthony Zhang
2013-02-08 14:36:20 -05:00
4714c908acFix#73 - receiver wire drops down one node when connected button is dug.
Anthony Zhang
2013-02-08 14:18:42 -05:00
2b30360da2
Bugfix for the luacontroller that occured when two events occur at the same time (output connected to input). The behaviour of the controller can now be described this way: The luacontroller sets port A, then B, then C, then D; if it is interrupted by another event during that time it stops and let the second event do the job.
Jeija
2013-01-22 18:26:27 +01:00
18da94006a
Lots of bugfixes concerning the luacontroller - Bug when using NOT-Gates - Moved error label a little downwards - On digiline event, msg and channel are now in event.*, not in event.iid.*
Jeija
2013-01-20 17:48:43 +01:00
5c2959826e
Fix piston bug: up piston pushing sand won't drop the sand anymore
Jeija
2013-01-20 13:01:40 +01:00
ef087f2bb6
Fix Bug: Wrong usage of action_on/action_off instead of action_change
Jeija
2013-01-19 22:18:28 +01:00
62ddebaecb
Add support in luacontroller for a not yet released mod called 'digilines'
Jeija
2013-01-19 21:45:39 +01:00
ec517becab
Texture the LuaController formspec
Jeija
2013-01-19 12:03:27 +01:00
0d44144421
Bugfixes and improved stability of the luacontroller
Jeija
2013-01-14 17:58:14 +01:00
240fb83e8b
Implement interrupt(time, iid): The whole code is called again after a certain amount of time. Whenever it is called, an event is set. Possible events are: program, interrupt, on and off It also contains additional information (on/off -> event.in; interrupt -> event.iid) iid must be an integer or string value, otherwise the interrupt is not active
Jeija
2013-01-13 17:33:16 +01:00
e297a02ec2
Implement a memory for the controller (accesible via mem.) and cleanup code Based on PilzAdam's code.
Jeija
2013-01-13 11:05:04 +01:00
bd749ec4d4
Add luacontroller, a microcontroller that you can code in lua. It still misses some functionality such as a persistent memory and a timer, but that is subject to change. The code runs in a sandbox. Speaking long term this will hopefully replace the old controller.
Jeija
2013-01-13 00:18:25 +01:00
841bc70b97
Fix a bug that occured when using a receptor placed directly next to a gate. We need to call a changesignal even if the gate/other effector is still connected to a power source in a way.
Jeija
2013-01-09 16:56:25 +01:00
17579a6aa1
Fix gates drop bug reported by kaeza and Kacey, avoid polluting the global namespace.
Anthony Zhang
2013-01-06 14:09:54 -05:00
52ddd4bdc9
Add crafting recipe for the delayer (similar to redstone, but with cobble instead of stone)
Jeija
2012-12-30 09:07:49 +01:00
5921f6d46c
made tweaks to the way mese is converted to mesecons. If old mese paradigm is in use, one default:mese crafts to 18 mesecons wires. If new paradigm is in use, cook one mese crystal fragment to get 2 wires, or cook one mese crystal to get 18, or cook one mese block to get 162. Avoids conflict with new default recipe that crafts 9 crystals from one mese block.
Vanessa Ezekowitz
2012-12-28 16:51:11 -05:00
7e231b99a6
Make nr in rules rotation local in order not to pullute the holy global namespace
Jeija
2012-12-28 07:33:16 +01:00
ab1966f763
Fix server crash when using movestones
Jeija
2012-12-27 22:33:09 +01:00
2bbc9dd4b7
Rework the next nodes: Pressure Plates
Jeija
2012-12-27 22:28:39 +01:00