1
0
mirror of https://github.com/mt-mods/pipeworks.git synced 2024-12-26 02:40:23 +01:00
Go to file
Christopher Head 15bb7b129c
Enhance params to can_remove and remove_item
By passing the list name and the slot index, these functions now receive
all data related to removal of an item from an inventory: the side on
which the removal is taking place, as well as which stack is being
pulled from. This means it’s no longer necessary to choose between
implementing `on_metadata_inventory_take` (which tells you which item
stack was pulled from but not from which side of the node) or
`remove_item` (which tells you which side the filter is on but not which
item stack it wants to take).
2017-10-15 22:59:20 -07:00
models add screwdriver rotation handling on most pipes-related nodes 2017-03-17 10:07:34 -04:00
new_flow_logic new flow logic: abms.lua: hoist simple flowable neighbour calculation into if-block in preparation for directional flowables support 2017-10-15 18:18:48 +01:00
textures revise nodebreaker front/business end textures 2017-10-14 16:11:05 -04:00
todo todo: new flow logic: spigot/fountainheads to place flowing water on turn-off; make decorative gratings do something useful 2017-10-15 15:32:07 +01:00
.gitignore update .gitignore 2016-08-29 18:25:40 +02:00
autocrafter.lua fix scale on autocrafter's on/off switch 2017-04-12 07:09:35 -04:00
autodetect-finite-water.lua add finite water feature toggle and auto-detect code 2017-10-03 20:53:49 +01:00
autoplace_pipes.lua allow external devices to connect to pipes 2017-04-12 07:10:48 -04:00
autoplace_tubes.lua Namespace pollution cleanup (Used list at #154) 2017-04-04 05:27:37 -03:00
changelog.txt changelog.txt: add entry for node breaker work 2017-10-14 21:48:44 +01:00
common.lua remove some debug prints 2017-04-11 19:45:59 -04:00
compat-chests.lua filter: allow to take items out of locked chests if same owner (#193) 2017-08-17 15:20:38 -04:00
compat-furnaces.lua cache on/off button image refs and commonly-used label for same 2017-04-11 18:52:39 -04:00
crafts.lua crafts.lua: add gear item for node breaker crafting 2017-10-14 17:13:45 +01:00
decorative_tubes.lua make all tubes call the routing functions 2015-02-07 02:45:17 -05:00
default_settings.lua default_settings.lua: remove old default for new_flow_logic left over from transition to pipeworks.toggles.pressure_logic 2017-10-08 18:21:17 +01:00
depends.txt hard dep on mesecons 2017-09-27 02:23:28 -04:00
description.txt update description a bit (typo, outdated a little) 2017-02-07 16:04:02 -05:00
devices.lua new flow logic: implement post-transition hook with mesecons support, add mesecons transition rules for flow sensor 2017-10-08 17:38:28 +01:00
filter-injector.lua Enhance params to can_remove and remove_item 2017-10-15 22:59:20 -07:00
flowing_logic.lua flowing_logic.lua: separate out new logic into seperate file 2017-09-27 17:49:49 +01:00
init.lua add finite water feature toggle and auto-detect code 2017-10-03 20:53:49 +01:00
item_transport.lua give more possibilities to mods (#194) 2017-08-20 18:05:08 -04:00
legacy.lua remove dead code to remove undeclared variable access warning 2015-02-04 12:41:25 +01:00
LICENSE Add lua controlled tube (#199) 2017-09-25 23:21:15 -04:00
lua_tube.lua Add lua controlled tube (#199) 2017-09-25 23:21:15 -04:00
luaentity.lua Adjust rate control code to work better 2017-07-03 18:43:03 -04:00
mod.conf Adding standard mod files 2016-03-27 21:28:04 -07:00
models.lua Add lua controlled tube (#199) 2017-09-25 23:21:15 -04:00
pipes.lua move new flow logic flag to dedicated toggles table 2017-10-03 20:38:56 +01:00
README New wiki url in README 2015-03-09 00:05:13 +02:00
routing_tubes.lua Change scope of local variable 'nodecolor': (#185) 2017-06-08 01:54:09 -04:00
screenshot.png Add screenshot.png 2016-03-27 22:31:33 -07:00
settingtypes.txt Add lua controlled tube (#199) 2017-09-25 23:21:15 -04:00
signal_tubes.lua Add digiline_conductor and mesecon_and_digiline_conductor tubes (#195) 2017-09-25 23:19:35 -04:00
sorting_tubes.lua cache on/off button image refs and commonly-used label for same 2017-04-11 18:52:39 -04:00
teleport_tube.lua fix scale of on/off switch in teleport tube 2017-04-12 14:36:50 -04:00
trashcan.lua add list rings to pipework inventories 2016-08-29 18:28:43 +02:00
tube_registration.lua fix a crash (#190) 2017-07-20 01:42:34 -04:00
vacuum_tubes.lua Nice settings (#171) 2017-04-13 21:13:30 -04:00
wielder.lua wielder.lua: add LBM to refund mese picks for pre-transition node breakers 2017-10-14 20:00:46 +01:00

This mod uses nodeboxes to supply a complete set of 3D pipes and tubes, 
along devices that work with them.

See https://github.com/VanessaE/pipeworks/wiki/ for detailed information about usage of this mod.

Unlike the previous version of this mod, these pipes are rounded, and when 
placed, they'll automatically join together as needed.  Pipes can go vertically 
or horizontally, and there are enough nodes defined to allow for all possible 
connections.  Valves and pumps can only be placed horizontally, and will 
automatically rotate and join with neighboring pipes as objects are added, as 
well as joining with each other under certain circumstances.

Pipes come in two variants: one type bears one or more dark windows on each 
pipe, suggesting they're empty, while the other type bears green-tinted 
windows, as if full (the two colors should also be easy to select if you want 
to change them in a paint program).  These windows only appear on straight 
lengths and on certain junctions.

This mod is a work in progress.

Please note that owing to the nature of this mod, I have opted to use 64px 
textures.  Anything less just looks terrible.