2017-10-01 16:18:00 +02:00
|
|
|
-- registry of flowable node behaviours in new flow logic
|
2017-09-30 21:16:00 +02:00
|
|
|
-- written 2017 by thetaepsilon
|
|
|
|
|
2017-10-01 16:18:00 +02:00
|
|
|
-- the actual registration functions which edit these tables can be found in flowable_node_registry_install.lua
|
|
|
|
-- this is because the ABM code needs to inspect these tables,
|
|
|
|
-- but the registration code needs to reference said ABM code.
|
|
|
|
-- so those functions were split out to resolve a circular dependency.
|
|
|
|
|
|
|
|
|
2017-10-01 01:13:43 +02:00
|
|
|
|
2017-09-30 21:16:00 +02:00
|
|
|
pipeworks.flowables = {}
|
|
|
|
pipeworks.flowables.list = {}
|
|
|
|
pipeworks.flowables.list.all = {}
|
|
|
|
-- pipeworks.flowables.list.nodenames = {}
|
|
|
|
|
|
|
|
-- simple flowables - balance pressure in any direction
|
|
|
|
pipeworks.flowables.list.simple = {}
|
|
|
|
pipeworks.flowables.list.simple_nodenames = {}
|
|
|
|
|
|
|
|
-- simple intakes - try to absorb any adjacent water nodes
|
|
|
|
pipeworks.flowables.inputs = {}
|
|
|
|
pipeworks.flowables.inputs.list = {}
|
|
|
|
pipeworks.flowables.inputs.nodenames = {}
|
|
|
|
|
2017-10-01 13:45:12 +02:00
|
|
|
-- outputs - takes pressure from pipes and update world to do something with it
|
|
|
|
pipeworks.flowables.outputs = {}
|
|
|
|
pipeworks.flowables.outputs.list = {}
|
|
|
|
-- not currently any nodenames arraylist for this one as it's not currently needed.
|