# \[Adventurer\] Northwest

**URL:** <https://discourse.codecombat.com/t/adventurer-northwest/9458>\
**Category:** Adventurer\
**Created:** [October 26, 2016, 6:13pm UTC](https://discourse.codecombat.com/t/adventurer-northwest/9458 "2016-10-26T18:13:05Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![Harry\_the\_Wanderer](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/harry_the_wanderer/32/5369_2.png) [@Harry\_the\_Wanderer](https://discourse.codecombat.com/u/Harry_the_Wanderer)\
**Post date:** [October 30, 2016, 4:03pm UTC](https://discourse.codecombat.com/t/adventurer-northwest/9458/8 "2016-10-30T16:03:13Z")

</div>

@Bryukh finished the level without issue with my default gear for that point in the game.

When the level completed and I looked at the leaderboards it kicked me back to the world campaign selection:

 ![](https://us1.discourse-cdn.com/flex016/uploads/codecombat/original/2X/7/7dfb1362136181ae996ed4bbf89709c51f54178d.png)

I submitted a grammar patch  
I submitted a LUA patch

_note: LUA is having scoping issues so I had to create the additional function as a method on `pet` so that the other declared function could call `the pet.wordInText` function_

* * *

LUA patch information for players, go here if the patch is still in development for help with default code:

> [@LUA patches for levels in Cloudrip Mountain Campaign](https://discourse.codecombat.com/t/lua-patches-for-levels-in-cloudrip-mountain-campaign/9484):
>
> Northwest -- Your pet should find and then bring the potion to the hero. -- This new method checks if the word is in the text. pet.wordInText = function(self, text, word) -- Iterate through each character in the text. for i=1, string.len(text) - string.len(word) + 1, 1 do -- For each character in text loop through each character in word. for j=1, #word + 1, 1 do -- Store the shifted index i + j. local shiftedIndex = i + j -- If a …

---

_[View the full topic](https://discourse.codecombat.com/t/adventurer-northwest/9458)._
