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 +4 -4
- data/lib/gemwarrior/repl.rb +5 -1
- data/lib/gemwarrior/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1697e1d764121074f811ef07f649cc4420f13cc6
|
|
4
|
+
data.tar.gz: 556ea5a82a3d6fc851fc0fcf31d763e5614b6502
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 68d56bd71a1a8b4f37ba352d3074fedbec91a1e10e559f490675064d0cc0ff2c0928138c0847350a83cf421c131df4520040c985043c97d068ceb0226ae5dc31
|
|
7
|
+
data.tar.gz: 5131706a624149a4e61b370d7372248605be282eb293fecd8472aad8a49881090309c9fd05ba9121b1b9e0207205f2634afd04b332e5e34fbcc3b8fe9bef3c6e
|
data/lib/gemwarrior/repl.rb
CHANGED
|
@@ -458,7 +458,7 @@ module Gemwarrior
|
|
|
458
458
|
|
|
459
459
|
# main menu loop until new game or exit
|
|
460
460
|
if new_skip
|
|
461
|
-
|
|
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)
|
data/lib/gemwarrior/version.rb
CHANGED