Closed sxp2high closed 10 years ago
Settings have been applied to the config, however sometimes only to the item's base classes. Please let me know if this is not working (needs testing)
It's working, but this also includes the 0% empty items. Would be difficult to exclude these via scripting. I'm afraid base classes won't work well with this. It could become even more problematic with future actions (like "pour out bottle" etc.).
So it should be added to each item separately to give us control over each item's actions.
Changes have been applied, no base class is using the array anymore.
All edible items need the following array set in config: actionsInventory[] = {"Eat"};
All drinkable items need the following array set in config: actionsInventory[] = {"Drink"};