Add Tree Gnome Village quest. - #1368
Open
trunksbomb wants to merge 1 commit into
Open
trunksbomb wants to merge 1 commit into
trunksbomb wants to merge 1 commit into
Conversation
Elkoy will gain "Follow" after starting the quest and being escorted out for the first time. Adds dialogue to naerby NPCs as well such as Bolkoy and Lieutenant Schepbur. Quest is fully working from start to finish. Added pre-quest interaction with Spirit Trees to indicate they don't want to talk. Add generic `Crates.kt` to mimic `Boxes.kt`.
GregHib
reviewed
Oct 5, 2026
| } | ||
| cross(target, Direction.NORTH, "rocks_pile_climb") | ||
| if (entering && !get("tree_gnome_village_commander_met", false)) { | ||
| val commander = NPCs.at(tile.regionLevel).firstOrNull { it.id == "khazard_commander_battlefield" && it.tile.level == 0 && !it.dead } |
Owner
There was a problem hiding this comment.
Probably easier to use findBySpawn
GregHib
reviewed
Oct 5, 2026
| player<Neutral>("Hello, how are you?") | ||
| npc<Neutral>(id, "Oh my. I'll never find my way back before Khazard's men come and hunt me down.") | ||
| } | ||
| } |
Owner
There was a problem hiding this comment.
Could also use the quest stage name rather than id?
Suggested change
| } | |
| when(questStage("tree_gnome_village")) { | |
| 0 -> { | |
| player<Neutral>("Hello.") | |
| npc<Neutral>(id, "Gotta find a way out. We built this maze for protection but I can't get used to it. I'm always getting lost.") | |
| } | |
| 9 -> { | |
| player<Neutral>("Hello there, you look lost.") | |
| npc<Neutral>(id, "Are you trying to be funny?") | |
| player<Neutral>("No.") | |
| npc<Neutral>(id, "Hmmm.") | |
| } | |
| 8 -> { | |
| player<Neutral>("Hello little man.") | |
| npc<Neutral>(id, "Hello. I hope they come out and find me soon. It's getting cold.") | |
| } | |
| 6..7 -> { | |
| player<Neutral>("Hello there.") | |
| npc<Neutral>(id, "Oh my, oh my, the village has been pillaged and I'm still lost. Oh dear.") | |
| } | |
| else -> { | |
| player<Neutral>("Hello, how are you?") | |
| npc<Neutral>(id, "Oh my. I'll never find my way back before Khazard's men come and hunt me down.") | |
| } |
This branch has not been deployed
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.
Tree Gnome Village quest working from start to finish.
quests.requirements.skipMissingistrueI referenced these Youtube walkthroughs from 2011:
And then I filled in the remaining quest dialogue from the OSRS wiki. Two notable differences:
Modern versions have him shouting one thing and attacking, and the player doesn't respond:
I went with the older version, of course.
Added generic
Crates.ktto mimicBoxes.kt. Future crate-specific search functionality can go in here.