Skip to content

WalkRequest

class WalkRequest(val tile: Tile3) : Component()
Example
on_npc_option(Assets.Npc.hans.id, "Follow me") { player ->
target.replaceComponent(WalkRequest(player.tile4.tile))
target.speak("Lead the way.")
}
val tile: Tile3