Configurable Valves


Adds a single configurable valve that can be used for: overflow, top-up and one-way/check. Inspired by Flow Control and Advanced Fluid Handling. Fully configurable with custom levels with intuitive shortcuts.

Utilities
6 hours ago
2.0
1.85K
Logistics Fluids Circuit network

g [Fixed] Crashed during cloning

11 days ago

https://mods.factorio.com/mod/sign-post/discussion/673941e9fa862941692dc200

Error while running event sign-post::on_selected_entity_changed (ID 56)
Le mod Configurable Valves (0.1.2) a engendré une erreur non récupérable.
Merci d'informer l'auteur de cette erreur.

Error while running event configurable-valves::on_entity_cloned (ID 132)
configurable-valves/control.lua:204: attempt to index local 'entity' (a nil value)
stack traceback:
configurable-valves/control.lua:204: in function <configurable-valves/control.lua:202>
stack traceback:
[C]: in function 'clone'
sign-post/control.lua:91: in function 'anticipate_upgrade'
sign-post/control.lua:150: in function <sign-post/control.lua:145>

11 days ago

whilst the line numbers don't match up with git, it looks like he overlooked that the cloned event has no .entity and still requires .destination:

local entity = event.entity or event.destination

5 days ago

This is fixed in the newest release.

5 days ago

sweet

New response