-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
shifty_woman has a quest associated with her now and the sand_jewel i…
…tem has been added to the game; she will now appear at the beginning of the emerald fight if you've given her what she wants (but that encounter needs work); added debug command to see and change world instance_variables; bug fixes
- Loading branch information
1 parent
04f7d31
commit 4c47e5d
Showing
10 changed files
with
237 additions
and
88 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# lib/gemwarrior/entities/items/sand_jewel.rb | ||
# Entity::Item::SandJewel | ||
|
||
require_relative '../item' | ||
|
||
module Gemwarrior | ||
class SandJewel < Item | ||
def initialize | ||
super | ||
|
||
self.name = 'sand_jewel' | ||
self.name_display = 'Sand Jewel' | ||
self.description = 'As blue (or is it violet? or brown?) as it is brittle, this shiny rock feels warm to the touch.' | ||
end | ||
|
||
def use(world) | ||
puts 'You lift the sand jewel to the sky; rays of sunlight refract through it and nearly blind you.' | ||
{ type: nil, data: nil } | ||
end | ||
end | ||
end |
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.