[][src]Crate sulis_state

Re-exports

pub use self::ability_state::AbilityState;
pub use self::area_feedback_text::AreaFeedbackText;
pub use self::area_state::AreaState;
pub use self::inventory::Inventory;
pub use self::item_list::ItemList;
pub use self::quest_state::QuestState;
pub use self::quest_state::QuestStateSet;
pub use self::save_file::SaveFile;
pub use self::save_file::SaveFileMetaData;
pub use self::script::Script;
pub use self::script::ScriptCallback;
pub use self::script::ScriptState;

Modules

ability_state
animation
area_feedback_text
area_state
inventory
item_list
quest_state
save_file
script

This module contains Sulis' scripting API. Most structs are inserted into lua scripts as objects. The documentation for each struct describes the available functions on each object when interacting with them within a lua script.

Structs

AI
ActorState
ChangeListener
ChangeListenerList
Effect
EntityState
EntityTextureCache
EntityTextureSlot
Formation
GameState
GeneratedArea
Location
MerchantState
PStats

Persistent Stats, that are not computed from the base StatList, are saved, and may persist between actions

PartyStash
PregenOutput
PropState
RangeIndicator
RangeIndicatorHandler
RangeIndicatorImageSet
SaveState
UICallback
WorldMapState

Enums

NextGameStep

Traits

AreaDrawable
Locatable

Functions

calculate_los
can_attack
center
center_i32
dist
has_visibility
is_threat
is_within
is_within_attack_dist
is_within_touch_dist