Compare Component ![code/modules/wiremod/components/abstract/compare.dm 6](git.png)
Abstract component to build conditional components
Vars | |
compare | The trigger for the true/false signals |
---|---|
result | The result from the output |
true | Signals sent on compare |
Procs | |
do_comparisons | Do the comparisons and return a result |
populate_custom_ports | Used by derivatives to load their own ports in for custom use. |
Var Details
compare ![code/modules/wiremod/components/abstract/compare.dm 10](git.png)
The trigger for the true/false signals
result ![code/modules/wiremod/components/abstract/compare.dm 19](git.png)
The result from the output
true ![code/modules/wiremod/components/abstract/compare.dm 13](git.png)
Signals sent on compare
Proc Details
do_comparisons
Do the comparisons and return a result
populate_custom_ports
Used by derivatives to load their own ports in for custom use.