Area¶
-
class
pynwn.Area(resref, container)¶ -
__weakref__¶ list of weak references to the object (if defined)
-
comment¶ Comments.
-
creatures¶ Creature instances.
Returns: List of pynwn.CreatureInstanceobjects.
-
day_ambient_color¶ Day ambient color.
-
day_diffuse_color¶ Day diffuse color.
-
day_fog_amount¶ Daytime fog amount (0-15)
-
day_fog_color¶ Daytime fog color (BGR format)
-
day_night_cycle¶ 1 if day/night transitions occur, 0 otherwise.
-
day_shadows¶ 1 if shadows appear during the day, 0 otherwise.
-
doors¶ Door instances.
Returns: List of DoorInstance objects.
-
encounters¶ Encounters
Returns: List of pynwn.EncounterInstanceobjects.
-
flags¶ Bit flags specifying area terrain type.
-
fog_clip_distance¶ Fog clip distance.
-
get_name(lang=None)¶ Localized name.
-
height¶ Area height.
-
is_night¶ 1 if always night, 0 if always day.
-
items¶ Item instance list.
Returns: List of pynwn.ItemInstanceobjects.
-
lighting_scheme¶ Index into environment.2da
-
lightning¶ Chance of lighting [0,100]
-
listen_modifier¶ Modifier to Listen skill checks made in area
-
load_screen¶ Load screen ID
-
night_ambient_color¶ Nighttime ambient color.
-
night_diffuse_color¶ Nighttime diffuse color.
-
night_fog_amount¶ Nighttime fog amount (0-15)
-
night_fog_color¶ Nighttime fog color.
-
night_shadows¶ 1 if shadows appear at night, 0 otherwise
-
no_rest¶ 1 if resting is not allowed, 0 otherwise
-
placeables¶ Placeables
Returns: List of pynwn.PlaceableInstanceobjects.
-
pvp¶ Area PvP setting.
-
rain¶ Chance of rain [0,100]
-
resref¶ Resref.
-
scripts¶ Scripts. Responds to script events:
- Event.ENTER
- Event.EXIT
- Event.HEARTBEAT
- Event.USER_DEFINED
-
set_name(lang=None, string=None)¶ Localized name.
-
shadow_opacity¶ Opacity of shadows (0-100).
-
skybox¶ Index into skyboxes.2da.
-
snow¶ Chance of snow [0,100]
-
sounds¶ Sounds
Returns: List of pynwn.SoundInstanceobjects.
-
spot_modifier¶ Modifier to Spot skill checks made in area
-
stores¶ Stores
Returns: List of pynwn.StoreInstanceobjects.
-
tag¶ Tag.
-
tiles¶ Tiles :returns: List of
pynwn.TileInstanceobjects.
-
tileset¶ Tileset.
-
triggers¶ Triggers
Returns: List of pynwn.TriggerInstanceobjects.
-
vars¶ Variable table
-
version¶ Area version
-
waypoints¶ Waypoints
Returns: List of pynwn.WaypointInstanceobjects.
-
width¶ Area width.
-
wind_power¶ Strength of the wind in the area. None, weak, or strong (0-2).
-