Module¶
-
class
pynwn.Module(module)¶ Module abstracts over MOD ERF files and directories containing the contents of MOD files.
-
areas¶ Areas.
Returns: List of pynwn.Areaobjects.
-
entry_area¶ Entry area.
Returns: pynwn.Areainstance.
-
entry_location¶ Entry location.
Returns: Tuple of the X, Y, Z coordinates.
-
expansion_pack¶ Expansion pack.
-
game_version¶ Game version
-
get_description(lang=None)¶ Localized description.
-
get_name(lang=None)¶ Localized name.
-
glob(glob_pattern)¶ Returns a list of (ContentObject, Container) tuples for file names matching the glob pattern. i.e. Unix shell-style wildcards: *.utc Note: all file names are converted to lowercase.
-
haks¶ List of HAK files without ‘hak’ extension.
-
scripts¶ Scripts. Responds to script events:
- Event.CUTSCENE_ABORT
- Event.ENTER
- Event.EXIT
- Event.HEARTBEAT
- Event.ITEM_ACQUIRED
- Event.ITEM_ACTIVATED
- Event.ITEM_EQUIPPED
- Event.ITEM_UNACQUIRED
- Event.ITEM_UNEQUIPPED
- Event.LEVELUP
- Event.LOAD
- Event.DEATH
- Event.DYING
- Event.RESPAWN
- Event.REST
- Event.USER_DEFINED
-
set_description(lang=None, string=None)¶ Localized description.
-
set_name(lang=None, string=None)¶ Localized name.
-
stage()¶
-
tlk¶ Custom TLK file without file extension.
-
vars¶ Variable table
-
xp_scale¶ Experience point scale.
-