ductnet
We handle the unity part of plumbing. We track who is connected to who.
Vars | |
capacity | Max reagents we can carry per tick |
---|---|
demanders | Stuff that can take chems |
ducts | All the ducts that make this network |
suppliers | Stuff that can supply chems |
Procs | |
add_duct | Add a duct to our network |
add_plumber | add a plumbing object to either demanders or suppliers |
assimilate | we combine ductnets. this occurs when someone connects to separate sets of fluid ducts |
destroy_network | destroy the network and tell all our ducts and plumbers we are gone |
remove_duct | Remove a duct from our network and commit suicide, because this is probably easier than to check who that duct was connected to and what part of us was lost |
remove_plumber | remove a plumber. we don't delete ourselves because ductnets don't persist through plumbing objects |
Var Details
capacity
Max reagents we can carry per tick
demanders
Stuff that can take chems
ducts
All the ducts that make this network
suppliers
Stuff that can supply chems
Proc Details
add_duct
Add a duct to our network
add_plumber
add a plumbing object to either demanders or suppliers
assimilate
we combine ductnets. this occurs when someone connects to separate sets of fluid ducts
destroy_network
destroy the network and tell all our ducts and plumbers we are gone
remove_duct
Remove a duct from our network and commit suicide, because this is probably easier than to check who that duct was connected to and what part of us was lost
remove_plumber
remove a plumber. we don't delete ourselves because ductnets don't persist through plumbing objects