gemwarrior 0.12.2 → 0.12.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d6de5ba21233c7d213dd7111739323abb331cc7d
4
- data.tar.gz: f71d96c8b7862d99d892b18f4bea174be7b5d932
3
+ metadata.gz: 1697e1d764121074f811ef07f649cc4420f13cc6
4
+ data.tar.gz: 556ea5a82a3d6fc851fc0fcf31d763e5614b6502
5
5
  SHA512:
6
- metadata.gz: e6ca8c23dac748338f3c9a4db3e3385c2d4e295890f9bb2c38d7758b9333a5674f62bbf42e8cd02e845c3eb79dfbd4298e513a434bb41bd0dbd3ab453b96f3e9
7
- data.tar.gz: 44e7684ac47d46169367689cb6d67ec912d04b59f3f7d5e79c613503fdfeaf56d5e51b465627fe744bdb035560d9398dedb9fddcf3ef8296df9f961caa9e2566
6
+ metadata.gz: 68d56bd71a1a8b4f37ba352d3074fedbec91a1e10e559f490675064d0cc0ff2c0928138c0847350a83cf421c131df4520040c985043c97d068ceb0226ae5dc31
7
+ data.tar.gz: 5131706a624149a4e61b370d7372248605be282eb293fecd8472aad8a49881090309c9fd05ba9121b1b9e0207205f2634afd04b332e5e34fbcc3b8fe9bef3c6e
@@ -458,7 +458,7 @@ module Gemwarrior
458
458
 
459
459
  # main menu loop until new game or exit
460
460
  if new_skip
461
- Audio.play_synth(:intro)
461
+ play_intro_tune
462
462
  print_splash_message
463
463
  print_fortune
464
464
  elsif resume_skip
@@ -478,6 +478,10 @@ module Gemwarrior
478
478
  puts evaluator.parse(extra_command) unless extra_command.nil?
479
479
  end
480
480
 
481
+ def play_intro_tune
482
+ Audio.play_synth(:intro)
483
+ end
484
+
481
485
  def prompt
482
486
  prompt_template = "\n"
483
487
  prompt_template += "[LV:%2s][XP:%3s][ROX:%3s] [HP:%3s/%-3s][STM:%2s/%-2s] [".colorize(:yellow)
@@ -2,5 +2,5 @@
2
2
  # Version of Gem Warrior
3
3
 
4
4
  module Gemwarrior
5
- VERSION = '0.12.2'
5
+ VERSION = '0.12.3'
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.12.2
4
+ version: 0.12.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Chadwick