Add Hans walking behaviour - #1243
Draft
V0lcanic wants to merge 8 commits into
Draft
Conversation
Collaborator
Contributor
Author
added 2 commits
September 1, 2026 09:39
…s-walking-behaviour
Changed: lumbridge.patrols.toml Converted from the new inline points array back to the older per-point patrol format. Changes: • Added defaultmode = "patrol" • Replaced the points = [...] block with patrol0 through patrol13 • Each entry now uses the legacy encoded tile string like 0_50_50_19_22,10 Effect: same Hans patrol path, just stored in the legacy format that PatrolDefinitions now accepts. PatrolDefinitions.kt updated to support older patrol config formats. What changed: •It now accepts defaultmode entries and ignores them. •It now accepts legacy patrol* keys and converts those strings with parseLegacyPatrolPoint(...). •A new helper parses legacy values like level_regionX_regionY_localX_localY[,delay] into Tile to delay. Net effect: the loader can read both the newer points format and older patrol definitions without throwing on legacy keys.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Would this be an authentic or passable implementation of Hans walking behaviour? I used osrs live server and YouTube for references: https://www.youtube.com/watch?v=p3Ph0jVi9R4, https://www.youtube.com/watch?v=T4db140QaXk, https://www.youtube.com/watch?v=5dICd5L2SOc.
Changed:
lumbridge.npc-spawns.toml
-Updated the spawn to the location that Hans stands on for 10 ticks after completing every lap around the courtyard.
lumbridge.patrols.toml
-The tiles that Hans will walk to in a loop.
Hans.kt
-Added the movement behaviour.