Can you make an output events as the following?: generatePower [Amount] (adds power), drainPower [Amount] (subtracts power), and setPower [Amount] (sets power).
Mainly for something working with VCE, such as for a power plant.
(33ms) onRelay >> Self >> fireRelay
onRelay >> Self >> VCEifVariable "Resource" > "1" "2 3"
onVariableTrue >> NB_Battery >> generatePower "0.05"
onVarableTrue >> Self >> VCEModVariable "Resource" Subtract "0.01"