MOB functions
Functions for creating and checking items in a oCMobContainers (chests etc.).
Functions
Mob_CreateItems
Mob_CreateItems
Creates a specified number of items in a oCMobContainer
Parameters
mobname
- name of the oCMobContaineriteminstance
- instance of the itemamount
- number of items to create
Mob_HasItems
Mob_HasItems
Checks if a oCMobContainer has a specified number of items
Parameters
mobname
- name of the oCMobContaineriteminstance
- instance of the item
Return value
The function returns number of these items in the container