Results: 4Comments by: CaseyOmah |
File: Rulebased Inventory08/13/21 |
Re: Re: currency...Rules?
Posted By: CaseyOmah
Gold, Tel Var, Writ Vouchers, and Alliance Points
Looks like a possible no, because of "one or a batch of items"
jep.. rules are lua which will be executed in a specific environment for one or a batch of items. RbI-functions/-variables are locally imported and since RbI 2.23 the whole global environment can be accessed.
Curr...
|
File: Rulebased Inventory08/13/21 |
currency...Rules?
Posted By: CaseyOmah
So, I see you can call lua directly from RbI, so you see any logical reason why I couldn't write rules using lua/RbI hybrid to make currency handling?
|
File: Rulebased Inventory08/13/21 |
Re: Re: Wonderful... but please?
Posted By: CaseyOmah
Thank you so much for your prompt response, and I apologize for not noticing it's addition before requesting. This addon absolutely the best!
hi!
we already have this feature since I introduced stacktracing to prevent cycles with version 2.17.
You can use rule("sell") or the alias _("sell"). (Btw: the max stack size currently...
|
File: Rulebased Inventory08/12/21 |
Wonderful... but please?
Posted By: CaseyOmah
I love your addon, amazing the power and flexibility of it!
I have a special request for one more API function (which can also be used to simplify the UI if desired) the feature I would propose be called:
RbIRule (bool) returns the value of the given Rulebased Inventory rule.
simple example:
Rule: Sell
fcoismarker("sell...
|