AIDef:Action/EventIncreasePorchItemAction: Difference between revisions
AIDef:Action/EventIncreasePorchItemAction (view source)
Revision as of 00:40, 24 March 2019
, 5 years agono edit summary
imported>Leoetlino No edit summary |
imported>Leoetlino No edit summary |
||
Line 4: | Line 4: | ||
}} | }} | ||
Adds an item to the inventory. The IsGet_ flag is automatically set. | Adds an item to the inventory. The IsGet_ flag is automatically set. | ||
Warnings: | |||
* If the inventory is full, the item is silently dropped. | |||
* If there aren't enough items to remove from the inventory, this function returns without doing anything. A custom loop with HasPorchItem + Demo_IncreasePorchItem is thus required to completely remove an item from the inventory. | |||
== DynamicInstParams == | == DynamicInstParams == |