more functional handling of Quantity

This commit is contained in:
Sebastian Kuzminsky 2025-01-18 11:22:05 -07:00
parent 424cbaedf8
commit dd2f41e3cf
22 changed files with 131 additions and 99 deletions

View file

@ -1,8 +1,8 @@
[outputs]
filament = {amount="1 kg"}
filament = { quantity = { amount = 1000, unit = "Gram" } }
[inputs]
capital={amount="23.99 usd"}
capital={ quantity = { amount=23.99, unit="USDollar" } }
[dependencies]
operator = {skills=["vendor interaction"]}