lib.activate_mod
Definition:
- lib.mod_read_str (id, version, header, key) :: ini_value
Description:
- Reads the key item from the selected mod's registration INI file
Arguments:
- string id: name of the mod to be read from
- string version: version of the mod to be read from
- string header: The [header] to look under
- string key: the key of the item to check
Returns:
- string ini_value: The value stored in the INI file at [header], key. an empty string is returned if the key doesnt exist.
Other notes:
- Added in LME 3.0.x
- If repeated access is required, obtaining the mod's registration path with lib.get_state() and then using gkini.readstring2 may be more efficient.