summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-08-29update .gitignoreTim
2016-06-11Add digiline detector tube (#139)electrodude
* Add digiline detector tube The digiline detector tube outputs an itemstring of every stack that passes through it on the channel specified in its formspec. * Don't store digiline detector tube's formspec in a temporary local
2016-06-11Do not trust node.param2.Auke Kok
The table lookup will fail if node.param2 is outside [0-3] which is easily possible since there are several ways to modify param2 values of nodes. Force truncating param2 to always be 0-3 before using it in a table lookup.
2016-05-27Don't make passing arguments this complex.Auke Kok
This shouldn't be this complex. For me, both syntaxes work, but I bet it breaks others.
2016-05-23Fixed settings file leak and invalid io.close (#136)electrodude
Before, init.lua called io.open on pipeworks.worldpath..'/pipeworks_settings.txt' to see if it existed, but did not close the resulting file handle if it was found to exist. It instead erroneously called io.close() with no argument, which does nothing if the default output file is set to stdout, which it is. Now, the result of io.open is saved to a local variable. If that value is not nil (i.e. if the world settings file exists), the file handle is passed to io.close before calling dofile. Also, this saves pipeworks.worldpath..'/pipeworks_settings.txt' to a local variable to reduce redundancy.
2016-05-10Add Digiline Filter-Injectorelectrodude
This adds a new type of Filter-Injector that waits for a digiline message on its channel and then pulls the items described by the message out of the inventory. It is basically a Stackwise Injector that, on receiving a digiline message, sets its filter to the contents of the digiline message and then activates itself. Sending the message {name="default:brick", count=2} should do the same thing as setting the filter of a Stackwise Filter-Injector to two Brick Blocks and then punching it. If no count is specified, it defaults to 1. Since this is based off of the Stackwise Injector, it might make more sense if the default were an entire stack. I can change this trivially. You can also send requests like {{name="default:brick", count=1}, {name="default:dirt", count=1}}, which acts the same as setting the filter to one Brick Block and one Dirt Block and then punching it. If you send a string "default:dirt" instead of a table {name="default:dirt"}, the string is passed to ItemStack and the name and count are extracted from the resulting ItemStack. You can also send a list of strings instead of tables: {"default:dirt", "default:brick"}, and the first item found will be pulled. Punching this or activating it with Mesecons currently does nothing. I'm not really sure what would be the right thing to do in either of those two cases, so I made it do nothing. I guess I could make it use the previously-used filter, but I can't really see any usefulness in that. The recipe is probably too cheap. The darker of the two blue texture colors could probably be better.
2016-04-17Merge pull request #135 from electrodude/bugsAuke Kok
Fixed mixup between enables for conductor and detector tubes
2016-04-17Fixed mixup between enables for conductor and detector tubeselectrodude
pipeworks.enable_detector_tube would define detector tubes but the recipe for conductor tubes, and vice versa
2016-04-14Squelch a warning if no mesecons.Auke Kok
2016-04-14add exact mode to the filterProt EuPhobos
2016-04-01Don't use item_drop(, nil,)Auke Kok
2016-04-01Changed item_drop to add_item for items dropped during transport.greencopper
item_drop makes Minetest 0.4.13 crash, but add_item works in all versions and the behavior is identical when looking at the blocks.
2016-03-27Add screenshot.pngAuke Kok
2016-03-27Adding standard mod filesAuke Kok
2016-03-27Merge pull request #134 from sofar/furnacefixVanessa Ezekowitz
Work with NodeTimer based furnaces.
2016-03-27Work with NodeTimer based furnaces.Auke Kok
If we insert items through tubes, we must start the furnace timer otherwise it will never start operating. This shouldn't break older versions, as not having a timer function should just cancel out.
2015-11-18fix 2 other minetest.item_dropsHybridDog
2015-11-17fix crash caused by deprecated usage of minetest.item_drop, fixes #122HybridDog
2015-11-17reduce texture sizesHybridDog
reduce texture sizes
2015-11-15fix "sand" vacuum tubes not workingLeMagnesium
2015-10-10added is_fake_player entry to the fake player table passed on to ↵Sokomine
allow_metadata_* functions
2015-09-26removed hud_change from TODOThomas--S
2015-09-26Fixed typoThomas--S
Changed hud_channge to hud_change
2015-09-25"Implement" two further functions for fake playerest31
Implement two functions for fake player used by the hunger mod. Also, add a list of functions to be implemented for an overview.
2015-08-01Fix crash when deleting luaentities with //clearobjects.Novatux
2015-07-25Try to fix items dropping in unloaded areasNovatux
2015-06-23Try to fix crash (2)Novatux
2015-06-23Try to fix crashNovatux
2015-06-23Revert "fix multiple crash points if luaentity.entities or values returned from"Novatux
This reverts commit d0952a97fcff08328328d05f630d2b0036a48163.
2015-06-23fix multiple crash points if luaentity.entities or values returned fromVanessa Ezekowitz
luaentity.add_entity() are nil
2015-04-26fix deprecated time_images useVanessa Ezekowitz
2015-03-23drop direct support for dedicated protection modsVanessa Ezekowitz
just use minetest's standard protection functions instead (leave it up to those protection mods to do their job properly)
2015-03-14teleport_tube.lua recipe changeRainer
The default mese block has been changed to default:mese, so a change of the recipe of the teleport_tube_1 had to be made
2015-03-12add missing alias for entry panelVanessa Ezekowitz
side effect left over from new_flow_logic tests
2015-03-11add ownership/protection handling for device configurationTim
take any available ownership into account before deciding on area protection
2015-03-09New wiki url in READMEPhvli
2015-03-04label the vacuum tube logic abms for profiling purposesTim
useable with the mtt profiler starting with t4im/mtt@48eff13
2015-03-04document wielder pointed_thing problems and revert "fix wielder mixing up ↵Tim
above and under, which had for example an effect on the deployer trying to place seeds" This reverts commit 6e2f1fcd635398387a49911a996ccaba65bffdd3.
2015-03-04Use group:sand for sand_tube_1 recipesMT-Modder
2015-03-04fix wielder mixing up above and under, which had for example an effect on ↵Tim
the deployer trying to place seeds
2015-02-11Set the owner for locked chests on placingest31
2015-02-08fix conductor_tube_on textureTim
2015-02-07also fix chests and furnacesVanessa Ezekowitz
2015-02-07fix filters alsoVanessa Ezekowitz
2015-02-07make all tubes call the routing functionsVanessa Ezekowitz
using their after_place/after_dig callbacks
2015-02-07remove obsolete calls to register_on_placenode/dignodeVanessa Ezekowitz
they're slow and obsolete
2015-02-05use the right variable to test on_receive_fieldsTim
2015-02-04don't tostring "nil" in the teleportation tube on escapeTim
2015-02-04let the requested wielditem be the actual current wielditem and not just the ↵Tim
initialized one clean up some code to make a few lesser calls to it
2015-02-04remove dead code to remove undeclared variable access warningTim