Commit Graph

567 Commits

Author SHA1 Message Date
Anthony Zhang
5b5e919683 Make load times faster by avoiding inventorycube and wielditem creation in technical blocks such as active wires and various piston orientations. 2013-02-08 14:36:20 -05:00
Anthony Zhang
4714c908ac Fix #73 - receiver wire drops down one node when connected button is dug. 2013-02-08 14:18:42 -05:00
Jeija
ccb3430540 Merge pull request #70 from khonkhortisan/eghoststone
Make ghoststone conductive
2013-02-07 08:49:24 -08:00
Kyle
43cb258877 Make ghoststone conductive. 2013-02-07 08:30:15 -08:00
Jeija
e3c9eded2a Merge branch 'master' of https://github.com/Jeija/minetest-mod-mesecons 2013-02-06 21:25:55 +01:00
Jeija
74eefc270a Fix piston drops and craft recipe 2013-02-06 21:24:58 +01:00
khonkhortisan
a5a4f2b65c Merge pull request #69 from khonkhortisan/master
Keep vertical wire base from self-intersecting
2013-02-04 20:02:27 -08:00
Kyle
c23295409b Keep vertical wire base from self-intersecting
on the bottom.
2013-02-04 15:25:36 -08:00
Jeija
baba7de063 Fix door compatibility, update to latest version 2013-01-30 07:37:08 +01:00
Jeija
59cd72191b Add tostring, tonumber, string to luacontroller, prohibit 'function' 2013-01-22 21:15:49 +01:00
Jeija
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.
2013-01-22 18:26:27 +01:00
Jeija
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.*
2013-01-20 18:00:33 +01:00
Jeija
5c2959826e Fix piston bug: up piston pushing sand won't drop the sand anymore 2013-01-20 13:01:40 +01:00
Jeija
ef087f2bb6 Fix Bug: Wrong usage of action_on/action_off instead of action_change 2013-01-19 23:37:03 +01:00
Jeija
62ddebaecb Add support in luacontroller for a not yet released mod called 'digilines' 2013-01-19 21:45:39 +01:00
Jeija
fc384aedbb Remove unused variable 2013-01-19 12:04:10 +01:00
Jeija
ec517becab Texture the LuaController formspec 2013-01-19 12:03:27 +01:00
Jeija
0d44144421 Bugfixes and improved stability of the luacontroller 2013-01-14 17:58:14 +01:00
Jeija
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
2013-01-13 17:33:16 +01:00
Jeija
e297a02ec2 Implement a memory for the controller (accesible via mem.) and cleanup code
Based on PilzAdam's code.
2013-01-13 11:08:13 +01:00
Jeija
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.
2013-01-13 00:18:25 +01:00
Jeija
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.
2013-01-09 16:56:25 +01:00
Anthony Zhang
17579a6aa1 Fix gates drop bug reported by kaeza and Kacey, avoid polluting the global namespace. 2013-01-06 14:09:54 -05:00
Jeija
ec07fc27d7 Merge branch 'nextgen'
Conflicts:
	mesecons/wires.lua
2012-12-31 18:32:46 +01: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
Vanessa Ezekowitz
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.
2012-12-28 16:51:11 -05:00
Jeija
7e231b99a6 Make nr in rules rotation local in order not to pullute the holy global namespace 2012-12-28 07:33:16 +01:00
Jeija
ab1966f763 Fix server crash when using movestones 2012-12-27 22:33:09 +01:00
Jeija
2bbc9dd4b7 Rework the next nodes: Pressure Plates 2012-12-27 22:28:39 +01:00
Jeija
72d58d2018 Merge branch 'nextgen' of https://github.com/Jeija/minetest-mod-mesecons into nextgen 2012-12-27 20:39:04 +01:00
Jeija
c062411fa1 Fix another two piston-related bugs 2012-12-27 20:38:12 +01:00
Vanessa Ezekowitz
2a061362fb Merge branch 'nextgen' of github.com:Jeija/minetest-mod-mesecons into nextgen 2012-12-27 13:51:36 -05:00
Vanessa Ezekowitz
92122379de added and tweaked textures to improve appearance and tiling of insulated
T-junctions.
2012-12-27 13:50:54 -05:00
Jeija
c63afd49ec Merge branch 'nextgen' of https://github.com/Jeija/minetest-mod-mesecons into nextgen 2012-12-27 19:15:24 +01:00
Jeija
2a8bd68c41 Fix very rare piston bug (needs testing) 2012-12-27 19:14:54 +01:00
Vanessa Ezekowitz
84ad046533 Added 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.
2012-12-27 12:48:02 -05:00
Vanessa Ezekowitz
cdd9a93da9 revamped textures for all pistons, tweaked thickness of piston pusher 2012-12-27 12:13:40 -05:00
Jeija
d3b77b5be3 Compatibility with old pistons 2012-12-27 12:03:05 +01:00
Jeija
ac0fb91139 Minor cleanup of mesecno torch and add another rule to it (behind above) 2012-12-27 10:50:20 +01:00
Jeija
d1ace465c7 Add experimental 'corner' wire, an insulated bended wire (needs textures and maybe rename it) 2012-12-27 09:54:19 +01:00
Jeija
7fe4947056 Bugfix foes for pistons, delayyrs, gates and microcontrollers. Rework delayers. 2012-12-27 09:28:04 +01:00
Jeija
5a88a9715f Re-write pistons from scratch, propably fixes a lot of bugs and doesn't
cause too many new ones.
2012-12-26 22:56:31 +01:00
Jeija
d91e0b66cb Re-write pistons from scratch, propably fixes a lot of bugs and doesn't cause too many new ones. 2012-12-26 22:54:28 +01:00
Anthony Zhang
a9a2108d13 Implement /say and /tell commands to aid mapmakers using command blocks. 2012-12-25 14:26:03 -05:00
Jeija
c508bfaea6 Merge branch 'nextgen' of https://github.com/Jeija/minetest-mod-mesecons into nextgen 2012-12-23 17:21:34 +01:00
Jeija
af8fd75fa4 Fix sticky piston up 2012-12-23 17:20:59 +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
5e8e003b8c Merge pull request #65 from montyoso/nextgen
now the insulated wires change their color when are turned on
2012-12-21 21:21:39 -08:00
Anthony
6fab716f3e Fix up piston retraction.
The node property is_sticky_piston was applied to piston_up_normal rather than piston_up_sticky.
2012-12-21 20:46:57 -05:00
Andres Eduardo Montoya Cruz
34fa8a1167 now the insulated wires change their color when they are turn on 2012-12-21 20:24:43 -05:00