Difference between revisions of "Template:Lua Functions"

From The Battle for Wesnoth Wiki
Line 2: Line 2:
 
|-
 
|-
 
|''wesnoth''
 
|''wesnoth''
[[LuaAPI/wesnoth#wesnoth.dofile|dofile]]<br>
+
[[LuaAPI/wesnoth#wesnoth.as_text|wesnoth.as_text]]<br>
[[LuaAPI/wesnoth#wesnoth.require|require]]<br>
+
[[LuaAPI/wesnoth#wesnoth.colors|wesnoth.colors]]<br>
[[LuaAPI/wesnoth#wesnoth.textdomain|textdomain]]<br>
+
[[LuaAPI/wesnoth#wesnoth.compile_formula|wesnoth.compile_formula]]<br>
[[LuaAPI/wesnoth#wesnoth.log|log]]<br>
+
[[LuaAPI/wesnoth#wesnoth.current|wesnoth.current]]<br>
[[LuaAPI/wesnoth#wesnoth.as_text|as_text]]<br>
+
[[LuaAPI/wesnoth#wesnoth.current_version|wesnoth.current_version]]<br>
[[LuaAPI/wesnoth#wesnoth.simulate_combat|simulate_combat]]<br>
+
[[LuaAPI/wesnoth#wesnoth.custom_synced_commands|wesnoth.custom_synced_commands]]<br>
[[LuaAPI/wesnoth#wesnoth.name_generator|name_generator]]<br>
+
[[LuaAPI/wesnoth#wesnoth.deprecate_api|wesnoth.deprecate_api]]<br>
[[LuaAPI/wesnoth#wesnoth.compile_formula|compile_formula]]<br>
+
[[LuaAPI/wesnoth#wesnoth.deprecated_message|wesnoth.deprecated_message]]<br>
[[LuaAPI/wesnoth#wesnoth.eval_formula|eval_formula]]<br>
+
[[LuaAPI/wesnoth#wesnoth.dofile|wesnoth.dofile]]<br>
[[LuaAPI/wesnoth#wesnoth.version|version]]<br>
+
[[LuaAPI/wesnoth#wesnoth.effects|wesnoth.effects]]<br>
[[LuaAPI/wesnoth#wesnoth.current_version|current_version]]<br>
+
[[LuaAPI/wesnoth#wesnoth.eval_formula|wesnoth.eval_formula]]<br>
[[LuaAPI/wesnoth#wesnoth.ms_since_init|ms_since_init]]<br>
+
[[LuaAPI/wesnoth#wesnoth.game_config|wesnoth.game_config]]<br>
[[LuaAPI/wesnoth#wesnoth.deprecated_message|deprecated_message]]<br>
+
[[LuaAPI/wesnoth#wesnoth.get_language|wesnoth.get_language]]<br>
[[LuaAPI/wesnoth#wesnoth.deprecate_api|deprecate_api]]<br>
+
[[LuaAPI/wesnoth#wesnoth.log|wesnoth.log]]<br>
[[LuaAPI/wesnoth#wesnoth.type|type]]<br>
+
[[LuaAPI/wesnoth#wesnoth.micro_ais|wesnoth.micro_ais]]<br>
[[LuaAPI/wesnoth#wesnoth.named_tuple|named_tuple]]<br>
+
[[LuaAPI/wesnoth#wesnoth.ms_since_init|wesnoth.ms_since_init]]<br>
[[LuaAPI/wesnoth#wesnoth.get_language|get_language]]<br>
+
[[LuaAPI/wesnoth#wesnoth.name_generator|wesnoth.name_generator]]<br>
[[LuaAPI/wesnoth#wesnoth.print_attributes|print_attributes]]<br>
+
[[LuaAPI/wesnoth#wesnoth.named_tuple|wesnoth.named_tuple]]<br>
[[LuaAPI/wesnoth#wesnoth.persistent_tags|persistent_tags]]<br>
+
[[LuaAPI/wesnoth#wesnoth.persistent_tags|wesnoth.persistent_tags]]<br>
[[LuaAPI/wesnoth#wesnoth.wml_actions|wml_actions]]<br>
+
[[LuaAPI/wesnoth#wesnoth.print_attributes|wesnoth.print_attributes]]<br>
[[LuaAPI/wesnoth#wesnoth.wml_conditionals|wml_conditionals]]<br>
+
[[LuaAPI/wesnoth#wesnoth.races|wesnoth.races]]<br>
[[LuaAPI/wesnoth#wesnoth.effects|effects]]<br>
+
[[LuaAPI/wesnoth#wesnoth.require|wesnoth.require]]<br>
[[LuaAPI/wesnoth#wesnoth.micro_ais|micro_ais]]<br>
+
[[LuaAPI/wesnoth#wesnoth.scenario|wesnoth.scenario]]<br>
[[LuaAPI/wesnoth#wesnoth.custom_synced_commands|custom_synced_commands]]<br>
+
[[LuaAPI/wesnoth#wesnoth.simulate_combat|wesnoth.simulate_combat]]<br>
[[LuaAPI/wesnoth#wesnoth.colors|colors]]<br>
+
[[LuaAPI/wesnoth#wesnoth.terrain_types|wesnoth.terrain_types]]<br>
[[LuaAPI/wesnoth#wesnoth.current|current]]<br>
+
[[LuaAPI/wesnoth#wesnoth.textdomain|wesnoth.textdomain]]<br>
[[LuaAPI/wesnoth#wesnoth.game_config|game_config]]<br>
+
[[LuaAPI/wesnoth#wesnoth.type|wesnoth.type]]<br>
[[LuaAPI/wesnoth#wesnoth.races|races]]<br>
+
[[LuaAPI/wesnoth#wesnoth.unit_types|wesnoth.unit_types]]<br>
[[LuaAPI/wesnoth#wesnoth.scenario|scenario]]<br>
+
[[LuaAPI/wesnoth#wesnoth.version|wesnoth.version]]<br>
[[LuaAPI/wesnoth#wesnoth.terrain_types|terrain_types]]<br>
+
[[LuaAPI/wesnoth#wesnoth.wml_actions|wesnoth.wml_actions]]<br>
[[LuaAPI/wesnoth#wesnoth.unit_types|unit_types]]<br>
+
[[LuaAPI/wesnoth#wesnoth.wml_conditionals|wesnoth.wml_conditionals]]<br>
 
|-
 
|-
|''wesnoth.units''
+
|''wesnoth.achievements''
[[LuaAPI/wesnoth/units#wesnoth.units.advance|advance]]<br>
+
[[LuaAPI/wesnoth/achievements#wesnoth.achievements.get|wesnoth.achievements.get]]<br>
[[LuaAPI/wesnoth/units#wesnoth.units.clone|clone]]<br>
+
[[LuaAPI/wesnoth/achievements#wesnoth.achievements.has|wesnoth.achievements.has]]<br>
[[LuaAPI/wesnoth/units#wesnoth.units.erase|erase]]<br>
+
[[LuaAPI/wesnoth/achievements#wesnoth.achievements.has_sub_achievement|wesnoth.achievements.has_sub_achievement]]<br>
[[LuaAPI/wesnoth/units#wesnoth.units.extract|extract]]<br>
+
[[LuaAPI/wesnoth/achievements#wesnoth.achievements.progress|wesnoth.achievements.progress]]<br>
[[LuaAPI/wesnoth/units#wesnoth.units.matches|matches]]<br>
+
[[LuaAPI/wesnoth/achievements#wesnoth.achievements.set|wesnoth.achievements.set]]<br>
[[LuaAPI/wesnoth/units#wesnoth.units.find_attack|find_attack]]<br>
+
[[LuaAPI/wesnoth/achievements#wesnoth.achievements.set_sub_achievement|wesnoth.achievements.set_sub_achievement]]<br>
[[LuaAPI/wesnoth/units#wesnoth.units.to_map|to_map]]<br>
+
|-
[[LuaAPI/wesnoth/units#wesnoth.units.to_recall|to_recall]]<br>
+
|''wesnoth.audio''
[[LuaAPI/wesnoth/units#wesnoth.units.transform|transform]]<br>
+
[[LuaAPI/wesnoth/audio#wesnoth.audio.music_list|wesnoth.audio.music_list]]<br>
[[LuaAPI/wesnoth/units#wesnoth.units.select|select]]<br>
+
[[LuaAPI/wesnoth/audio#wesnoth.audio.music_list.add|wesnoth.audio.music_list.add]]<br>
[[LuaAPI/wesnoth/units#wesnoth.units.scroll_to|scroll_to]]<br>
+
[[LuaAPI/wesnoth/audio#wesnoth.audio.music_list.all|wesnoth.audio.music_list.all]]<br>
[[LuaAPI/wesnoth/units#wesnoth.units.ability|ability]]<br>
+
[[LuaAPI/wesnoth/audio#wesnoth.audio.music_list.clear|wesnoth.audio.music_list.clear]]<br>
[[LuaAPI/wesnoth/units#wesnoth.units.chance_to_be_hit|chance_to_be_hit]]<br>
+
[[LuaAPI/wesnoth/audio#wesnoth.audio.music_list.current|wesnoth.audio.music_list.current]]<br>
[[LuaAPI/wesnoth/units#wesnoth.units.defense_on|defense_on]]<br>
+
[[LuaAPI/wesnoth/audio#wesnoth.audio.music_list.next|wesnoth.audio.music_list.next]]<br>
[[LuaAPI/wesnoth/units#wesnoth.unit.resistance_against|resistance_against]]<br>
+
[[LuaAPI/wesnoth/audio#wesnoth.audio.music_list.play|wesnoth.audio.music_list.play]]<br>
[[LuaAPI/wesnoth/units#wesnoth.units.jamming_on|jamming_on]]<br>
+
[[LuaAPI/wesnoth/audio#wesnoth.audio.music_list.previous|wesnoth.audio.music_list.previous]]<br>
[[LuaAPI/wesnoth/units#wesnoth.units.movement_on|movement_on]]<br>
+
[[LuaAPI/wesnoth/audio#wesnoth.audio.music_list.remove|wesnoth.audio.music_list.remove]]<br>
[[LuaAPI/wesnoth/units#wesnoth.units.vision_on|vision_on]]<br>
+
[[LuaAPI/wesnoth/audio#wesnoth.audio.music_list.volume|wesnoth.audio.music_list.volume]]<br>
[[LuaAPI/wesnoth/units#wesnoth.units.add_modification|add_modification]]<br>
+
[[LuaAPI/wesnoth/audio#wesnoth.audio.play|wesnoth.audio.play]]<br>
[[LuaAPI/wesnoth/units#wesnoth.units.remove_modifications|remove_modifications]]<br>
+
[[LuaAPI/wesnoth/audio#wesnoth.audio.sources|wesnoth.audio.sources]]<br>
[[LuaAPI/wesnoth/units#wesnoth.units.create_animator|create_animator]]<br>
+
[[LuaAPI/wesnoth/audio#wesnoth.audio.volume|wesnoth.audio.volume]]<br>
[[LuaAPI/wesnoth/units#wesnoth.units.create|create]]<br>
+
|-
[[LuaAPI/wesnoth/units#wesnoth.units.find_on_map|find_on_map]]<br>
+
|''wesnoth.game_events''
[[LuaAPI/wesnoth/units#wesnoth.units.find_on_recall|find_on_recall]]<br>
+
[[LuaAPI/wesnoth/game_events#wesnoth.game_events.add|wesnoth.game_events.add]]<br>
[[LuaAPI/wesnoth/units#wesnoth.units.find|find]]<br>
+
[[LuaAPI/wesnoth/game_events#wesnoth.game_events.add_menu|wesnoth.game_events.add_menu]]<br>
[[LuaAPI/wesnoth/units#wesnoth.units.get|get]]<br>
+
[[LuaAPI/wesnoth/game_events#wesnoth.game_events.add_repeating|wesnoth.game_events.add_repeating]]<br>
[[LuaAPI/wesnoth/units#wesnoth.units.get_hovered|get_hovered]]<br>
+
[[LuaAPI/wesnoth/game_events#wesnoth.game_events.add_wml|wesnoth.game_events.add_wml]]<br>
 +
[[LuaAPI/wesnoth/game_events#wesnoth.game_events.fire|wesnoth.game_events.fire]]<br>
 +
[[LuaAPI/wesnoth/game_events#wesnoth.game_events.fire_by_id|wesnoth.game_events.fire_by_id]]<br>
 +
[[LuaAPI/wesnoth/game_events#wesnoth.game_events.on_event|wesnoth.game_events.on_event]]<br>
 +
[[LuaAPI/wesnoth/game_events#wesnoth.game_events.on_load|wesnoth.game_events.on_load]]<br>
 +
[[LuaAPI/wesnoth/game_events#wesnoth.game_events.on_mouse_action|wesnoth.game_events.on_mouse_action]]<br>
 +
[[LuaAPI/wesnoth/game_events#wesnoth.game_events.on_mouse_button|wesnoth.game_events.on_mouse_button]]<br>
 +
[[LuaAPI/wesnoth/game_events#wesnoth.game_events.on_mouse_move|wesnoth.game_events.on_mouse_move]]<br>
 +
[[LuaAPI/wesnoth/game_events#wesnoth.game_events.on_save|wesnoth.game_events.on_save]]<br>
 +
[[LuaAPI/wesnoth/game_events#wesnoth.game_events.remove|wesnoth.game_events.remove]]<br>
 +
|-
 +
|''wesnoth.interface''
 +
[[LuaAPI/wesnoth/interface#wesnoth.interface.add_chat_message|wesnoth.interface.add_chat_message]]<br>
 +
[[LuaAPI/wesnoth/interface#wesnoth.interface.add_hex_overlay|wesnoth.interface.add_hex_overlay]]<br>
 +
[[LuaAPI/wesnoth/interface#wesnoth.interface.add_item_halo|wesnoth.interface.add_item_halo]]<br>
 +
[[LuaAPI/wesnoth/interface#wesnoth.interface.add_item_image|wesnoth.interface.add_item_image]]<br>
 +
[[LuaAPI/wesnoth/interface#wesnoth.interface.add_overlay_text|wesnoth.interface.add_overlay_text]]<br>
 +
[[LuaAPI/wesnoth/interface#wesnoth.interface.allow_end_turn|wesnoth.interface.allow_end_turn]]<br>
 +
[[LuaAPI/wesnoth/interface#wesnoth.interface.clear_chat_messages|wesnoth.interface.clear_chat_messages]]<br>
 +
[[LuaAPI/wesnoth/interface#wesnoth.interface.color_adjust|wesnoth.interface.color_adjust]]<br>
 +
[[LuaAPI/wesnoth/interface#wesnoth.interface.delay|wesnoth.interface.delay]]<br>
 +
[[LuaAPI/wesnoth/interface#wesnoth.interface.deselect_hex|wesnoth.interface.deselect_hex]]<br>
 +
[[LuaAPI/wesnoth/interface#wesnoth.interface.end_turn|wesnoth.interface.end_turn]]<br>
 +
[[LuaAPI/wesnoth/interface#wesnoth.interface.float_label|wesnoth.interface.float_label]]<br>
 +
[[LuaAPI/wesnoth/interface#wesnoth.interface.get_displayed_unit|wesnoth.interface.get_displayed_unit]]<br>
 +
[[LuaAPI/wesnoth/interface#wesnoth.interface.get_hovered_hex|wesnoth.interface.get_hovered_hex]]<br>
 +
[[LuaAPI/wesnoth/interface#wesnoth.interface.get_items|wesnoth.interface.get_items]]<br>
 +
[[LuaAPI/wesnoth/interface#wesnoth.interface.get_selected_hex|wesnoth.interface.get_selected_hex]]<br>
 +
[[LuaAPI/wesnoth/interface#wesnoth.interface.get_viewing_side|wesnoth.interface.get_viewing_side]]<br>
 +
[[LuaAPI/wesnoth/interface#wesnoth.interface.handle_user_interact|wesnoth.interface.handle_user_interact]]<br>
 +
[[LuaAPI/wesnoth/interface#wesnoth.interface.highlight_hex|wesnoth.interface.highlight_hex]]<br>
 +
[[LuaAPI/wesnoth/interface#wesnoth.interface.is_locked|wesnoth.interface.is_locked]]<br>
 +
[[LuaAPI/wesnoth/interface#wesnoth.interface.is_skipping_messages|wesnoth.interface.is_skipping_messages]]<br>
 +
[[LuaAPI/wesnoth/interface#wesnoth.interface.lock|wesnoth.interface.lock]]<br>
 +
[[LuaAPI/wesnoth/interface#wesnoth.interface.remove_hex_overlay|wesnoth.interface.remove_hex_overlay]]<br>
 +
[[LuaAPI/wesnoth/interface#wesnoth.interface.remove_item|wesnoth.interface.remove_item]]<br>
 +
[[LuaAPI/wesnoth/interface#wesnoth.interface.scroll|wesnoth.interface.scroll]]<br>
 +
[[LuaAPI/wesnoth/interface#wesnoth.interface.scroll_to_hex|wesnoth.interface.scroll_to_hex]]<br>
 +
[[LuaAPI/wesnoth/interface#wesnoth.interface.select_unit|wesnoth.interface.select_unit]]<br>
 +
[[LuaAPI/wesnoth/interface#wesnoth.interface.skip_messages|wesnoth.interface.skip_messages]]<br>
 +
[[LuaAPI/wesnoth/interface#wesnoth.interface.zoom|wesnoth.interface.zoom]]<br>
 +
|-
 +
|''wesnoth.map''
 +
[[LuaAPI/wesnoth/map#wesnoth.map.add_label|wesnoth.map.add_label]]<br>
 +
[[LuaAPI/wesnoth/map#wesnoth.map.are_hexes_adjacent|wesnoth.map.are_hexes_adjacent]]<br>
 +
[[LuaAPI/wesnoth/map#wesnoth.map.create|wesnoth.map.create]]<br>
 +
[[LuaAPI/wesnoth/map#wesnoth.map.distance_between|wesnoth.map.distance_between]]<br>
 +
[[LuaAPI/wesnoth/map#wesnoth.map.find|wesnoth.map.find]]<br>
 +
[[LuaAPI/wesnoth/map#wesnoth.map.generate|wesnoth.map.generate]]<br>
 +
[[LuaAPI/wesnoth/map#wesnoth.map.generate_height_map|wesnoth.map.generate_height_map]]<br>
 +
[[LuaAPI/wesnoth/map#wesnoth.map.get|wesnoth.map.get]]<br>
 +
[[LuaAPI/wesnoth/map#wesnoth.map.get_adjacent_hexes|wesnoth.map.get_adjacent_hexes]]<br>
 +
[[LuaAPI/wesnoth/map#wesnoth.map.get_area|wesnoth.map.get_area]]<br>
 +
[[LuaAPI/wesnoth/map#wesnoth.map.get_direction|wesnoth.map.get_direction]]<br>
 +
[[LuaAPI/wesnoth/map#wesnoth.map.get_hexes_in_radius|wesnoth.map.get_hexes_in_radius]]<br>
 +
[[LuaAPI/wesnoth/map#wesnoth.map.get_label|wesnoth.map.get_label]]<br>
 +
[[LuaAPI/wesnoth/map#wesnoth.map.get_owner|wesnoth.map.get_owner]]<br>
 +
[[LuaAPI/wesnoth/map#wesnoth.map.get_relative_dir|wesnoth.map.get_relative_dir]]<br>
 +
[[LuaAPI/wesnoth/map#wesnoth.map.iter|wesnoth.map.iter]]<br>
 +
[[LuaAPI/wesnoth/map#wesnoth.map.make_bitmap|wesnoth.map.make_bitmap]]<br>
 +
[[LuaAPI/wesnoth/map#wesnoth.map.matches|wesnoth.map.matches]]<br>
 +
[[LuaAPI/wesnoth/map#wesnoth.map.on_board|wesnoth.map.on_board]]<br>
 +
[[LuaAPI/wesnoth/map#wesnoth.map.on_border|wesnoth.map.on_border]]<br>
 +
[[LuaAPI/wesnoth/map#wesnoth.map.parse_bitmap|wesnoth.map.parse_bitmap]]<br>
 +
[[LuaAPI/wesnoth/map#wesnoth.map.place_area|wesnoth.map.place_area]]<br>
 +
[[LuaAPI/wesnoth/map#wesnoth.map.read_location|wesnoth.map.read_location]]<br>
 +
[[LuaAPI/wesnoth/map#wesnoth.map.remove_area|wesnoth.map.remove_area]]<br>
 +
[[LuaAPI/wesnoth/map#wesnoth.map.remove_label|wesnoth.map.remove_label]]<br>
 +
[[LuaAPI/wesnoth/map#wesnoth.map.rotate_right_around_center|wesnoth.map.rotate_right_around_center]]<br>
 +
[[LuaAPI/wesnoth/map#wesnoth.map.set_owner|wesnoth.map.set_owner]]<br>
 +
[[LuaAPI/wesnoth/map#wesnoth.map.split_terrain_code|wesnoth.map.split_terrain_code]]<br>
 +
[[LuaAPI/wesnoth/map#wesnoth.map.terrain_mask|wesnoth.map.terrain_mask]]<br>
 +
|-
 +
|''wesnoth.paths''
 +
[[LuaAPI/wesnoth/paths#wesnoth.paths.find_cost_map|wesnoth.paths.find_cost_map]]<br>
 +
[[LuaAPI/wesnoth/paths#wesnoth.paths.find_path|wesnoth.paths.find_path]]<br>
 +
[[LuaAPI/wesnoth/paths#wesnoth.paths.find_reach|wesnoth.paths.find_reach]]<br>
 +
[[LuaAPI/wesnoth/paths#wesnoth.paths.find_vacant_hex|wesnoth.paths.find_vacant_hex]]<br>
 +
[[LuaAPI/wesnoth/paths#wesnoth.paths.find_vision_range|wesnoth.paths.find_vision_range]]<br>
 
|-
 
|-
 
|''wesnoth.schedule''
 
|''wesnoth.schedule''
[[LuaAPI/wesnoth/schedule#wesnoth.schedule.get_time_of_day|get_time_of_day]]<br>
+
[[LuaAPI/wesnoth/schedule#wesnoth.schedule.get_illumination|wesnoth.schedule.get_illumination]]<br>
[[LuaAPI/wesnoth/schedule#wesnoth.schedule.get_illumination|get_illumination]]<br>
+
[[LuaAPI/wesnoth/schedule#wesnoth.schedule.get_time_of_day|wesnoth.schedule.get_time_of_day]]<br>
[[LuaAPI/wesnoth/schedule#wesnoth.schedule.replace|replace]]<br>
+
[[LuaAPI/wesnoth/schedule#wesnoth.schedule.replace|wesnoth.schedule.replace]]<br>
 
|-
 
|-
 
|''wesnoth.sides''
 
|''wesnoth.sides''
[[LuaAPI/wesnoth/sides#wesnoth.sides.is_enemy|is_enemy]]<br>
+
[[LuaAPI/wesnoth/sides#wesnoth.sides.add_ai_component|wesnoth.sides.add_ai_component]]<br>
[[LuaAPI/wesnoth/sides#wesnoth.sides.matches|matches]]<br>
+
[[LuaAPI/wesnoth/sides#wesnoth.sides.append_ai|wesnoth.sides.append_ai]]<br>
[[LuaAPI/wesnoth/sides#wesnoth.sides.set_id|set_id]]<br>
+
[[LuaAPI/wesnoth/sides#wesnoth.sides.change_ai_component|wesnoth.sides.change_ai_component]]<br>
[[LuaAPI/wesnoth/sides#wesnoth.sides.place_fog|place_fog]]<br>
+
[[LuaAPI/wesnoth/sides#wesnoth.sides.create|wesnoth.sides.create]]<br>
[[LuaAPI/wesnoth/sides#wesnoth.sides.remove_fog|remove_fog]]<br>
+
[[LuaAPI/wesnoth/sides#wesnoth.sides.debug_ai|wesnoth.sides.debug_ai]]<br>
[[LuaAPI/wesnoth/sides#wesnoth.sides.is_fogged|is_fogged]]<br>
+
[[LuaAPI/wesnoth/sides#wesnoth.sides.delete_ai_component|wesnoth.sides.delete_ai_component]]<br>
[[LuaAPI/wesnoth/sides#wesnoth.sides.place_shroud|place_shroud]]<br>
+
[[LuaAPI/wesnoth/sides#wesnoth.sides.find|wesnoth.sides.find]]<br>
[[LuaAPI/wesnoth/sides#wesnoth.sides.override_shroud|override_shroud]]<br>
+
[[LuaAPI/wesnoth/sides#wesnoth.sides.get|wesnoth.sides.get]]<br>
[[LuaAPI/wesnoth/sides#wesnoth.sides.remove_shroud|remove_shroud]]<br>
+
[[LuaAPI/wesnoth/sides#wesnoth.sides.is_enemy|wesnoth.sides.is_enemy]]<br>
[[LuaAPI/wesnoth/sides#wesnoth.sides.is_shrouded|is_shrouded]]<br>
+
[[LuaAPI/wesnoth/sides#wesnoth.sides.is_fogged|wesnoth.sides.is_fogged]]<br>
[[LuaAPI/wesnoth/sides#wesnoth.sides.switch_ai|switch_ai]]<br>
+
[[LuaAPI/wesnoth/sides#wesnoth.sides.is_shrouded|wesnoth.sides.is_shrouded]]<br>
[[LuaAPI/wesnoth/sides#wesnoth.sides.append_ai|append_ai]]<br>
+
[[LuaAPI/wesnoth/sides#wesnoth.sides.iter|wesnoth.sides.iter]]<br>
[[LuaAPI/wesnoth/sides#wesnoth.sides.add_ai_component|add_ai_component]]<br>
+
[[LuaAPI/wesnoth/sides#wesnoth.sides.matches|wesnoth.sides.matches]]<br>
[[LuaAPI/wesnoth/sides#wesnoth.sides.change_ai_component|change_ai_component]]<br>
+
[[LuaAPI/wesnoth/sides#wesnoth.sides.override_shroud|wesnoth.sides.override_shroud]]<br>
[[LuaAPI/wesnoth/sides#wesnoth.sides.delete_ai_component|delete_ai_component]]<br>
+
[[LuaAPI/wesnoth/sides#wesnoth.sides.place_fog|wesnoth.sides.place_fog]]<br>
[[LuaAPI/wesnoth/sides#wesnoth.sides.get|get]]<br>
+
[[LuaAPI/wesnoth/sides#wesnoth.sides.place_shroud|wesnoth.sides.place_shroud]]<br>
[[LuaAPI/wesnoth/sides#wesnoth.sides.find|find]]<br>
+
[[LuaAPI/wesnoth/sides#wesnoth.sides.remove_fog|wesnoth.sides.remove_fog]]<br>
[[LuaAPI/wesnoth/sides#wesnoth.sides.iter|iter]]<br>
+
[[LuaAPI/wesnoth/sides#wesnoth.sides.remove_shroud|wesnoth.sides.remove_shroud]]<br>
[[LuaAPI/wesnoth/sides#wesnoth.sides.create|create]]<br>
+
[[LuaAPI/wesnoth/sides#wesnoth.sides.set_id|wesnoth.sides.set_id]]<br>
[[LuaAPI/wesnoth/sides#wesnoth.sides.debug_ai|debug_ai]]<br>
+
[[LuaAPI/wesnoth/sides#wesnoth.sides.switch_ai|wesnoth.sides.switch_ai]]<br>
 
|-
 
|-
 
|''wesnoth.sync''
 
|''wesnoth.sync''
[[LuaAPI/wesnoth/sync#wesnoth.sync.evaluate_single|evaluate_single]]<br>
+
[[LuaAPI/wesnoth/sync#wesnoth.sync.evaluate_multiple|wesnoth.sync.evaluate_multiple]]<br>
[[LuaAPI/wesnoth/sync#wesnoth.sync.evaluate_multiple|evaluate_multiple]]<br>
+
[[LuaAPI/wesnoth/sync#wesnoth.sync.evaluate_single|wesnoth.sync.evaluate_single]]<br>
[[LuaAPI/wesnoth/sync#wesnoth.sync.run_unsynced|run_unsynced]]<br>
+
[[LuaAPI/wesnoth/sync#wesnoth.sync.invoke_command|wesnoth.sync.invoke_command]]<br>
[[LuaAPI/wesnoth/sync#wesnoth.sync.invoke_command|invoke_command]]<br>
+
[[LuaAPI/wesnoth/sync#wesnoth.sync.run_unsynced|wesnoth.sync.run_unsynced]]<br>
 
|-
 
|-
|''wesnoth.map''
+
|''wesnoth.units''
[[LuaAPI/wesnoth/map#wesnoth.map.find|find]]<br>
+
[[LuaAPI/wesnoth/units#wesnoth.unit.resistance_against|wesnoth.unit.resistance_against]]<br>
[[LuaAPI/wesnoth/map#wesnoth.map.get|get]]<br>
+
[[LuaAPI/wesnoth/units#wesnoth.units.ability|wesnoth.units.ability]]<br>
[[LuaAPI/wesnoth/map#wesnoth.map.matches|matches]]<br>
+
[[LuaAPI/wesnoth/units#wesnoth.units.add_modification|wesnoth.units.add_modification]]<br>
[[LuaAPI/wesnoth/map#wesnoth.map.on_board|on_board]]<br>
+
[[LuaAPI/wesnoth/units#wesnoth.units.advance|wesnoth.units.advance]]<br>
[[LuaAPI/wesnoth/map#wesnoth.map.on_border|on_border]]<br>
+
[[LuaAPI/wesnoth/units#wesnoth.units.chance_to_be_hit|wesnoth.units.chance_to_be_hit]]<br>
[[LuaAPI/wesnoth/map#wesnoth.map.iter|iter]]<br>
+
[[LuaAPI/wesnoth/units#wesnoth.units.clone|wesnoth.units.clone]]<br>
[[LuaAPI/wesnoth/map#wesnoth.map.read_location|read_location]]<br>
+
[[LuaAPI/wesnoth/units#wesnoth.units.create|wesnoth.units.create]]<br>
[[LuaAPI/wesnoth/map#wesnoth.map.split_terrain_code|split_terrain_code]]<br>
+
[[LuaAPI/wesnoth/units#wesnoth.units.create_animator|wesnoth.units.create_animator]]<br>
[[LuaAPI/wesnoth/map#wesnoth.map.make_bitmap|make_bitmap]]<br>
+
[[LuaAPI/wesnoth/units#wesnoth.units.defense_on|wesnoth.units.defense_on]]<br>
[[LuaAPI/wesnoth/map#wesnoth.map.parse_bitmap|parse_bitmap]]<br>
+
[[LuaAPI/wesnoth/units#wesnoth.units.erase|wesnoth.units.erase]]<br>
[[LuaAPI/wesnoth/map#wesnoth.map.terrain_mask|terrain_mask]]<br>
+
[[LuaAPI/wesnoth/units#wesnoth.units.extract|wesnoth.units.extract]]<br>
[[LuaAPI/wesnoth/map#wesnoth.map.add_label|add_label]]<br>
+
[[LuaAPI/wesnoth/units#wesnoth.units.find|wesnoth.units.find]]<br>
[[LuaAPI/wesnoth/map#wesnoth.map.remove_label|remove_label]]<br>
+
[[LuaAPI/wesnoth/units#wesnoth.units.find_attack|wesnoth.units.find_attack]]<br>
[[LuaAPI/wesnoth/map#wesnoth.map.get_label|get_label]]<br>
+
[[LuaAPI/wesnoth/units#wesnoth.units.find_on_map|wesnoth.units.find_on_map]]<br>
[[LuaAPI/wesnoth/map#wesnoth.map.place_area|place_area]]<br>
+
[[LuaAPI/wesnoth/units#wesnoth.units.find_on_recall|wesnoth.units.find_on_recall]]<br>
[[LuaAPI/wesnoth/map#wesnoth.map.remove_area|remove_area]]<br>
+
[[LuaAPI/wesnoth/units#wesnoth.units.get|wesnoth.units.get]]<br>
[[LuaAPI/wesnoth/map#wesnoth.map.get_area|get_area]]<br>
+
[[LuaAPI/wesnoth/units#wesnoth.units.get_hovered|wesnoth.units.get_hovered]]<br>
[[LuaAPI/wesnoth/map#wesnoth.map.set_owner|set_owner]]<br>
+
[[LuaAPI/wesnoth/units#wesnoth.units.jamming_on|wesnoth.units.jamming_on]]<br>
[[LuaAPI/wesnoth/map#wesnoth.map.get_owner|get_owner]]<br>
+
[[LuaAPI/wesnoth/units#wesnoth.units.matches|wesnoth.units.matches]]<br>
[[LuaAPI/wesnoth/map#wesnoth.map.create|create]]<br>
+
[[LuaAPI/wesnoth/units#wesnoth.units.movement_on|wesnoth.units.movement_on]]<br>
[[LuaAPI/wesnoth/map#wesnoth.map.generate|generate]]<br>
+
[[LuaAPI/wesnoth/units#wesnoth.units.remove_modifications|wesnoth.units.remove_modifications]]<br>
[[LuaAPI/wesnoth/map#wesnoth.map.generate_height_map|generate_height_map]]<br>
+
[[LuaAPI/wesnoth/units#wesnoth.units.scroll_to|wesnoth.units.scroll_to]]<br>
[[LuaAPI/wesnoth/map#wesnoth.map.get_direction|get_direction]]<br>
+
[[LuaAPI/wesnoth/units#wesnoth.units.select|wesnoth.units.select]]<br>
[[LuaAPI/wesnoth/map#wesnoth.map.get_relative_dir|get_relative_dir]]<br>
+
[[LuaAPI/wesnoth/units#wesnoth.units.to_map|wesnoth.units.to_map]]<br>
[[LuaAPI/wesnoth/map#wesnoth.map.rotate_right_around_center|rotate_right_around_center]]<br>
+
[[LuaAPI/wesnoth/units#wesnoth.units.to_recall|wesnoth.units.to_recall]]<br>
[[LuaAPI/wesnoth/map#wesnoth.map.get_adjacent_hexes|get_adjacent_hexes]]<br>
+
[[LuaAPI/wesnoth/units#wesnoth.units.transform|wesnoth.units.transform]]<br>
[[LuaAPI/wesnoth/map#wesnoth.map.get_hexes_in_radius|get_hexes_in_radius]]<br>
+
[[LuaAPI/wesnoth/units#wesnoth.units.vision_on|wesnoth.units.vision_on]]<br>
[[LuaAPI/wesnoth/map#wesnoth.map.are_hexes_adjacent|are_hexes_adjacent]]<br>
 
[[LuaAPI/wesnoth/map#wesnoth.map.distance_between|distance_between]]<br>
 
 
|-
 
|-
|''wesnoth.audio''
+
|''ai''
[[LuaAPI/wesnoth/audio#wesnoth.audio.play|play]]<br>
+
[[LuaAPI/ai#ai.aspects|ai.aspects]]<br>
[[LuaAPI/wesnoth/audio#wesnoth.audio.volume|volume]]<br>
+
[[LuaAPI/ai#ai.attack|ai.attack]]<br>
[[LuaAPI/wesnoth/audio#wesnoth.audio.sources|sources]]<br>
+
[[LuaAPI/ai#ai.check_attack|ai.check_attack]]<br>
[[LuaAPI/wesnoth/audio#wesnoth.audio.music_list|music_list]]<br>
+
[[LuaAPI/ai#ai.check_move|ai.check_move]]<br>
[[LuaAPI/wesnoth/audio#wesnoth.audio.music_list.current|current]]<br>
+
[[LuaAPI/ai#ai.check_recall|ai.check_recall]]<br>
[[LuaAPI/wesnoth/audio#wesnoth.audio.music_list.previous|previous]]<br>
+
[[LuaAPI/ai#ai.check_recruit|ai.check_recruit]]<br>
[[LuaAPI/wesnoth/audio#wesnoth.audio.music_list.volume|volume]]<br>
+
[[LuaAPI/ai#ai.check_stopunit|ai.check_stopunit]]<br>
[[LuaAPI/wesnoth/audio#wesnoth.audio.music_list.all|all]]<br>
+
[[LuaAPI/ai#ai.fallback_human|ai.fallback_human]]<br>
[[LuaAPI/wesnoth/audio#wesnoth.audio.music_list.add|add]]<br>
+
[[LuaAPI/ai#ai.get_attacks|ai.get_attacks]]<br>
[[LuaAPI/wesnoth/audio#wesnoth.audio.music_list.remove|remove]]<br>
+
[[LuaAPI/ai#ai.get_targets|ai.get_targets]]<br>
[[LuaAPI/wesnoth/audio#wesnoth.audio.music_list.clear|clear]]<br>
+
[[LuaAPI/ai#ai.move|ai.move]]<br>
[[LuaAPI/wesnoth/audio#wesnoth.audio.music_list.next|next]]<br>
+
[[LuaAPI/ai#ai.move_full|ai.move_full]]<br>
[[LuaAPI/wesnoth/audio#wesnoth.audio.music_list.play|play]]<br>
+
[[LuaAPI/ai#ai.read_only|ai.read_only]]<br>
 +
[[LuaAPI/ai#ai.recall|ai.recall]]<br>
 +
[[LuaAPI/ai#ai.recruit|ai.recruit]]<br>
 +
[[LuaAPI/ai#ai.side|ai.side]]<br>
 +
[[LuaAPI/ai#ai.stopunit_all|ai.stopunit_all]]<br>
 +
[[LuaAPI/ai#ai.stopunit_attacks|ai.stopunit_attacks]]<br>
 +
[[LuaAPI/ai#ai.stopunit_moves|ai.stopunit_moves]]<br>
 +
[[LuaAPI/ai#ai.suitable_keep|ai.suitable_keep]]<br>
 
|-
 
|-
|''wesnoth.paths''
+
|''filesystem''
[[LuaAPI/wesnoth/paths#wesnoth.paths.find_path|find_path]]<br>
+
[[LuaAPI/filesystem#filesystem.canonical_path|filesystem.canonical_path]]<br>
[[LuaAPI/wesnoth/paths#wesnoth.paths.find_vacant_hex|find_vacant_hex]]<br>
+
[[LuaAPI/filesystem#filesystem.have_asset|filesystem.have_asset]]<br>
[[LuaAPI/wesnoth/paths#wesnoth.paths.find_reach|find_reach]]<br>
+
[[LuaAPI/filesystem#filesystem.have_file|filesystem.have_file]]<br>
[[LuaAPI/wesnoth/paths#wesnoth.paths.find_vision_range|find_vision_range]]<br>
+
[[LuaAPI/filesystem#filesystem.image_size|filesystem.image_size]]<br>
[[LuaAPI/wesnoth/paths#wesnoth.paths.find_cost_map|find_cost_map]]<br>
+
[[LuaAPI/filesystem#filesystem.read_file|filesystem.read_file]]<br>
 +
[[LuaAPI/filesystem#filesystem.resolve_asset|filesystem.resolve_asset]]<br>
 
|-
 
|-
|''wesnoth.game_events''
+
|''functional''
[[LuaAPI/wesnoth/game_events#wesnoth.game_events.add|add]]<br>
+
[[LuaAPI/functional#functional.choose|functional.choose]]<br>
[[LuaAPI/wesnoth/game_events#wesnoth.game_events.add_repeating|add_repeating]]<br>
+
[[LuaAPI/functional#functional.choose_map|functional.choose_map]]<br>
[[LuaAPI/wesnoth/game_events#wesnoth.game_events.add_menu|add_menu]]<br>
+
[[LuaAPI/functional#functional.filter|functional.filter]]<br>
[[LuaAPI/wesnoth/game_events#wesnoth.game_events.add_wml|add_wml]]<br>
+
[[LuaAPI/functional#functional.filter_map|functional.filter_map]]<br>
[[LuaAPI/wesnoth/game_events#wesnoth.game_events.remove|remove]]<br>
+
[[LuaAPI/functional#functional.find|functional.find]]<br>
[[LuaAPI/wesnoth/game_events#wesnoth.game_events.fire|fire]]<br>
+
[[LuaAPI/functional#functional.find_map|functional.find_map]]<br>
[[LuaAPI/wesnoth/game_events#wesnoth.game_events.fire_by_id|fire_by_id]]<br>
+
[[LuaAPI/functional#functional.map|functional.map]]<br>
[[LuaAPI/wesnoth/game_events#wesnoth.game_events.on_event|on_event]]<br>
+
[[LuaAPI/functional#functional.map_array|functional.map_array]]<br>
[[LuaAPI/wesnoth/game_events#wesnoth.game_events.on_load|on_load]]<br>
+
[[LuaAPI/functional#functional.reduce|functional.reduce]]<br>
[[LuaAPI/wesnoth/game_events#wesnoth.game_events.on_save|on_save]]<br>
+
[[LuaAPI/functional#functional.take_while|functional.take_while]]<br>
[[LuaAPI/wesnoth/game_events#wesnoth.game_events.on_mouse_action|on_mouse_action]]<br>
+
[[LuaAPI/functional#functional.zip|functional.zip]]<br>
[[LuaAPI/wesnoth/game_events#wesnoth.game_events.on_mouse_button|on_mouse_button]]<br>
 
[[LuaAPI/wesnoth/game_events#wesnoth.game_events.on_mouse_move|on_mouse_move]]<br>
 
|-
 
|''wesnoth.achievements''
 
[[LuaAPI/wesnoth/achievements#wesnoth.achievements.set|set]]<br>
 
[[LuaAPI/wesnoth/achievements#wesnoth.achievements.set_sub_achievement|set_sub_achievement]]<br>
 
[[LuaAPI/wesnoth/achievements#wesnoth.achievements.has|has]]<br>
 
[[LuaAPI/wesnoth/achievements#wesnoth.achievements.has_sub_achievement|has_sub_achievement]]<br>
 
[[LuaAPI/wesnoth/achievements#wesnoth.achievements.get|get]]<br>
 
[[LuaAPI/wesnoth/achievements#wesnoth.achievements.progress|progress]]<br>
 
 
|-
 
|-
 
|''gui''
 
|''gui''
[[LuaAPI/gui#gui.show_menu|show_menu]]<br>
+
[[LuaAPI/gui#gui.add_widget_definition|gui.add_widget_definition]]<br>
[[LuaAPI/gui#gui.show_narration|show_narration]]<br>
+
[[LuaAPI/gui#gui.get_user_choice|gui.get_user_choice]]<br>
[[LuaAPI/gui#gui.get_user_choice|get_user_choice]]<br>
+
[[LuaAPI/gui#gui.show_dialog|gui.show_dialog]]<br>
[[LuaAPI/gui#gui.show_popup|show_popup]]<br>
+
[[LuaAPI/gui#gui.show_help|gui.show_help]]<br>
[[LuaAPI/gui#gui.show_prompt|show_prompt]]<br>
+
[[LuaAPI/gui#gui.show_inspector|gui.show_inspector]]<br>
[[LuaAPI/gui#gui.show_story|show_story]]<br>
+
[[LuaAPI/gui#gui.show_lua_console|gui.show_lua_console]]<br>
[[LuaAPI/gui#gui.show_dialog|show_dialog]]<br>
+
[[LuaAPI/gui#gui.show_menu|gui.show_menu]]<br>
[[LuaAPI/gui#gui.add_widget_definition|add_widget_definition]]<br>
+
[[LuaAPI/gui#gui.show_narration|gui.show_narration]]<br>
[[LuaAPI/gui#gui.widget|widget]]<br>
+
[[LuaAPI/gui#gui.show_popup|gui.show_popup]]<br>
[[LuaAPI/gui#gui.show_help|show_help]]<br>
+
[[LuaAPI/gui#gui.show_prompt|gui.show_prompt]]<br>
[[LuaAPI/gui#gui.show_inspector|show_inspector]]<br>
+
[[LuaAPI/gui#gui.show_story|gui.show_story]]<br>
[[LuaAPI/gui#gui.show_lua_console|show_lua_console]]<br>
+
[[LuaAPI/gui#gui.widget|gui.widget]]<br>
|-
 
|''wml''
 
[[LuaAPI/wml#wml.attribute_count|attribute_count]]<br>
 
[[LuaAPI/wml#wml.child_array|child_array]]<br>
 
[[LuaAPI/wml#wml.child_count|child_count]]<br>
 
[[LuaAPI/wml#wml.child_range|child_range]]<br>
 
[[LuaAPI/wml#wml.find_child|find_child]]<br>
 
[[LuaAPI/wml#wml.get_child|get_child]]<br>
 
[[LuaAPI/wml#wml.get_nth_child|get_nth_child]]<br>
 
[[LuaAPI/wml#wml.remove_child|remove_child]]<br>
 
[[LuaAPI/wml#wml.remove_children|remove_children]]<br>
 
[[LuaAPI/wml#wml.tag|tag]]<br>
 
[[LuaAPI/wml#wml.clone|clone]]<br>
 
[[LuaAPI/wml#wml.equal|equal]]<br>
 
[[LuaAPI/wml#wml.valid|valid]]<br>
 
[[LuaAPI/wml#wml.matches_filter|matches_filter]]<br>
 
[[LuaAPI/wml#wml.load|load]]<br>
 
[[LuaAPI/wml#wml.parse|parse]]<br>
 
[[LuaAPI/wml#wml.merge|merge]]<br>
 
[[LuaAPI/wml#wml.diff|diff]]<br>
 
[[LuaAPI/wml#wml.patch|patch]]<br>
 
[[LuaAPI/wml#wml.interpolate|interpolate]]<br>
 
[[LuaAPI/wml#wml.tostring|tostring]]<br>
 
[[LuaAPI/wml#wml.tovconfig|tovconfig]]<br>
 
[[LuaAPI/wml#wml.literal|literal]]<br>
 
[[LuaAPI/wml#wml.parsed|parsed]]<br>
 
[[LuaAPI/wml#wml.shallow_literal|shallow_literal]]<br>
 
[[LuaAPI/wml#wml.shallow_parsed|shallow_parsed]]<br>
 
[[LuaAPI/wml#wml.all_variables|all_variables]]<br>
 
[[LuaAPI/wml#wml.variables|variables]]<br>
 
[[LuaAPI/wml#wml.variables_proxy|variables_proxy]]<br>
 
[[LuaAPI/wml#wml.array_access.get|get]]<br>
 
[[LuaAPI/wml#wml.array_access.get_proxy|get_proxy]]<br>
 
[[LuaAPI/wml#wml.array_access.set|set]]<br>
 
[[LuaAPI/wml#wml.array_variables|array_variables]]<br>
 
[[LuaAPI/wml#wml.eval_conditional|eval_conditional]]<br>
 
[[LuaAPI/wml#wml.fire|fire]]<br>
 
[[LuaAPI/wml#wml.error|error]]<br>
 
 
|-
 
|-
 
|''location_set''
 
|''location_set''
[[LuaAPI/location_set#location_set.create|create]]<br>
+
[[LuaAPI/location_set#location_set.clear|location_set.clear]]<br>
[[LuaAPI/location_set#location_set.of_raw|of_raw]]<br>
+
[[LuaAPI/location_set#location_set.clone|location_set.clone]]<br>
[[LuaAPI/location_set#location_set.of_pairs|of_pairs]]<br>
+
[[LuaAPI/location_set#location_set.create|location_set.create]]<br>
[[LuaAPI/location_set#location_set.of_triples|of_triples]]<br>
+
[[LuaAPI/location_set#location_set.diff|location_set.diff]]<br>
[[LuaAPI/location_set#location_set.of_map|of_map]]<br>
+
[[LuaAPI/location_set#location_set.empty|location_set.empty]]<br>
[[LuaAPI/location_set#location_set.of_wml_var|of_wml_var]]<br>
+
[[LuaAPI/location_set#location_set.filter|location_set.filter]]<br>
[[LuaAPI/location_set#location_set.of_shroud_data|of_shroud_data]]<br>
+
[[LuaAPI/location_set#location_set.get|location_set.get]]<br>
[[LuaAPI/location_set#location_set.to_pairs|to_pairs]]<br>
+
[[LuaAPI/location_set#location_set.insert|location_set.insert]]<br>
[[LuaAPI/location_set#location_set.to_stable_pairs|to_stable_pairs]]<br>
+
[[LuaAPI/location_set#location_set.inter|location_set.inter]]<br>
[[LuaAPI/location_set#location_set.to_triples|to_triples]]<br>
+
[[LuaAPI/location_set#location_set.inter_merge|location_set.inter_merge]]<br>
[[LuaAPI/location_set#location_set.to_map|to_map]]<br>
+
[[LuaAPI/location_set#location_set.invert|location_set.invert]]<br>
[[LuaAPI/location_set#location_set.to_wml_var|to_wml_var]]<br>
+
[[LuaAPI/location_set#location_set.iter|location_set.iter]]<br>
[[LuaAPI/location_set#location_set.to_shroud_data|to_shroud_data]]<br>
+
[[LuaAPI/location_set#location_set.of_map|location_set.of_map]]<br>
[[LuaAPI/location_set#location_set.clone|clone]]<br>
+
[[LuaAPI/location_set#location_set.of_pairs|location_set.of_pairs]]<br>
[[LuaAPI/location_set#location_set.get|get]]<br>
+
[[LuaAPI/location_set#location_set.of_raw|location_set.of_raw]]<br>
[[LuaAPI/location_set#location_set.insert|insert]]<br>
+
[[LuaAPI/location_set#location_set.of_shroud_data|location_set.of_shroud_data]]<br>
[[LuaAPI/location_set#location_set.remove|remove]]<br>
+
[[LuaAPI/location_set#location_set.of_triples|location_set.of_triples]]<br>
[[LuaAPI/location_set#location_set.clear|clear]]<br>
+
[[LuaAPI/location_set#location_set.of_wml_var|location_set.of_wml_var]]<br>
[[LuaAPI/location_set#location_set.size|size]]<br>
+
[[LuaAPI/location_set#location_set.random|location_set.random]]<br>
[[LuaAPI/location_set#location_set.empty|empty]]<br>
+
[[LuaAPI/location_set#location_set.remove|location_set.remove]]<br>
[[LuaAPI/location_set#location_set.iter|iter]]<br>
+
[[LuaAPI/location_set#location_set.size|location_set.size]]<br>
[[LuaAPI/location_set#location_set.stable_iter|stable_iter]]<br>
+
[[LuaAPI/location_set#location_set.stable_iter|location_set.stable_iter]]<br>
[[LuaAPI/location_set#location_set.filter|filter]]<br>
+
[[LuaAPI/location_set#location_set.symm|location_set.symm]]<br>
[[LuaAPI/location_set#location_set.union|union]]<br>
+
[[LuaAPI/location_set#location_set.to_map|location_set.to_map]]<br>
[[LuaAPI/location_set#location_set.union_merge|union_merge]]<br>
+
[[LuaAPI/location_set#location_set.to_pairs|location_set.to_pairs]]<br>
[[LuaAPI/location_set#location_set.inter|inter]]<br>
+
[[LuaAPI/location_set#location_set.to_shroud_data|location_set.to_shroud_data]]<br>
[[LuaAPI/location_set#location_set.inter_merge|inter_merge]]<br>
+
[[LuaAPI/location_set#location_set.to_stable_pairs|location_set.to_stable_pairs]]<br>
[[LuaAPI/location_set#location_set.diff|diff]]<br>
+
[[LuaAPI/location_set#location_set.to_triples|location_set.to_triples]]<br>
[[LuaAPI/location_set#location_set.symm|symm]]<br>
+
[[LuaAPI/location_set#location_set.to_wml_var|location_set.to_wml_var]]<br>
[[LuaAPI/location_set#location_set.invert|invert]]<br>
+
[[LuaAPI/location_set#location_set.union|location_set.union]]<br>
[[LuaAPI/location_set#location_set.random|random]]<br>
+
[[LuaAPI/location_set#location_set.union_merge|location_set.union_merge]]<br>
 
|-
 
|-
|''functional''
+
|''mathx''
[[LuaAPI/functional#functional.filter|filter]]<br>
+
[[LuaAPI/mathx#mathx.clamp|mathx.clamp]]<br>
[[LuaAPI/functional#functional.filter_map|filter_map]]<br>
+
[[LuaAPI/mathx#mathx.lerp|mathx.lerp]]<br>
[[LuaAPI/functional#functional.find|find]]<br>
+
[[LuaAPI/mathx#mathx.random|mathx.random]]<br>
[[LuaAPI/functional#functional.find_map|find_map]]<br>
+
[[LuaAPI/mathx#mathx.random_choice|mathx.random_choice]]<br>
[[LuaAPI/functional#functional.choose|choose]]<br>
+
[[LuaAPI/mathx#mathx.round|mathx.round]]<br>
[[LuaAPI/functional#functional.choose_map|choose_map]]<br>
+
[[LuaAPI/mathx#mathx.shuffle|mathx.shuffle]]<br>
[[LuaAPI/functional#functional.map|map]]<br>
 
[[LuaAPI/functional#functional.map_array|map_array]]<br>
 
[[LuaAPI/functional#functional.reduce|reduce]]<br>
 
[[LuaAPI/functional#functional.take_while|take_while]]<br>
 
[[LuaAPI/functional#functional.zip|zip]]<br>
 
 
|-
 
|-
 
|''stringx''
 
|''stringx''
[[LuaAPI/stringx#stringx.split|split]]<br>
+
[[LuaAPI/stringx#stringx.anim_split|stringx.anim_split]]<br>
[[LuaAPI/stringx#stringx.escaped_split|escaped_split]]<br>
+
[[LuaAPI/stringx#stringx.escaped_split|stringx.escaped_split]]<br>
[[LuaAPI/stringx#stringx.quoted_split|quoted_split]]<br>
+
[[LuaAPI/stringx#stringx.format_conjunct_list|stringx.format_conjunct_list]]<br>
[[LuaAPI/stringx#stringx.anim_split|anim_split]]<br>
+
[[LuaAPI/stringx#stringx.format_disjunct_list|stringx.format_disjunct_list]]<br>
[[LuaAPI/stringx#stringx.parenthetical_split|parenthetical_split]]<br>
+
[[LuaAPI/stringx#stringx.iter_range|stringx.iter_range]]<br>
[[LuaAPI/stringx#stringx.map_split|map_split]]<br>
+
[[LuaAPI/stringx#stringx.iter_ranges|stringx.iter_ranges]]<br>
[[LuaAPI/stringx#stringx.join|join]]<br>
+
[[LuaAPI/stringx#stringx.join|stringx.join]]<br>
[[LuaAPI/stringx#stringx.join_map|join_map]]<br>
+
[[LuaAPI/stringx#stringx.join_map|stringx.join_map]]<br>
[[LuaAPI/stringx#stringx.vformat|vformat]]<br>
+
[[LuaAPI/stringx#stringx.map_split|stringx.map_split]]<br>
[[LuaAPI/stringx#stringx.format_conjunct_list|format_conjunct_list]]<br>
+
[[LuaAPI/stringx#stringx.parenthetical_split|stringx.parenthetical_split]]<br>
[[LuaAPI/stringx#stringx.format_disjunct_list|format_disjunct_list]]<br>
+
[[LuaAPI/stringx#stringx.parse_range|stringx.parse_range]]<br>
[[LuaAPI/stringx#stringx.trim|trim]]<br>
+
[[LuaAPI/stringx#stringx.quoted_split|stringx.quoted_split]]<br>
[[LuaAPI/stringx#stringx.parse_range|parse_range]]<br>
+
[[LuaAPI/stringx#stringx.split|stringx.split]]<br>
[[LuaAPI/stringx#stringx.iter_range|iter_range]]<br>
+
[[LuaAPI/stringx#stringx.trim|stringx.trim]]<br>
[[LuaAPI/stringx#stringx.iter_ranges|iter_ranges]]<br>
+
[[LuaAPI/stringx#stringx.vformat|stringx.vformat]]<br>
 
|-
 
|-
|''mathx''
+
|''unit_test''
[[LuaAPI/mathx#mathx.clamp|clamp]]<br>
+
[[LuaAPI/unit_test#unit_test.assert|unit_test.assert]]<br>
[[LuaAPI/mathx#mathx.lerp|lerp]]<br>
+
[[LuaAPI/unit_test#unit_test.assert_approx_equal|unit_test.assert_approx_equal]]<br>
[[LuaAPI/mathx#mathx.random|random]]<br>
+
[[LuaAPI/unit_test#unit_test.assert_contains|unit_test.assert_contains]]<br>
[[LuaAPI/mathx#mathx.random_choice|random_choice]]<br>
+
[[LuaAPI/unit_test#unit_test.assert_equal|unit_test.assert_equal]]<br>
[[LuaAPI/mathx#mathx.round|round]]<br>
+
[[LuaAPI/unit_test#unit_test.assert_greater|unit_test.assert_greater]]<br>
[[LuaAPI/mathx#mathx.shuffle|shuffle]]<br>
+
[[LuaAPI/unit_test#unit_test.assert_greater_equal|unit_test.assert_greater_equal]]<br>
 +
[[LuaAPI/unit_test#unit_test.assert_in_range|unit_test.assert_in_range]]<br>
 +
[[LuaAPI/unit_test#unit_test.assert_less|unit_test.assert_less]]<br>
 +
[[LuaAPI/unit_test#unit_test.assert_less_equal|unit_test.assert_less_equal]]<br>
 +
[[LuaAPI/unit_test#unit_test.assert_not_equal|unit_test.assert_not_equal]]<br>
 +
[[LuaAPI/unit_test#unit_test.assert_nothrow|unit_test.assert_nothrow]]<br>
 +
[[LuaAPI/unit_test#unit_test.assert_throws|unit_test.assert_throws]]<br>
 +
[[LuaAPI/unit_test#unit_test.assert_throws_with|unit_test.assert_throws_with]]<br>
 +
[[LuaAPI/unit_test#unit_test.fail|unit_test.fail]]<br>
 +
[[LuaAPI/unit_test#unit_test.finish|unit_test.finish]]<br>
 +
[[LuaAPI/unit_test#unit_test.fire_wml_menu_item|unit_test.fire_wml_menu_item]]<br>
 +
[[LuaAPI/unit_test#unit_test.log|unit_test.log]]<br>
 +
[[LuaAPI/unit_test#unit_test.succeed|unit_test.succeed]]<br>
 +
[[LuaAPI/unit_test#unit_test.tostring|unit_test.tostring]]<br>
 
|-
 
|-
|''filesystem''
+
|''wml''
[[LuaAPI/filesystem#filesystem.read_file|read_file]]<br>
+
[[LuaAPI/wml#wml.all_variables|wml.all_variables]]<br>
[[LuaAPI/filesystem#filesystem.have_file|have_file]]<br>
+
[[LuaAPI/wml#wml.array_access.get|wml.array_access.get]]<br>
[[LuaAPI/filesystem#filesystem.canonical_path|canonical_path]]<br>
+
[[LuaAPI/wml#wml.array_access.get_proxy|wml.array_access.get_proxy]]<br>
[[LuaAPI/filesystem#filesystem.image_size|image_size]]<br>
+
[[LuaAPI/wml#wml.array_access.set|wml.array_access.set]]<br>
[[LuaAPI/filesystem#filesystem.have_asset|have_asset]]<br>
+
[[LuaAPI/wml#wml.array_variables|wml.array_variables]]<br>
[[LuaAPI/filesystem#filesystem.resolve_asset|resolve_asset]]<br>
+
[[LuaAPI/wml#wml.attribute_count|wml.attribute_count]]<br>
|-
+
[[LuaAPI/wml#wml.child_array|wml.child_array]]<br>
|''ai''
+
[[LuaAPI/wml#wml.child_count|wml.child_count]]<br>
[[LuaAPI/ai#ai.read_only|read_only]]<br>
+
[[LuaAPI/wml#wml.child_range|wml.child_range]]<br>
[[LuaAPI/ai#ai.side|side]]<br>
+
[[LuaAPI/wml#wml.clone|wml.clone]]<br>
[[LuaAPI/ai#ai.aspects|aspects]]<br>
+
[[LuaAPI/wml#wml.diff|wml.diff]]<br>
[[LuaAPI/ai#ai.get_attacks|get_attacks]]<br>
+
[[LuaAPI/wml#wml.equal|wml.equal]]<br>
[[LuaAPI/ai#ai.get_targets|get_targets]]<br>
+
[[LuaAPI/wml#wml.error|wml.error]]<br>
[[LuaAPI/ai#ai.suitable_keep|suitable_keep]]<br>
+
[[LuaAPI/wml#wml.eval_conditional|wml.eval_conditional]]<br>
[[LuaAPI/ai#ai.attack|attack]]<br>
+
[[LuaAPI/wml#wml.find_child|wml.find_child]]<br>
[[LuaAPI/ai#ai.check_attack|check_attack]]<br>
+
[[LuaAPI/wml#wml.fire|wml.fire]]<br>
[[LuaAPI/ai#ai.move|move]]<br>
+
[[LuaAPI/wml#wml.get_child|wml.get_child]]<br>
[[LuaAPI/ai#ai.move_full|move_full]]<br>
+
[[LuaAPI/wml#wml.get_nth_child|wml.get_nth_child]]<br>
[[LuaAPI/ai#ai.check_move|check_move]]<br>
+
[[LuaAPI/wml#wml.interpolate|wml.interpolate]]<br>
[[LuaAPI/ai#ai.recall|recall]]<br>
+
[[LuaAPI/wml#wml.literal|wml.literal]]<br>
[[LuaAPI/ai#ai.check_recall|check_recall]]<br>
+
[[LuaAPI/wml#wml.load|wml.load]]<br>
[[LuaAPI/ai#ai.recruit|recruit]]<br>
+
[[LuaAPI/wml#wml.matches_filter|wml.matches_filter]]<br>
[[LuaAPI/ai#ai.check_recruit|check_recruit]]<br>
+
[[LuaAPI/wml#wml.merge|wml.merge]]<br>
[[LuaAPI/ai#ai.stopunit_attacks|stopunit_attacks]]<br>
+
[[LuaAPI/wml#wml.parse|wml.parse]]<br>
[[LuaAPI/ai#ai.stopunit_moves|stopunit_moves]]<br>
+
[[LuaAPI/wml#wml.parsed|wml.parsed]]<br>
[[LuaAPI/ai#ai.stopunit_all|stopunit_all]]<br>
+
[[LuaAPI/wml#wml.patch|wml.patch]]<br>
[[LuaAPI/ai#ai.check_stopunit|check_stopunit]]<br>
+
[[LuaAPI/wml#wml.remove_child|wml.remove_child]]<br>
[[LuaAPI/ai#ai.fallback_human|fallback_human]]<br>
+
[[LuaAPI/wml#wml.remove_children|wml.remove_children]]<br>
 +
[[LuaAPI/wml#wml.shallow_literal|wml.shallow_literal]]<br>
 +
[[LuaAPI/wml#wml.shallow_parsed|wml.shallow_parsed]]<br>
 +
[[LuaAPI/wml#wml.tag|wml.tag]]<br>
 +
[[LuaAPI/wml#wml.tostring|wml.tostring]]<br>
 +
[[LuaAPI/wml#wml.tovconfig|wml.tovconfig]]<br>
 +
[[LuaAPI/wml#wml.valid|wml.valid]]<br>
 +
[[LuaAPI/wml#wml.variables|wml.variables]]<br>
 +
[[LuaAPI/wml#wml.variables_proxy|wml.variables_proxy]]<br>
 
|-
 
|-
 
|''wml-utils''
 
|''wml-utils''
[[LuaAPI/wml-utils#utils.check_key|check_key]]<br>
+
[[LuaAPI/wml-utils#utils.check_key|utils.check_key]]<br>
[[LuaAPI/wml-utils#utils.vwriter|vwriter]]<br>
+
[[LuaAPI/wml-utils#utils.get_sides|utils.get_sides]]<br>
[[LuaAPI/wml-utils#utils.get_sides|get_sides]]<br>
+
[[LuaAPI/wml-utils#utils.handle_event_commands|utils.handle_event_commands]]<br>
[[LuaAPI/wml-utils#utils.optional_side_filter|optional_side_filter]]<br>
+
[[LuaAPI/wml-utils#utils.optional_side_filter|utils.optional_side_filter]]<br>
[[LuaAPI/wml-utils#utils.handle_event_commands|handle_event_commands]]<br>
+
[[LuaAPI/wml-utils#utils.scoped_var|utils.scoped_var]]<br>
[[LuaAPI/wml-utils#utils.set_exiting|set_exiting]]<br>
+
[[LuaAPI/wml-utils#utils.set_exiting|utils.set_exiting]]<br>
[[LuaAPI/wml-utils#utils.scoped_var|scoped_var]]<br>
+
[[LuaAPI/wml-utils#utils.vwriter|utils.vwriter]]<br>
|-
 
|''unit_test''
 
[[LuaAPI/unit_test#unit_test.fail|fail]]<br>
 
[[LuaAPI/unit_test#unit_test.succeed|succeed]]<br>
 
[[LuaAPI/unit_test#unit_test.finish|finish]]<br>
 
[[LuaAPI/unit_test#unit_test.log|log]]<br>
 
[[LuaAPI/unit_test#unit_test.tostring|tostring]]<br>
 
[[LuaAPI/unit_test#unit_test.fire_wml_menu_item|fire_wml_menu_item]]<br>
 
[[LuaAPI/unit_test#unit_test.assert|assert]]<br>
 
[[LuaAPI/unit_test#unit_test.assert_equal|assert_equal]]<br>
 
[[LuaAPI/unit_test#unit_test.assert_not_equal|assert_not_equal]]<br>
 
[[LuaAPI/unit_test#unit_test.assert_approx_equal|assert_approx_equal]]<br>
 
[[LuaAPI/unit_test#unit_test.assert_greater|assert_greater]]<br>
 
[[LuaAPI/unit_test#unit_test.assert_greater_equal|assert_greater_equal]]<br>
 
[[LuaAPI/unit_test#unit_test.assert_less|assert_less]]<br>
 
[[LuaAPI/unit_test#unit_test.assert_less_equal|assert_less_equal]]<br>
 
[[LuaAPI/unit_test#unit_test.assert_in_range|assert_in_range]]<br>
 
[[LuaAPI/unit_test#unit_test.assert_contains|assert_contains]]<br>
 
[[LuaAPI/unit_test#unit_test.assert_nothrow|assert_nothrow]]<br>
 
[[LuaAPI/unit_test#unit_test.assert_throws|assert_throws]]<br>
 
[[LuaAPI/unit_test#unit_test.assert_throws_with|assert_throws_with]]<br>
 
|-
 
|''wesnoth.interface''
 
[[LuaAPI/wesnoth/interface#wesnoth.interface.delay|delay]]<br>
 
[[LuaAPI/wesnoth/interface#wesnoth.interface.deselect_hex|deselect_hex]]<br>
 
[[LuaAPI/wesnoth/interface#wesnoth.interface.highlight_hex|highlight_hex]]<br>
 
[[LuaAPI/wesnoth/interface#wesnoth.interface.select_unit|select_unit]]<br>
 
[[LuaAPI/wesnoth/interface#wesnoth.interface.float_label|float_label]]<br>
 
[[LuaAPI/wesnoth/interface#wesnoth.interface.get_displayed_unit|get_displayed_unit]]<br>
 
[[LuaAPI/wesnoth/interface#wesnoth.interface.get_hovered_hex|get_hovered_hex]]<br>
 
[[LuaAPI/wesnoth/interface#wesnoth.interface.get_selected_hex|get_selected_hex]]<br>
 
[[LuaAPI/wesnoth/interface#wesnoth.interface.get_viewing_side|get_viewing_side]]<br>
 
[[LuaAPI/wesnoth/interface#wesnoth.interface.lock|lock]]<br>
 
[[LuaAPI/wesnoth/interface#wesnoth.interface.is_locked|is_locked]]<br>
 
[[LuaAPI/wesnoth/interface#wesnoth.interface.scroll_to_hex|scroll_to_hex]]<br>
 
[[LuaAPI/wesnoth/interface#wesnoth.interface.scroll|scroll]]<br>
 
[[LuaAPI/wesnoth/interface#wesnoth.interface.zoom|zoom]]<br>
 
[[LuaAPI/wesnoth/interface#wesnoth.interface.skip_messages|skip_messages]]<br>
 
[[LuaAPI/wesnoth/interface#wesnoth.interface.is_skipping_messages|is_skipping_messages]]<br>
 
[[LuaAPI/wesnoth/interface#wesnoth.interface.add_chat_message|add_chat_message]]<br>
 
[[LuaAPI/wesnoth/interface#wesnoth.interface.clear_chat_messages|clear_chat_messages]]<br>
 
[[LuaAPI/wesnoth/interface#wesnoth.interface.add_item_image|add_item_image]]<br>
 
[[LuaAPI/wesnoth/interface#wesnoth.interface.add_item_halo|add_item_halo]]<br>
 
[[LuaAPI/wesnoth/interface#wesnoth.interface.remove_item|remove_item]]<br>
 
[[LuaAPI/wesnoth/interface#wesnoth.interface.get_items|get_items]]<br>
 
[[LuaAPI/wesnoth/interface#wesnoth.interface.add_hex_overlay|add_hex_overlay]]<br>
 
[[LuaAPI/wesnoth/interface#wesnoth.interface.remove_hex_overlay|remove_hex_overlay]]<br>
 
[[LuaAPI/wesnoth/interface#wesnoth.interface.end_turn|end_turn]]<br>
 
[[LuaAPI/wesnoth/interface#wesnoth.interface.allow_end_turn|allow_end_turn]]<br>
 
[[LuaAPI/wesnoth/interface#wesnoth.interface.color_adjust|color_adjust]]<br>
 
[[LuaAPI/wesnoth/interface#wesnoth.interface.add_overlay_text|add_overlay_text]]<br>
 
[[LuaAPI/wesnoth/interface#wesnoth.interface.handle_user_interact|handle_user_interact]]<br>
 
 
 
 
|}
 
|}

Revision as of 17:56, 19 April 2024

wesnoth

wesnoth.as_text
wesnoth.colors
wesnoth.compile_formula
wesnoth.current
wesnoth.current_version
wesnoth.custom_synced_commands
wesnoth.deprecate_api
wesnoth.deprecated_message
wesnoth.dofile
wesnoth.effects
wesnoth.eval_formula
wesnoth.game_config
wesnoth.get_language
wesnoth.log
wesnoth.micro_ais
wesnoth.ms_since_init
wesnoth.name_generator
wesnoth.named_tuple
wesnoth.persistent_tags
wesnoth.print_attributes
wesnoth.races
wesnoth.require
wesnoth.scenario
wesnoth.simulate_combat
wesnoth.terrain_types
wesnoth.textdomain
wesnoth.type
wesnoth.unit_types
wesnoth.version
wesnoth.wml_actions
wesnoth.wml_conditionals

wesnoth.achievements

wesnoth.achievements.get
wesnoth.achievements.has
wesnoth.achievements.has_sub_achievement
wesnoth.achievements.progress
wesnoth.achievements.set
wesnoth.achievements.set_sub_achievement

wesnoth.audio

wesnoth.audio.music_list
wesnoth.audio.music_list.add
wesnoth.audio.music_list.all
wesnoth.audio.music_list.clear
wesnoth.audio.music_list.current
wesnoth.audio.music_list.next
wesnoth.audio.music_list.play
wesnoth.audio.music_list.previous
wesnoth.audio.music_list.remove
wesnoth.audio.music_list.volume
wesnoth.audio.play
wesnoth.audio.sources
wesnoth.audio.volume

wesnoth.game_events

wesnoth.game_events.add
wesnoth.game_events.add_menu
wesnoth.game_events.add_repeating
wesnoth.game_events.add_wml
wesnoth.game_events.fire
wesnoth.game_events.fire_by_id
wesnoth.game_events.on_event
wesnoth.game_events.on_load
wesnoth.game_events.on_mouse_action
wesnoth.game_events.on_mouse_button
wesnoth.game_events.on_mouse_move
wesnoth.game_events.on_save
wesnoth.game_events.remove

wesnoth.interface

wesnoth.interface.add_chat_message
wesnoth.interface.add_hex_overlay
wesnoth.interface.add_item_halo
wesnoth.interface.add_item_image
wesnoth.interface.add_overlay_text
wesnoth.interface.allow_end_turn
wesnoth.interface.clear_chat_messages
wesnoth.interface.color_adjust
wesnoth.interface.delay
wesnoth.interface.deselect_hex
wesnoth.interface.end_turn
wesnoth.interface.float_label
wesnoth.interface.get_displayed_unit
wesnoth.interface.get_hovered_hex
wesnoth.interface.get_items
wesnoth.interface.get_selected_hex
wesnoth.interface.get_viewing_side
wesnoth.interface.handle_user_interact
wesnoth.interface.highlight_hex
wesnoth.interface.is_locked
wesnoth.interface.is_skipping_messages
wesnoth.interface.lock
wesnoth.interface.remove_hex_overlay
wesnoth.interface.remove_item
wesnoth.interface.scroll
wesnoth.interface.scroll_to_hex
wesnoth.interface.select_unit
wesnoth.interface.skip_messages
wesnoth.interface.zoom

wesnoth.map

wesnoth.map.add_label
wesnoth.map.are_hexes_adjacent
wesnoth.map.create
wesnoth.map.distance_between
wesnoth.map.find
wesnoth.map.generate
wesnoth.map.generate_height_map
wesnoth.map.get
wesnoth.map.get_adjacent_hexes
wesnoth.map.get_area
wesnoth.map.get_direction
wesnoth.map.get_hexes_in_radius
wesnoth.map.get_label
wesnoth.map.get_owner
wesnoth.map.get_relative_dir
wesnoth.map.iter
wesnoth.map.make_bitmap
wesnoth.map.matches
wesnoth.map.on_board
wesnoth.map.on_border
wesnoth.map.parse_bitmap
wesnoth.map.place_area
wesnoth.map.read_location
wesnoth.map.remove_area
wesnoth.map.remove_label
wesnoth.map.rotate_right_around_center
wesnoth.map.set_owner
wesnoth.map.split_terrain_code
wesnoth.map.terrain_mask

wesnoth.paths

wesnoth.paths.find_cost_map
wesnoth.paths.find_path
wesnoth.paths.find_reach
wesnoth.paths.find_vacant_hex
wesnoth.paths.find_vision_range

wesnoth.schedule

wesnoth.schedule.get_illumination
wesnoth.schedule.get_time_of_day
wesnoth.schedule.replace

wesnoth.sides

wesnoth.sides.add_ai_component
wesnoth.sides.append_ai
wesnoth.sides.change_ai_component
wesnoth.sides.create
wesnoth.sides.debug_ai
wesnoth.sides.delete_ai_component
wesnoth.sides.find
wesnoth.sides.get
wesnoth.sides.is_enemy
wesnoth.sides.is_fogged
wesnoth.sides.is_shrouded
wesnoth.sides.iter
wesnoth.sides.matches
wesnoth.sides.override_shroud
wesnoth.sides.place_fog
wesnoth.sides.place_shroud
wesnoth.sides.remove_fog
wesnoth.sides.remove_shroud
wesnoth.sides.set_id
wesnoth.sides.switch_ai

wesnoth.sync

wesnoth.sync.evaluate_multiple
wesnoth.sync.evaluate_single
wesnoth.sync.invoke_command
wesnoth.sync.run_unsynced

wesnoth.units

wesnoth.unit.resistance_against
wesnoth.units.ability
wesnoth.units.add_modification
wesnoth.units.advance
wesnoth.units.chance_to_be_hit
wesnoth.units.clone
wesnoth.units.create
wesnoth.units.create_animator
wesnoth.units.defense_on
wesnoth.units.erase
wesnoth.units.extract
wesnoth.units.find
wesnoth.units.find_attack
wesnoth.units.find_on_map
wesnoth.units.find_on_recall
wesnoth.units.get
wesnoth.units.get_hovered
wesnoth.units.jamming_on
wesnoth.units.matches
wesnoth.units.movement_on
wesnoth.units.remove_modifications
wesnoth.units.scroll_to
wesnoth.units.select
wesnoth.units.to_map
wesnoth.units.to_recall
wesnoth.units.transform
wesnoth.units.vision_on

ai

ai.aspects
ai.attack
ai.check_attack
ai.check_move
ai.check_recall
ai.check_recruit
ai.check_stopunit
ai.fallback_human
ai.get_attacks
ai.get_targets
ai.move
ai.move_full
ai.read_only
ai.recall
ai.recruit
ai.side
ai.stopunit_all
ai.stopunit_attacks
ai.stopunit_moves
ai.suitable_keep

filesystem

filesystem.canonical_path
filesystem.have_asset
filesystem.have_file
filesystem.image_size
filesystem.read_file
filesystem.resolve_asset

functional

functional.choose
functional.choose_map
functional.filter
functional.filter_map
functional.find
functional.find_map
functional.map
functional.map_array
functional.reduce
functional.take_while
functional.zip

gui

gui.add_widget_definition
gui.get_user_choice
gui.show_dialog
gui.show_help
gui.show_inspector
gui.show_lua_console
gui.show_menu
gui.show_narration
gui.show_popup
gui.show_prompt
gui.show_story
gui.widget

location_set

location_set.clear
location_set.clone
location_set.create
location_set.diff
location_set.empty
location_set.filter
location_set.get
location_set.insert
location_set.inter
location_set.inter_merge
location_set.invert
location_set.iter
location_set.of_map
location_set.of_pairs
location_set.of_raw
location_set.of_shroud_data
location_set.of_triples
location_set.of_wml_var
location_set.random
location_set.remove
location_set.size
location_set.stable_iter
location_set.symm
location_set.to_map
location_set.to_pairs
location_set.to_shroud_data
location_set.to_stable_pairs
location_set.to_triples
location_set.to_wml_var
location_set.union
location_set.union_merge

mathx

mathx.clamp
mathx.lerp
mathx.random
mathx.random_choice
mathx.round
mathx.shuffle

stringx

stringx.anim_split
stringx.escaped_split
stringx.format_conjunct_list
stringx.format_disjunct_list
stringx.iter_range
stringx.iter_ranges
stringx.join
stringx.join_map
stringx.map_split
stringx.parenthetical_split
stringx.parse_range
stringx.quoted_split
stringx.split
stringx.trim
stringx.vformat

unit_test

unit_test.assert
unit_test.assert_approx_equal
unit_test.assert_contains
unit_test.assert_equal
unit_test.assert_greater
unit_test.assert_greater_equal
unit_test.assert_in_range
unit_test.assert_less
unit_test.assert_less_equal
unit_test.assert_not_equal
unit_test.assert_nothrow
unit_test.assert_throws
unit_test.assert_throws_with
unit_test.fail
unit_test.finish
unit_test.fire_wml_menu_item
unit_test.log
unit_test.succeed
unit_test.tostring

wml

wml.all_variables
wml.array_access.get
wml.array_access.get_proxy
wml.array_access.set
wml.array_variables
wml.attribute_count
wml.child_array
wml.child_count
wml.child_range
wml.clone
wml.diff
wml.equal
wml.error
wml.eval_conditional
wml.find_child
wml.fire
wml.get_child
wml.get_nth_child
wml.interpolate
wml.literal
wml.load
wml.matches_filter
wml.merge
wml.parse
wml.parsed
wml.patch
wml.remove_child
wml.remove_children
wml.shallow_literal
wml.shallow_parsed
wml.tag
wml.tostring
wml.tovconfig
wml.valid
wml.variables
wml.variables_proxy

wml-utils

utils.check_key
utils.get_sides
utils.handle_event_commands
utils.optional_side_filter
utils.scoped_var
utils.set_exiting
utils.vwriter