Commit Graph
99 Commits
Author SHA1 Message Date
Anthony Zhang ec63bd3abf Merge remote-tracking branch 'refs/remotes/origin/master' 2013-06-22 15:39:01 -04:00
Anthony Zhang c87bc60635 Support cyclic references in luacontroller memory tables, prohibit usage of goto statement (bugs reported by Nore). 2013-06-10 16:40:34 -04:00
Anthony Zhang 8ea71a9036 Fix bug where functions in Luacontroller EEPROM crashes the server (fixes #107). 2013-06-06 16:38:40 -04:00
Anthony Zhang 367a41416b Fix README a little and add piston sounds by suzenako, contributed by jordan4ibanez. 2013-06-05 16:01:11 -04:00
Anthony 9a9df6cabf Merge pull request #106 from Novatux/heat
Add an ABM function which resets heat to 0, ...
2013-06-05 10:35:36 -07:00
Anthony Zhang 8be0d0e1d9 A ReadMe that is at least 2.84 times better than the old ones. 2013-05-26 18:40:48 -04:00
Anthony Zhang f9ce95154e Add license information (requested by kaeza). 2013-05-25 22:59:40 -04:00
Anthony Zhang 24160d45ff Silly mistake, interrupts should work better now. 2013-05-21 17:57:25 -04:00
Anthony Zhang 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. 2013-05-15 21:36:16 -04:00
Anthony Zhang 163384f308 Merge remote-tracking branch 'refs/remotes/origin/master' 2013-04-27 16:52:17 -04:00
Anthony Zhang d4f18d08c0 Avoid prepending "Server -!- " to messages sent using the command block. 2013-04-27 16:51:00 -04:00
Anthony 0a9bcf26ca Merge pull request #96 from VanessaE/master
Texture tweaks for vertical wires with caps
2013-04-22 09:50:13 -07:00
Anthony Zhang 1a5b1b4691 Fix pressure plate wield image. 2013-04-20 21:22:43 -04:00
Anthony Zhang 10bacdd7f4 Update selection boxes to make building easier. 2013-04-20 11:25:12 -04:00
Anthony Zhang 01d8c26b5b Merge remote-tracking branch 'refs/remotes/origin/master' 2013-04-14 13:58:31 -04:00
Anthony Zhang 3b1afb1783 Fix invalid node name if node was changed in after_place_node callback (fixes #93). 2013-04-14 13:54:33 -04:00
Anthony c08e868be2 Merge pull request #92 from khonkhortisan/lazypull
Round movestone position, don't forget last pull
2013-04-07 17:05:39 -07:00
Anthony Zhang e45a2a511e Sanity checks for commandblock commands. 2013-04-02 17:15:38 -04:00
Anthony Zhang 2cc38909a1 Add /tellme command to command block. 2013-03-27 21:21:44 -04:00
Anthony Zhang 21550b3727 Explicit tables of luacontroller environment. 2013-03-23 18:41:44 -04:00
Anthony Zhang 6983db6d82 Add math library to luacontroller, and make sure to copy stuff so code can't get out of the sandbox. 2013-03-23 17:49:25 -04:00
Anthony Zhang 1ff437b7b0 Don't forget sticky movestones! 2013-03-16 21:18:36 -04:00
Anthony Zhang 5f9e655c13 Add MOVESTONE_MAXIMUM_PUSH setting. 2013-03-15 19:53:09 -04:00
Anthony Zhang 3c3e45c7ea Avoid corrupting metadata. 2013-03-15 17:46:59 -04:00
Anthony Zhang 5fd1cf5c80 Use formspec_escape when available. 2013-03-15 17:21:16 -04:00
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
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
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
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
Anthony Zhang a9a2108d13 Implement /say and /tell commands to aid mapmakers using command blocks. 2012-12-25 14:26:03 -05: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
Anthony Zhang 313a137675 Merge remote-tracking branch 'origin/master' 2012-12-16 15:13:03 -05:00
Anthony Zhang c50b68cf83 Use a simpler way of detecting up/down piston placement (thanks Jeija). 2012-12-16 15:12:24 -05:00
Anthony Zhang 9dee0c020c Fix placing while facing diagonally. 2012-12-15 19:16:59 -05:00
Anthony Zhang aab0d4d943 Place 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). 2012-12-15 19:12:20 -05:00
Anthony Zhang b5f5beeb3d Attempt to update the wire crossing. 2012-12-15 17:53:03 -05:00
Anthony Zhang 64d109b31b mesecon: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. 2012-12-01 18:34:05 -05:00
Anthony Zhang 3bab7cb252 Simpler piston push/pull method. 2012-11-28 23:32:24 -05:00
Anthony Zhang aaddd9e74d Fix a rare piston pushing bug and make piston updating faster. 2012-11-27 19:34:54 -05:00
Anthony Zhang 618fd31f43 Merge remote-tracking branch 'origin/master' 2012-11-11 17:52:07 -05:00
Anthony Zhang db434c6fe9 Use nodeupdate() so things like pushing gravel/sand off a ledge allows it to fall. 2012-11-11 17:51:03 -05:00
Anthony 938dc37623 Merge pull request #55 from Jat15/master
tile_images modified tiles
2012-11-08 16:24:22 -08:00
Anthony Zhang 2d16152188 Add command block:
* not obtainable legitimately in Survival mode
* found in Creative inventory or using /giveme mesecons_commandblock:commandblock_off
* glows slightly when turned on
* runs a command in the context of the targeted player
* player can be targeted by name, or using the special forms (@nearest, @farthest, @random)
* when powered, runs its command with its parameters
* right click to bring up the configuration screen
* diggable and modifiable only by its owner, the person who placed it
2012-10-28 16:31:03 -04:00
Anthony Zhang 3ae31cd849 Use add_node since place_node only works with ItemStacks and can't specify param1/param2 value. This fixes pistons pushing pistons/torches/etc. 2012-10-27 12:40:11 -04:00
Anthony Zhang ff5dcda7c7 Further piston improvements, the pistons now delay before retracting and play nice with invalid states. 2012-10-13 12:45:15 -04:00
Anthony Zhang dcd2f94ba9 New 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. 2012-10-02 17:09:39 -04:00
Anthony Zhang cd8fd55fe3 Fix whitespace, simplify node updating. 2012-10-01 22:18:45 -04:00
Anthony Zhang 208e95c2ff Captilization. 2012-09-27 17:27:34 -04:00
Anthony Zhang ecefc937c9 Add ghoststone, crafted like removestone, with steel ingots at the corners. Trapstone disappears upon mesecon signals, but unlike removestone, reappears after the mesecon signal turns off. 2012-09-27 17:25:58 -04:00
Anthony 5cc18d8fbd Merge pull request #42 from Jat15/master
Modified pistons, movestone, mvps for all liquid
2012-08-30 09:43:56 -07:00
Anthony c060e56e1d Merge pull request #16 from VanessaE/master
mesecons groups settings, detector textures
2012-08-10 16:04:23 -07:00
Anthony 98fc808c68 Merge pull request #8 from Kotolegokot/master
Solar panel nodebox
2012-08-07 09:37:51 -07:00
Anthony Zhang aa8ad0fde9 Fix off-by-one error in piston length calculation and change the node pushing to make use of the fact that minetest.env:place_node() is apparently a no-op if the node is not air or liquid. 2012-07-20 22:15:49 -04:00
Anthony Zhang 9736b0f61e Nodebox piston pushers! Fix a few piston bugs such as pistons pushing pistons, pistons pushing blocks into pushers causing blocks to get deleted, and many more. As a side effect, players can no longer simply walk through piston pushers. Additionally, pistons will only remove their own pushers, and not those of neighboring pistons as well. Remove ENABLE_PISTON_ANIMATION option (not compatible with nodebox piston pushers). 2012-07-20 16:27:43 -04:00
Anthony Zhang 64a452da24 Fix piston duplication bug, simplify piston handling, limit piston push distance to 15 blocks. Remove deprecated object:get_entity_name() call, and some obselete settings. 2012-07-18 23:38:59 -04:00
Anthony Zhang d62a9269ac Fix wall lever bug. 2012-06-22 14:35:42 -04:00
Anthony Zhang 51539ef173 Experimental 3D plugs and sockets/inverters, fix a few things with Whiskers75's code. 2012-06-21 20:56:16 -04:00
Anthony Zhang 1e569782f5 Use minetest.env:place_node and minetest.env:dig_node to enable usage of the on_place and on_dig callbacks. 2012-06-21 20:32:48 -04:00
Anthony Zhang db26adca25 Fix crash in sticky movestones (thanks MarkTraceur), cleanup movestoen code significantly. 2012-06-16 12:53:14 -04:00
Anthony Zhang 3c7d2b2e25 Fix movestones (thanks MarkTraceur). 2012-06-15 21:29:43 -04:00
Anthony Zhang 4200757ba3 Remove deprecated API functions "register_on_placenode" and "register_on_dignode" where possible. 2012-06-04 22:20:04 -04:00
Anthony Zhang 95a84dde46 Add modpack.txt as modpack support has been added to MineTest dev around an hour ago:
https://github.com/celeron55/minetest/commit/747ff7daf875652be1063fa49316125977b0ba79

This allows the user to simply copy the entire modpack folder into the mods/ directory, rather than copy every individual mod there instead.
2012-05-21 14:06:13 -04:00
Anthony Zhang 5933b6f6ab Update README. 2012-05-21 14:03:56 -04:00
Anthony Zhang c6e42c7be7 Re-add missing flag. 2012-05-15 16:49:24 -04:00
Anthony Zhang 51453bb6c2 Made mesecons diggable 2012-04-24 17:28:14 -04:00
Anthony Zhang b051609405 Fix aliases and add a few more for backwards compatibility. 2012-03-24 11:59:22 -04:00
Anthony Zhang 3018128b4b Update nodes for compatibility with digging time groups. 2012-03-22 17:52:11 -04:00
Anthony Zhang 9ec0767762 Fix lamp alias. 2012-03-18 13:54:36 -04:00
Anthony Zhang 6bf1d17bbd For some reason Meselamps' functionality was not actually implemented. 2012-03-18 13:46:30 -04:00
Anthony Zhang 84656e079d Vertical mesecon plugs and sockets! Plugs will now affect sockets on a level two below or two above, as long as there is air between them. 2012-03-09 22:49:37 -05:00
Anthony Zhang deb4f4d613 Slightly lower required light level to allow things like meselamps to affect solar panels, instead of only sunlight. 2012-03-02 23:03:47 -05:00
Anthony Zhang f3f29ad16b More ItemDef updates and fix a typo in inverter placenode callback. 2012-02-27 23:03:40 -05:00
Anthony Zhang 8bdb2e86ad Change the ENABLE_TEMPEREST flag to affect only the inclusion of the inverter socket, since that is the only element that can lead to a crash. 2012-02-23 19:43:03 -05:00
Anthony Zhang cbd77d8f3d Fix lightstone drop. 2012-02-18 11:26:33 -05:00
Anthony Zhang 86f69d9f52 Forgot to include a check for node name in last commit... 2012-02-17 18:25:19 -05:00
Anthony Zhang a9152327a2 Fix inverter states. 2012-02-17 18:18:27 -05:00
Anthony Zhang fd81543d2b Merge remote-tracking branch 'origin/master' 2012-02-10 16:05:55 -05:00
Anthony Zhang 1ac2bc910f Refactor plugs and sockets to be smaller and faster, make inverters default to the On state. 2012-02-09 23:01:23 -05:00
Anthony Zhang e94941931d Wield images for raillike nodes, remove inventory images for nodes that never appear in the inventory. 2012-02-09 22:08:49 -05:00
Anthony Zhang f54166af45 Update wireless and IC nodes for itemdef. 2012-02-04 13:08:24 -05:00
Anthony Zhang 9aaa4af37e Move the IC craft definition into init.lua, since it is also needed byt the node detector. 2012-02-04 13:01:56 -05:00
Anthony Zhang dbd9b4e6b7 Add aliases for plugs, sockets, inverters, and buttons. 2012-01-30 13:10:03 -05:00
Anthony Zhang 1289cefee0 Descriptions for plugs and sockets. 2012-01-29 14:16:28 -05:00
Anthony Zhang 15c9988a45 Make variables local. 2012-01-29 13:19:40 -05:00
Anthony Zhang 83b5ee4bae Add missing forward slash (was causing plugs and sockets to fail). 2012-01-29 13:19:14 -05:00
Anthony Zhang cc43dbfebe Change legacy_facedir to legacy_facedir_simple. 2012-01-26 19:00:33 -05:00
Anthony Zhang cf37e5e439 Implement the other suggestions. 2012-01-26 16:39:03 -05:00
Anthony Zhang cbe6b4f7be Update param2 as per kahrl's suggestions. 2012-01-26 16:33:11 -05:00
Anthony Zhang 688f65947f Fix .minetest folder. 2012-01-26 16:19:04 -05:00
Anthony Zhang c0eb0982aa Fix a bug in which the wrong node was being checked for. 2012-01-21 15:20:36 -05:00
Anthony Zhang f221aeb066 Update position finding code and fix indentation. 2012-01-09 20:52:19 -05:00