Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Dregu committed Feb 26, 2021
1 parent e9866c8 commit 13bcdcc
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions docs/script-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,7 @@ end
- `as_mattock` &Entity::as<Mattock>
- `as_mount` &Entity::as<Mount>
- `as_player` &Entity::as<Player>
- `as_monster` &Entity::as<Monster>
### `Movable`
Derived from [`Entity`](#entity)
- `movex` &Movable::movex
Expand All @@ -393,9 +394,16 @@ Derived from [`Entity`](#entity)
- `offsetx` &Movable::offsetx
- `offsety` &Movable::offsety
- `airtime` &Movable::airtime
### `Player`
### `Monster`
Derived from [`Entity`](#entity) [`Movable`](#movable)
- `sol::base_classes` sol::bases<Entity
### `Player`
Derived from [`Entity`](#entity) [`Movable`](#movable) [`Monster`](#monster)
- `inventory` &Player::inventory_ptr
### `Mount`
Derived from [`Entity`](#entity) [`Movable`](#movable) [`Monster`](#monster)
- `carry` &Mount::carry
- `tame` &Mount::tame
### `Container`
Derived from [`Entity`](#entity) [`Movable`](#movable)
- `inside` &Container::inside
Expand Down Expand Up @@ -428,7 +436,7 @@ Derived from [`Entity`](#entity) [`Movable`](#movable)
- `time_level` &StateMemory::time_level
- `hud_flags` &StateMemory::hud_flags
- `loading` &StateMemory::loading
- `reset` &StateMemory::reset
- `quest_flags` &StateMemory::quest_flags
## Enums
Enums are like numbers but in text that's easier to remember. Example:
```
Expand Down

0 comments on commit 13bcdcc

Please sign in to comment.