Commit Graph

480 Commits (master)

Author SHA1 Message Date
Jeija cc41f136cc More distinguishable inventory image for the luacontroller (not wield
item, just top)
2013-02-19 16:58:17 +01:00
Jeija 8827cfd66f Merge branch 'luacontroller' 2013-02-19 16:54:53 +01:00
Jeija d36dd865ad Fix onstate corner drop
I blame khonkhortisan
2013-02-19 16:42:33 +01:00
khonkhortisan ad9dde706e Merge pull request #77 from khonkhortisan/master
mesecons_extrawires:insulated_off
2013-02-18 10:38:05 -08:00
Kyle 09ac201bac Fix the nodename of a drop 2013-02-18 10:27:11 -08:00
Jeija 1c4ab938ad Fix a dumb bug that conflicted with different things in the luacontroller 2013-02-12 10:58:29 +01:00
Jeija eeed4f148d Fix odd behaviour when using interrupts in the luacontroller 2013-02-12 10:25:24 +01:00
Jeija 0e34696214 Make Mese conductive 2013-02-11 11:01:13 +01:00
Jeija 10ea3c971b Merge branch 'master' into luacontroller 2013-02-11 08:03:08 +01:00
Jeija 591e2d7cde LuaController: Queue setting the ports (wait for pending operations) 2013-02-10 23:10:22 +01:00
Anthony 7cc803b0d7 Merge pull request #74 from khonkhortisan/eghoststone
Remove ghoststone_active shadow on_construct
2013-02-08 17:01:13 -08:00
Anthony Zhang 536c77330b Fix sticky piston crafting recipe. 2013-02-08 19:50:20 -05:00
Kyle fb45ee1d77 Remove ghoststone shadow when active. 2013-02-08 16:49:27 -08:00
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