Commit Graph

377 Commits

Author SHA1 Message Date
Jeija
b37bdbf55c Port 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) 2012-12-09 00:42:30 +01:00
Jeija
cf6080f723 Port more blocks to nodedef system: object detector, extrawires, water turbine, insulated wire 2012-12-08 22:28:46 +01:00
Jeija
00e071b695 Cleanup, make and use util.lua, port command block and delayer to nodedef 2012-12-08 21:56:09 +01:00
Jeija
8578fd89c8 Port lightstones (as reference for effectors) + blinky plant to the new nodedef system 2012-12-08 19:02:34 +01:00
Jeija
472650f099 Finish new mesecon-in-nodedef for conductors and receptors. Make wires and switch use it for reference. 2012-12-08 17:50:25 +01:00
Jeija
e0aa5b1d3d New branch: Move mesecon to node definition instead of functions like register_conductor; first steps: move everything to legacy 2012-12-08 14:14:04 +01:00
Jeija
12206ac190 Add support for the preinstalled wooden door in minetest_game 2012-12-08 12:13:45 +01:00
Jeija
3926c46293 Merge pull request #58 from PilzAdam/master
Speed update of pressureplates up by using node_timers
2012-12-07 12:51:44 -08:00
PilzAdam
4a8e20b68e Speed update of pressureplates up by using node_timers 2012-12-07 15:52:52 +01:00
Jeija
7542dd4da0 Fix a bug (in some cases the output rules of a receptor weren't respected, bug introduced by commit before, 64d109b31b) 2012-12-03 18:59:34 +01: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
Jat
b312d73511 Update tile_images 2012-11-08 20:52:36 +01: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
cornernote
931ac23ff3 Improve T-FF code and add a reset pin on C. 2012-10-07 13:08:01 -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
khonkhortisan
1da390d263 Merge pull request #50 from khonkhortisan/master
fix t-junction selectionbox when on (was node-sized)
2012-09-10 15:50:25 -07:00
Kyle
cee2574ff2 fix t-junction selectionbox when on 2012-09-10 15:48:06 -07:00
Vanessa Ezekowitz
12b0a38fb1 tweaked insulated wire textures to work for t-junctions 2012-09-10 12:47:31 -04:00
Jeija
e92387695d Add T-junction extrawire (no good textures yet) 2012-09-09 13:34:21 +02:00
Jeija
500e95c331 Fix Microcontroller bug in a different way, define offstate ports as inputs only 2012-09-09 13:07:59 +02:00
Jeija
f0e3b13f3f Merge branch 'master' of
https://github.com/Jeija/minetest-mod-mesecons
2012-09-08 15:28:57 +02:00
Jeija
f959c16763 Fix Microcontroller bug (discovered by Fenris) and some others that propably noone found 2012-09-08 15:10:31 +02:00
Jeija
f8d6d72441 Merge pull request #49 from khonkhortisan/extrawires
insulated crossed wire
2012-09-07 22:10:27 -07:00
Kyle
d3b1c43ee1 crossing wire moved into mesecons 2012-09-07 13:18:53 -07:00
Jeija
4ae7bc9aa6 Use sunlight_propagates = true for some more nodes 2012-09-07 15:59:49 +02:00
Vanessa Ezekowitz
70e9db28bc Merge branch 'master' of github.com:Jeija/minetest-mod-mesecons 2012-09-06 10:32:10 -04:00
Vanessa Ezekowitz
c04870efe4 New textures for blinkyplant 2012-09-06 10:31:42 -04:00
Jeija
3928d54d0c Implement mesecon:register_receptor(onstate, offstate, rules, get_rules) and make add_receptor_node(_off) deprecated 2012-09-06 09:53:30 +02:00
Vanessa Ezekowitz
3c90f36a75 better "power plant" texture 2012-09-05 20:52:03 -04:00
Jeija
7e7e1de725 Code cleanup 2012-09-05 23:52:09 +02:00
Jeija
69c6f1a440 Remove door 2012-09-05 23:06:46 +02:00
Jeija
f2b11e4238 Merge pull request #48 from khonkhortisan/gates
Gates
2012-09-05 13:58:38 -07:00
Kyle
6aa330e85c depend on mesecons_delayer's all_rules instead of getting both insulated
and microcontroller rules
2012-09-05 10:09:53 -07:00
Kyle
9fbc4b4587 went back to large nodeboxes which agree with inventory image 2012-09-04 21:22:29 -07:00
Kyle
17fc6ac1f0 FACEDIR! (among other things) 2012-09-04 21:16:32 -07:00
Kyle
e65c5ca9dc nodeboxes now show which sides connect 2012-09-03 11:50:43 -07:00
Kyle
b0142a7429 flat inventory image for easy gate identification 2012-09-01 23:27:23 -07:00
Kyle
845c275121 registering the on receptor makes placing a mesecon on the out port of
the gate update the circuitry after it
2012-09-01 22:06:25 -07:00
Kyle
0f7a87538d (oops) forgot the "out" connection 2012-09-01 18:59:10 -07:00
Kyle
6f1296198c simplified effector rules 2012-09-01 18:53:31 -07:00