Inventory Item Add
, Inventory Item Remove
, as well as Rooms V1’s Award Currency
, and Award Consumable
, will all return circuit errors when trying to add/remove negative or 0 amounts
Creators should not have to add filters to each one of their chips that say “If less than or equal to 0, skip, else add/remove item”. It should just return a circuit warning, not a circuit error. The chip literally has a Success
output that could just return false if it failed
For those who don’t know:
- Circuit errors completely stop execution and throw a red error log
- Circuit warnings don’t stop execution, but the chip still does nothing and a yellow warning log is entered saying why nothing happened
I understand why we cannot add/remove negative amounts, as that could lead to incorrect math removing/giving items when it shouldn’t, if giving a dynamic amount, this still does not mean an error should be thrown, negative or 0 amounts should return a warning