Adom Functions

download Adom Functions

of 2

Transcript of Adom Functions

  • 8/13/2019 Adom Functions

    1/2

    Description of functions provided by ADOM to be used by NotEye==============================================================

    See adom-tables.noe for the list of IDs that can be returned.

    adom_global_map()-----------------

    cursor_x : integer, the cursor X coordinatecursor_y : integer, the cursor Y coordinatecursor_active : boolean, true if the user can select a coordinate with a cursormap_visible : boolean, true if the map is shownis_game_running : boolean, true if a game is runningspecial_level : integer, the special level ID (see speciallevelids)level_type : integer, the level type (see leveltypeids)weather_level : integer, the current weather conditions (see weatherlevelids)time_of_day : integer, the current daytime (see daytimeids)is_silvernight : boolean, true if today is silvernightis_darknight : boolean, true if today is darknight

    adom_player_map()-----------------

    player_x : integer, the player X coordinateplayer_y : integer, the player Y coordinateplayer_is_blind : boolean, true if the player is blindplayer_is_deaf : boolean, true if the player is deafplayer_direction : integer, the direction the PC is looking at (see directionids)player_health : integer, the health of the PC (0 = 0 the monster ID (all player attributes are available in adom_player_map)

    monster_uid : integer, the unique monster IDmonster_direction : integer, the direction the monster is looking at (see direct

  • 8/13/2019 Adom Functions

    2/2

    ionids)monster_health : integer, the health of the monster (0