ec517becabTexture the LuaController formspec
Jeija
2013-01-19 12:03:27 +01:00
0d44144421Bugfixes and improved stability of the luacontroller
Jeija
2013-01-14 17:58:14 +01:00
240fb83e8bImplement 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
e297a02ec2Implement 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
bd749ec4d4Add 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
841bc70b97Fix 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
17579a6aa1Fix gates drop bug reported by kaeza and Kacey, avoid polluting the global namespace.
Anthony Zhang
2013-01-06 14:09:54 -05:00
52ddd4bdc9Add crafting recipe for the delayer (similar to redstone, but with cobble instead of stone)
Jeija
2012-12-30 09:07:49 +01:00
5921f6d46cmade 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
7e231b99a6Make nr in rules rotation local in order not to pullute the holy global namespace
Jeija
2012-12-28 07:33:16 +01:00
ab1966f763Fix server crash when using movestones
Jeija
2012-12-27 22:33:09 +01:00
2bbc9dd4b7Rework the next nodes: Pressure Plates
Jeija
2012-12-27 22:28:39 +01:00
84ad046533Added a couple of needed textures for curved/corner wires and tweak code to use them. Also fixed the "on" state image for wire ends so that it works for curved wires also.
Vanessa Ezekowitz
2012-12-27 12:48:02 -05:00
cdd9a93da9revamped textures for all pistons, tweaked thickness of piston pusher
Vanessa Ezekowitz
2012-12-27 12:13:40 -05:00
d3b77b5be3Compatibility with old pistons
Jeija
2012-12-27 12:03:05 +01:00
ac0fb91139Minor cleanup of mesecno torch and add another rule to it (behind above)
Jeija
2012-12-27 10:50:20 +01:00
d1ace465c7Add experimental 'corner' wire, an insulated bended wire (needs textures and maybe rename it)
Jeija
2012-12-27 09:54:19 +01:00
7fe4947056Bugfix foes for pistons, delayyrs, gates and microcontrollers. Rework delayers.
Jeija
2012-12-27 09:28:04 +01:00
5a88a9715fRe-write pistons from scratch, propably fixes a lot of bugs and doesn't cause too many new ones.
Jeija
2012-12-26 22:55:01 +01:00
d91e0b66cbRe-write pistons from scratch, propably fixes a lot of bugs and doesn't cause too many new ones.
Jeija
2012-12-26 22:54:28 +01:00
a9a2108d13Implement /say and /tell commands to aid mapmakers using command blocks.
Anthony Zhang
2012-12-25 14:26:03 -05:00
6b1bfe6391Add rule-name system. Every input rule can now have a name, that could help e.g. the microcontroller to know where a signal comes from.
Jeija
2012-12-19 17:34:05 +01:00
f6ef7b005dSame for sticky piston
Jeija
2012-12-18 16:21:41 +01:00
a1852204fbCleanup and improve piston code
Jeija
2012-12-16 11:58:43 +01:00
ae4bd1e21cMerge branch 'master' into nextgen
Jeija
2012-12-16 08:59:06 +01:00
9dee0c020cFix placing while facing diagonally.
Anthony Zhang
2012-12-15 19:16:59 -05:00
aab0d4d943Place up/down pistons automatically depending on the player look direction, remove the craft recipes for up/down pistons, and unify all the pushing/pulling behaviors into mesecon:piston_push(pos) and mesecon:piston_pull(pos).
Anthony Zhang
2012-12-15 19:12:20 -05:00
b5f5beeb3dAttempt to update the wire crossing.
Anthony Zhang
2012-12-15 17:53:03 -05:00
5fb5df446cBugfix, use param2 for conductors when turning them on/off
Jeija
2012-12-15 21:23:38 +01:00
18731cbc8aBugfix, param2 for conductors
Jeija
2012-12-15 21:21:54 +01:00
44dc1a128cUpload cleaned up mesecons to nextgen branch
Jeija
2012-12-15 18:45:51 +01:00
961b955f2dPort door, fix button/lever bug, new visual style for receiver
Jeija
2012-12-09 13:28:32 +01:00
31f3c99288Fix microcontroller alias
Jeija
2012-12-09 11:16:48 +01:00
a0a3328f7cFix microcontroller alias
Jeija
2012-12-09 11:13:32 +01:00
b37bdbf55cPort 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)
Jeija
2012-12-09 00:42:30 +01:00
cf6080f723Port more blocks to nodedef system: object detector, extrawires, water turbine, insulated wire
Jeija
2012-12-08 22:28:46 +01:00
00e071b695Cleanup, make and use util.lua, port command block and delayer to nodedef
Jeija
2012-12-08 21:56:09 +01:00
8578fd89c8Port lightstones (as reference for effectors) + blinky plant to the new nodedef system
Jeija
2012-12-08 19:02:34 +01:00
472650f099Finish new mesecon-in-nodedef for conductors and receptors. Make wires and switch use it for reference.
Jeija
2012-12-08 17:50:25 +01:00
f28cf0af03Fix major bug that often occured when using gates (caused by commit 64d109b)
Jeija
2012-12-08 16:08:16 +01:00
e0aa5b1d3dNew branch: Move mesecon to node definition instead of functions like register_conductor; first steps: move everything to legacy
Jeija
2012-12-08 14:14:04 +01:00
12206ac190Add support for the preinstalled wooden door in minetest_game
Jeija
2012-12-08 12:13:45 +01:00
3926c46293Merge pull request #58 from PilzAdam/master
Jeija
2012-12-07 12:51:44 -08:00
4a8e20b68eSpeed update of pressureplates up by using node_timers
PilzAdam
2012-12-07 15:52:52 +01:00
7542dd4da0Fix a bug (in some cases the output rules of a receptor weren't respected, bug introduced by commit before, 64d109b31b)
Jeija
2012-12-03 18:59:34 +01:00
64d109b31bmesecon:updatenode() was written to work only with conductors, though in several places it was used on recepters and effectors. This issue, reported by simion314, is fixed in this commit by explicitly checking for the type of mesecon node being updated.
Anthony Zhang
2012-12-01 18:34:05 -05:00
3bab7cb252Simpler piston push/pull method.
Anthony Zhang
2012-11-28 23:32:24 -05:00
aaddd9e74dFix a rare piston pushing bug and make piston updating faster.
Anthony Zhang
2012-11-27 19:34:54 -05:00
618fd31f43Merge remote-tracking branch 'origin/master'
Anthony Zhang
2012-11-11 17:52:07 -05:00
db434c6fe9Use nodeupdate() so things like pushing gravel/sand off a ledge allows it to fall.
Anthony Zhang
2012-11-11 17:51:03 -05:00
938dc37623Merge pull request #55 from Jat15/master
Anthony
2012-11-08 16:24:22 -08:00
2d16152188Add command block:
Anthony Zhang
2012-10-28 16:31:03 -04:00
3ae31cd849Use add_node since place_node only works with ItemStacks and can't specify param1/param2 value. This fixes pistons pushing pistons/torches/etc.
Anthony Zhang
2012-10-27 12:40:11 -04:00
ff5dcda7c7Further piston improvements, the pistons now delay before retracting and play nice with invalid states.
Anthony Zhang
2012-10-13 12:45:15 -04:00
931ac23ff3Improve T-FF code and add a reset pin on C.
cornernote
2012-10-07 13:08:01 -04:00
dcd2f94ba9New pistons activation mechanism, fixes many of the issues reported when pushing mesecons around. Side effect is that it might be somewhat slower, and it waits a tiny delay before extending or retracting. This should be unnoticable in normal use.
Anthony Zhang
2012-10-02 17:09:39 -04:00
cd8fd55fe3Fix whitespace, simplify node updating.
Anthony Zhang
2012-10-01 22:18:45 -04:00
208e95c2ffCaptilization.
Anthony Zhang
2012-09-27 17:27:34 -04:00