Closed darozak closed 2 years ago
Defined bIHaveThis and bIHaveThese on http://exmachinis.wiki. These words return a Boolean value to indicate whether a single resource and quantity or list of resources and quantities are present in the drone's cargo hold. I still need to test these to make sure that they are working properly.
Renamed as sIHaveThis and sIHave these. Categorized as Boolean functions. Must check to make sure that they're working correctly.
I had to create >= and <= commands to support the sIHaveThis function. However, I'm having trouble creating Wiki Links for >= and <= because adding = to {{e|{{Less than}}{{Equals}}|<=}} appears to have an adverse effect. I think I fixed this by changing the statement to {{e|{{Less than}}{{Equals}}|<{{Equals}}}}.
That seems to have done the trick. I tested sIHaveThis and confirmed that it worked. Next, I need to confirm that sIHaveThese works as expected.
I tested sIHaveThese and it works perfectly!
It would be very useful to create a command that ensures all required resources are available before performing a protocol.