gemwarrior 0.11.2 → 0.11.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/bin/gemwarrior +0 -0
- data/lib/gemwarrior/entities/items/letter.rb +3 -3
- data/lib/gemwarrior/entities/items/massive_door.rb +1 -1
- data/lib/gemwarrior/entities/items/pedestal.rb +1 -1
- data/lib/gemwarrior/entities/items/throne.rb +1 -1
- data/lib/gemwarrior/version.rb +1 -1
- metadata +5 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ff35de47a9f877b43b572d96e0150954a325866f
|
|
4
|
+
data.tar.gz: 0a7b3a7b0d34bf995d36fb9a8da772775aaeab68
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0ea3e8245aa441bcb89ccbf6d823b4eecc98f3811a8b5326726822b91479a4baf3e5681e550a4018cfb438f4fc270be47a79502d5264fcaf36fe24e11c49f19b
|
|
7
|
+
data.tar.gz: dc9b22fc21a7259fbeb4b4e093ff31dcbe16b65b597b3015b52ed1d4da344a4099811db8e0f7d673a0c6fe6b2e3e62b3c24401b9a4711958d50709c1976d3a2d
|
data/bin/gemwarrior
CHANGED
|
File without changes
|
|
@@ -22,20 +22,20 @@ module Gemwarrior
|
|
|
22
22
|
case answer
|
|
23
23
|
when 'y', 'yes'
|
|
24
24
|
print "\n"
|
|
25
|
-
print_letter(
|
|
25
|
+
print_letter(world)
|
|
26
26
|
else
|
|
27
27
|
{ type: nil, data: nil }
|
|
28
28
|
end
|
|
29
29
|
else
|
|
30
30
|
self.used = true
|
|
31
|
-
print_letter(
|
|
31
|
+
print_letter(world)
|
|
32
32
|
{ type: 'xp', data: 3 }
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
35
|
|
|
36
36
|
private
|
|
37
37
|
|
|
38
|
-
def print_letter(
|
|
38
|
+
def print_letter(world)
|
|
39
39
|
puts 'The words of the queen echo in your head as you read the royal note sent to you again:'
|
|
40
40
|
puts
|
|
41
41
|
Animation.run(phrase: " Dear #{world.player.name},", speed: :insane)
|
|
@@ -13,7 +13,7 @@ module Gemwarrior
|
|
|
13
13
|
self.description = 'Translucent, but not transparent, this door constructed of condensed water vapor is like nothing you have ever seen. It has no keyhole, but it does have a stone-shaped depression floating centrally within it.'
|
|
14
14
|
end
|
|
15
15
|
|
|
16
|
-
def use(
|
|
16
|
+
def use(world)
|
|
17
17
|
puts 'You attempt to open the seriously massive door that separates you from Emerald himself.'
|
|
18
18
|
if world.player.inventory.contains_item?('keystone')
|
|
19
19
|
puts 'The keystone in your inventory glows as you approach the incredibly titanic-sized door, so you naturally pull it out and thrust it into the stone-shaped depression within the cloudy obstruction. The door "opens" in a way and you can now pass through.'
|
|
@@ -96,7 +96,7 @@ module Gemwarrior
|
|
|
96
96
|
puts 'You push the large gem into the pedestal and it descends without a hitch, almost as if it were meant to be. The pedestal begins to violently shake and a strong gust of wind picks you up off the ground. You feel completely taken aback and unsettled, but you have no choice: you are being whisked away somewhere into the sky, destination unknown.'.colorize(:yellow)
|
|
97
97
|
|
|
98
98
|
# stats
|
|
99
|
-
world.player.
|
|
99
|
+
world.player.movements_made += 1
|
|
100
100
|
|
|
101
101
|
Animation.run(phrase: USE_TEXT)
|
|
102
102
|
return { type: 'move', data: 'Sky Tower (Entryway)' }
|
|
@@ -13,7 +13,7 @@ module Gemwarrior
|
|
|
13
13
|
self.description = 'Made of what appears to be unfulfilled desires and latent, flawed happiness, the well-crafted seat still looks kinda comfy. The wizard Emerald sits in it, glaring at you.'
|
|
14
14
|
end
|
|
15
15
|
|
|
16
|
-
def use
|
|
16
|
+
def use(world)
|
|
17
17
|
puts 'Your words fall on deaf chairs. Emerald continues to stare at you.'
|
|
18
18
|
{ type: nil, data: nil }
|
|
19
19
|
end
|
data/lib/gemwarrior/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: gemwarrior
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.11.
|
|
4
|
+
version: 0.11.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Michael Chadwick
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-08-
|
|
11
|
+
date: 2015-08-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: os
|
|
@@ -386,4 +386,6 @@ rubygems_version: 2.4.8
|
|
|
386
386
|
signing_key:
|
|
387
387
|
specification_version: 4
|
|
388
388
|
summary: RubyGem text adventure
|
|
389
|
-
test_files:
|
|
389
|
+
test_files:
|
|
390
|
+
- spec/gemwarrior_spec.rb
|
|
391
|
+
- spec/spec_helper.rb
|