Fix many issues with the Tutorial Island plugin

Amongst other things, this:
* Stops the player from trying to leave the Runescape Guide's house if
  they have yet to speak to him.
* Fixes the hint icon for both the Runescape Guide and the door.
* Ensures all files pass rubocop.
* Generally improves the code throughout the plugin.
This commit is contained in:
Major-
2016-02-13 16:26:51 +00:00
parent 9e20ecfe39
commit f83e8b3040
5 changed files with 73 additions and 30 deletions
@@ -18,7 +18,8 @@ module TutorialInstructions
when :given_axe then :viewing_items
when :cut_tree then :cut_tree
when :cutting_tree then :please_wait
else fail 'No dialogue for current stage #{progress} exists.'
else raise "No dialogue for current stage #{progress} exists."
end
dialogue = instructions.part(name)