kimi gone wild
This commit is contained in:
29
lib/odinsea/game/movement/chair.ex
Normal file
29
lib/odinsea/game/movement/chair.ex
Normal file
@@ -0,0 +1,29 @@
|
||||
defmodule Odinsea.Game.Movement.Chair do
|
||||
@moduledoc """
|
||||
Chair movement - sitting on chairs/mounts.
|
||||
Ported from Java ChairMovement.java
|
||||
|
||||
Used for:
|
||||
- Sitting on chairs (commands 9, 12)
|
||||
- Mount riding (command 13 in GMS)
|
||||
- Special seating
|
||||
"""
|
||||
|
||||
@type t :: %__MODULE__{
|
||||
command: integer(), # Movement command type (9, 10, 11, 12, 13)
|
||||
x: integer(), # Chair X position
|
||||
y: integer(), # Chair Y position
|
||||
unk: integer(), # Unknown short value
|
||||
stance: integer(), # New stance/move action
|
||||
duration: integer() # Movement duration in ms
|
||||
}
|
||||
|
||||
defstruct [
|
||||
:command,
|
||||
:x,
|
||||
:y,
|
||||
:unk,
|
||||
:stance,
|
||||
:duration
|
||||
]
|
||||
end
|
||||
Reference in New Issue
Block a user