Commit Graph

896 Commits

Author SHA1 Message Date
Anthony Zhang
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. 2013-03-15 17:07:15 -04:00
Anthony Zhang
588e41c786 Up/down pistons should also have special rules excluding the pusher side (rotated versions of normal pistons). 2013-03-14 14:19:02 -04:00
Anthony Zhang
79bb4a3433 Lots of bugs in movestones fixed:
* Movestones no longer eat nodes when running off the track.
* Movestones no longer eat nodes when colliding with an mvps stopper.
* Movestones no longer pass through mvps stoppers.
* Movestones do not eat nodes when they are suddenly placed in the entity's path.
2013-03-14 13:44:49 -04:00
Anthony Zhang
e1577eba46 Revert additional piston rules. 2013-03-11 17:49:07 -04:00
Anthony Zhang
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. 2013-03-11 17:37:50 -04:00
Anthony Zhang
db90c1cb4b Add /hp command to set the HP of a given player, requires the ban privelege. 2013-03-07 16:47:32 -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
84d5546df1 Merge pull request #82 from Jat15/patch-1
Fix bug texture in mesewire for 0.4 stable
2013-03-05 09:36:07 -08:00
Jat
629a52af11 Fix bug texture in mesewire for 0.4 stable 2013-03-04 19:56:43 +01:00
khonkhortisan
4c0988ceab Merge pull request #80 from khonkhortisan/master
Vertical piston selection boxes
2013-03-02 22:24:29 -08:00
khonkhortisan
ac23eb070a Make vertical piston pusher selection boxes match their horizontal
equivalents
2013-03-02 22:22:43 -08:00
Jeija
e707afef1a Don't totally force deactivation of block two below the pressure plate if connected to a receptor 2013-02-24 19:09:07 +01:00
Jeija
2848df007e Bugfix: Also deactivate the block two below when digging a pressure plate 2013-02-24 19:03:28 +01:00
Jeija
c9e89189eb Improved object detector craft recipe, picture soon available on mesecons.net 2013-02-22 19:49:03 +01:00
Jeija
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
2013-02-22 19:37:05 +01:00
Jeija
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)
2013-02-22 19:23:28 +01:00
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 20130211 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