Code Documentation
Documentation for many of the functions and objects utilized by the engine.
These functions and objects can be refrenced in your own events and conditions.
- GameState class
GameState
GameState.is_displaying_overworld()
GameState.level
GameState.level_nid
GameState.current_party
GameState.tilemap
GameState.bg_tilemap
GameState.mode
GameState.party
GameState.get_party()
GameState.units
GameState.regions
GameState.get_data()
GameState.get_unit()
GameState.get_klass()
GameState.get_convoy_inventory()
GameState.get_item()
GameState.get_skill()
GameState.get_region()
GameState.get_region_under_pos()
GameState.get_ai_group()
GameState.ai_group_active()
GameState.get_units_in_ai_group()
GameState.get_all_units()
GameState.get_player_units()
GameState.get_enemy_units()
GameState.get_enemy1_units()
GameState.get_enemy2_units()
GameState.get_other_units()
GameState.get_team_units()
GameState.get_travelers()
GameState.get_player_units_and_travelers()
GameState.get_rescuer()
GameState.get_rescuers_position()
GameState.get_all_units_in_party()
GameState.get_units_in_party()
GameState.get_all_player_units()
GameState.is_roam()
GameState.get_roam_unit()
GameState.check_dead()
GameState.check_alive()
GameState.get_terrain_nid()
GameState.get_all_formation_spots()
GameState.get_open_formation_spots()
GameState.get_money()
GameState.get_bexp()
GameState.get_random()
GameState.get_random_float()
GameState.get_random_choice()
GameState.get_random_weighted_choice()
- Level Object
- UnitObject class
UnitObject
UnitObject.nid
UnitObject.prefab_nid
UnitObject.generic
UnitObject.persistent
UnitObject.ai
UnitObject.roam_ai
UnitObject.stats
UnitObject.growths
UnitObject.growth_points
UnitObject.stat_cap_modifiers
UnitObject.position
UnitObject.starting_position
UnitObject.previous_position
UnitObject.traveler
UnitObject.strike_partner
UnitObject.lead_unit
UnitObject.dead
UnitObject.is_dying
UnitObject.items
UnitObject.has_rescued
UnitObject.has_taken
UnitObject.has_given
UnitObject.has_dropped
UnitObject.has_run_ai
UnitObject.get_max_hp()
UnitObject.get_hp()
UnitObject.get_max_mana()
UnitObject.get_mana()
UnitObject.get_max_fatigue()
UnitObject.get_fatigue()
UnitObject.get_exp()
UnitObject.add_skill()
UnitObject.remove_skill()
UnitObject.skills
UnitObject.stat_bonus()
UnitObject.get_stat()
UnitObject.get_growth()
UnitObject.get_stat_cap()
UnitObject.get_damage_with_current_weapon()
UnitObject.get_accuracy_with_current_weapon()
UnitObject.get_avoid_with_current_weapon()
UnitObject.tags
UnitObject.get_ai()
UnitObject.get_roam_ai()
UnitObject.accessories
UnitObject.nonaccessories
UnitObject.get_skill()
UnitObject.get_weapon()
UnitObject.get_accessory()
UnitObject.can_equip()
UnitObject.get_internal_level()
- RegionObject class
- RegionPrefab class
- Party Object
- Event Triggers
EventTrigger
GenericTrigger
LevelStart
LevelEnd
OverworldStart
LevelSelect
PhaseChange
TurnChange
EnemyTurnChange
Enemy2TurnChange
OtherTurnChange
OnRegionInteract
UnitDeath
UnitWait
UnitSelect
UnitLevelUp
DuringUnitLevelUp
CombatStart
CombatEnd
OnTalk
OnSupport
OnBaseConvo
OnPrepStart
OnBaseStart
OnTurnwheel
OnTitleScreen
OnStartup
TimeRegionComplete
OnOverworldNodeSelect
RoamPressStart
RoamPressInfo
RoamPressAux
RoamingInterrupt
RegionTrigger
- Unit Helper Functions
growth_rate()
growth_contribution()
base_growth_rate()
difficulty_growth_rate()
get_next_level_up()
auto_level()
difficulty_auto_level()
apply_stat_changes()
apply_growth_changes()
get_starting_skills()
get_personal_skills()
get_global_skills()
can_unlock()
can_pairup()
check_focus()
check_flanked()
check_flanking()
wait()
usable_wtypes()
get_weapon_cap()
- Item Helper Functions
is_magic()
is_ranged()
is_heal()
available()
has_magic()
can_use()
can_repair()
has_repair()
buy_price()
sell_price()
repair_price()
create_item()
get_all_items()
get_all_items_with_multiitems()
get_all_items_and_abilities()
is_weapon_recursive()
is_spell_recursive()
get_all_items_from_multi_item()
get_all_tradeable_items()
get_num_items()
get_num_accessories()
too_much_in_inventory()
inventory_full()
get_range()
get_range_string()
get_max_range()
num_stacks()
can_be_used_in_base()