gemwarrior 0.15.1 → 0.15.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2cf065fa4c0e9564a627c3ce4cf75b9ffff0f1b9
4
- data.tar.gz: cdbe3d70715d1681f14578fa2ef9823a09f9dd6c
3
+ metadata.gz: 863f3657cde113ee4b7c5dbbb045a4cdc5fe7077
4
+ data.tar.gz: cd06e19a9fa199b07afe772180611bf5c9745068
5
5
  SHA512:
6
- metadata.gz: 8e71c30f11de78dc95ce694381cce617f7ff4022a7ff172bc81663111cb3a6c656d50b03fd85ab51c8d56874a50b69454a12a8dc994d49ee6c6d8d5ed42f890f
7
- data.tar.gz: a6fcb8ea07fa73b489e69f6fbba6d9027153f5e3fc344433bae76dd1a34aefc5277545128ecde7b10a2cb212aef50631367362ee170978e923cabfd4f40bc440
6
+ metadata.gz: 44a4fb551d5731c317aaa8d08cd44e3aab838258c7b69d46d5cb42f016f9e954740989b01d65784de70fe7d543881ad8606b354fc5e47c1910373d399c8c3037
7
+ data.tar.gz: c19b4794e439a5f11f4d707fc40cfa79d476a7c08c65f12b4b6eb60327e0783f6b003895fc79d837acbadcb4f9166cafc5dedca97368f17c92e166730af58d64
File without changes
@@ -14,7 +14,7 @@ module Gemwarrior
14
14
 
15
15
  GO_PARAMS = 'Options: north, east, south, west'
16
16
  CHANGE_PARAMS = 'Options: name'
17
- DEBUG_LIST_PARAMS = 'Options: players, creatures, items, locations, monsters, weapons'
17
+ DEBUG_LIST_PARAMS = 'Options: players, creatures, items, locations, monsters, weapons, armor'
18
18
  DEBUG_STAT_PARAMS = 'Options: hp_cur, atk_lo, atk_hi, experience, rox, strength, dexterity, defense, inventory'
19
19
 
20
20
  ERROR_COMMAND_INVALID = 'That is not something the game yet understands.'
@@ -2,5 +2,5 @@
2
2
  # Version of Gem Warrior
3
3
 
4
4
  module Gemwarrior
5
- VERSION = '0.15.1'
5
+ VERSION = '0.15.2'
6
6
  end
@@ -197,6 +197,14 @@ module Gemwarrior
197
197
  else
198
198
  ">> weapons: #{GameWeapons.data.map(&:name).join(', ')}"
199
199
  end
200
+ when 'armor'
201
+ puts "[ARMOR](#{GameArmor.data.length})".colorize(:yellow)
202
+ if details
203
+ GameArmor.data.map { |w| print w.describe_detailed }
204
+ return
205
+ else
206
+ ">> armor: #{GameArmor.data.map(&:name).join(', ')}"
207
+ end
200
208
  else
201
209
  ERROR_LIST_PARAM_INVALID
202
210
  end
@@ -210,6 +218,7 @@ module Gemwarrior
210
218
  puts "#{list('creatures', show_details)}\n\n"
211
219
  puts "#{list('monsters', show_details)}\n\n"
212
220
  puts "#{list('items', show_details)}\n\n"
221
+ puts "#{list('armor', show_details)}\n\n"
213
222
  puts "#{list('weapons', show_details)}\n\n"
214
223
  puts "#{list('locations', show_details)}\n"
215
224
  puts
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.15.1
4
+ version: 0.15.2
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-09-29 00:00:00.000000000 Z
11
+ date: 2015-09-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: os
@@ -367,6 +367,4 @@ rubygems_version: 2.4.8
367
367
  signing_key:
368
368
  specification_version: 4
369
369
  summary: RubyGem text adventure
370
- test_files:
371
- - spec/gemwarrior_spec.rb
372
- - spec/spec_helper.rb
370
+ test_files: []