gemwarrior 0.9.35 → 0.9.36

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: fc7bbe78afbe9851724a0e8407e87531e6bde82b
4
- data.tar.gz: d7e658ba14076615e4bb4f17cfce0845a3373a5c
3
+ metadata.gz: 2aea546b78bf2cba84a7ecd3e059c892dc180ae1
4
+ data.tar.gz: 1a55c01aed90707d339fef86724e8727906134e5
5
5
  SHA512:
6
- metadata.gz: 29f39b6e22047dbe11d9bcb90fa7c8ac71799fa76dc972e3be9302d615f9e861767571083392991e4aae7fbc33a47be01d8cfc4109423ee5d93dce825ea9dd7a
7
- data.tar.gz: 51c9317fc21bb2363c990862d591ae649d0037271ff2286efa3f310226f869e4aced2396f0ee45a3074bfea811b66213bcd5095ac80634f536ea0391e9c6fb2a
6
+ metadata.gz: c0996702785d7da641fe4d0c88551f8dc73daec3b68307e5fb5e8aa73e213c88a1b04845199af9681c853067ad35aec1a40d1fc83803586570e3c3c9c2c42a88
7
+ data.tar.gz: 12bb7240e97fbb57857e89abc733ebeb2c23a0c7d6afca227204d48bbc04f3da9400e1133b5f9793008c574afd6dfc2f19a6a61554ae00556acb55a7b15f1d11
@@ -51,7 +51,7 @@ module Gemwarrior
51
51
  self.world = world
52
52
 
53
53
  self.devcommands = %w(god beast list vars map stat teleport spawn levelbump restfight)
54
- self.devaliases = %w(gd bs ls v m st tp sp lb rf)
54
+ self.devaliases = %w(gd bs ls vs m st tp sp lb rf)
55
55
  self.devextras = %w()
56
56
  self.devcmd_descriptions = [
57
57
  'Toggle god mode (i.e. invincible)',
@@ -66,9 +66,9 @@ module Gemwarrior
66
66
  'Rest, but ensure battle for testing'
67
67
  ]
68
68
 
69
- self.commands = %w(character inventory rest look take use drop equip unequip go north east south west attack change help quit quit!)
70
- self.aliases = %w(c i r l t u d eq ue g n e s w a ch h q qq)
71
- self.extras = %w(exit exit! x xx fight f)
69
+ self.commands = %w(character inventory rest look take use drop equip unequip go north east south west attack change version help quit quit!)
70
+ self.aliases = %w(c i r l t u d eq ue g n e s w a ch v h q qq)
71
+ self.extras = %w(exit exit! x xx fight f ? ?? ???)
72
72
  self.cmd_descriptions = [
73
73
  'Display character information',
74
74
  'Look in your inventory',
@@ -86,6 +86,7 @@ module Gemwarrior
86
86
  'Go west (shortcut)',
87
87
  'Attack a monster',
88
88
  'Change something',
89
+ 'Display game version',
89
90
  'This help menu',
90
91
  'Quit w/ confirmation (also exit/x)',
91
92
  'Quit w/o confirmation (also exit!/xx)'
@@ -117,7 +118,7 @@ module Gemwarrior
117
118
  return GameOptions.data['god_mode'] = !GameOptions.data['god_mode']
118
119
  when 'beast', 'bs'
119
120
  return GameOptions.data['beast_mode'] = !GameOptions.data['beast_mode']
120
- when 'vars', 'v'
121
+ when 'vars', 'vs'
121
122
  world.print_vars
122
123
  when 'list', 'ls'
123
124
  if param1.nil?
@@ -519,8 +520,10 @@ module Gemwarrior
519
520
  ERROR_CHANGE_PARAM_INVALID
520
521
  end
521
522
  end
522
- when 'help', 'h'
523
+ when 'help', 'h', '?', '??', '???'
523
524
  list_commands
525
+ when 'version', 'v'
526
+ Gemwarrior::VERSION
524
527
  when 'quit', 'exit', 'q', 'x'
525
528
  puts 'You sure you want to quit? (y/n): '
526
529
  response = gets.chomp.downcase
@@ -2,5 +2,5 @@
2
2
  # Version of Gem Warrior
3
3
 
4
4
  module Gemwarrior
5
- VERSION = '0.9.35'
5
+ VERSION = '0.9.36'
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gemwarrior
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.35
4
+ version: 0.9.36
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Chadwick