amar-tui 2.0.0 → 2.0.1

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
  SHA256:
3
- metadata.gz: d28d42499aa8df4a0a2a6f62ab64d7bfec665d48e701b3fb7c074ee4f32cbca6
4
- data.tar.gz: 060c895d35474417f11377a2a9c724eb1f84c67c2120f145392701fd11313da0
3
+ metadata.gz: a67eb6289ef076bc5eab894c27facb2bcee7b3fa33147fd25052f28e454821a5
4
+ data.tar.gz: 0333d1493fafb897b6f265a6a61bc0e84f65400dad9ad48ecb2fa1089af24eae
5
5
  SHA512:
6
- metadata.gz: '08be97a101529689d81fa37c542d51a075b39bd4db842f3365d55958ef7a330366fd8d31306b6cbed3581797a68cc1e993efb23d5a2064af7ffd041e43600e1b'
7
- data.tar.gz: 3f6bc67d121048a8208101d9b9bb01be60554e706ae054974b1d8609eeda466cec9c54c72e9ab3d42d09a9df0fcec2716979430837c3787691968cd49d6d10ee
6
+ metadata.gz: 5a3002d48151082304a07a24006914ee16a7b18765f3b4737d8484cf12a531f1eeb071486192a8d3db6cb0160a18bb5602145cfb6b7e4478bc258bc05687fe18
7
+ data.tar.gz: b1db41b04eaa9907e3d7b291a0f7ca19e6dfcaa8049c697494e09c54d21f9857d37238fb031c064c4d4c2ad1bc8d69dac6636eb5f64a9cb843b6fae02a950475
data/README.md CHANGED
@@ -7,6 +7,11 @@
7
7
 
8
8
  <img src="images/amarcover.jpg" align="left" width="150" height="150"> Welcome to the swiss army knife for the Amar Role-Playing Game (http://d6gaming.org).
9
9
 
10
+ ## Version 2.0 Released!
11
+
12
+ Complete rewrite with both Terminal User Interface (TUI) and Web interface.
13
+ Install the gem with `gem install amar-tui` and run with `amar-tui`.
14
+
10
15
  This program suite runs on any GNU/Linux system where the scripting
11
16
  language Ruby is installed. Ruby is available as tar.gz, rpm packages or
12
17
  deb-packages as needed for your specific Linux distribution. For more info
@@ -15,7 +20,7 @@ on Ruby, see http://www.ruby-lang.org.
15
20
  This tool box for the Amar RPG is designed for generating random
16
21
  or specific encounters and Non-Player Characters for the Amar RPG, random
17
22
  settlements and relationship maps for inhabitants of villages/towns/cities
18
- as well as random names for various races and for making Open Ended Dice Rolls.
23
+ as well as random names for various races and for making Open Ended Dice Rolls.
19
24
 
20
25
  In order to make real use of this program, you should be running an Amar
21
26
  game as the Game Master.
@@ -23,7 +28,7 @@ game as the Game Master.
23
28
  For more info on the Amar RPG, game rules, adventures and more, see
24
29
  http://www.d6gaming.org/.
25
30
 
26
- For an online version of this program, go to http://isene.org
31
+ For an online version of this program, go to https://isene.com/amar3.html
27
32
 
28
33
  ## Requirements
29
34
  GraphViz is a requirement for generating relationship maps for towns and
data/amar-tui.rb CHANGED
@@ -60,7 +60,7 @@ require 'stringio' # For suppressing output
60
60
  require 'fcntl' # For non-blocking IO
61
61
 
62
62
  # GLOBAL VARS & CONSTANTS
63
- @version = "1.0.0"
63
+ @version = "2.0.1"
64
64
  $pgmdir = File.dirname(__FILE__) # Global for includes
65
65
 
66
66
  # Debug logging
@@ -787,7 +787,7 @@ class NpcNew
787
787
  get_skill_total("BODY", "Missile Combat", "Sling")
788
788
  when /javelin/
789
789
  get_skill_total("BODY", "Missile Combat", "Javelin")
790
- when /rock|stone|throwing/
790
+ when /rock|stone|throwing|th\s|knife/
791
791
  get_skill_total("BODY", "Missile Combat", "Throwing")
792
792
  else
793
793
  get_skill_total("BODY", "Missile Combat", "Bow") || 0
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: amar-tui
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Geir Isene
8
8
  autorequire:
9
9
  bindir: "."
10
10
  cert_chain: []
11
- date: 2025-09-30 00:00:00.000000000 Z
11
+ date: 2025-10-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rcurses
@@ -122,9 +122,9 @@ metadata:
122
122
  changelog_uri: https://github.com/isene/Amar-Tools/blob/master/README.md
123
123
  post_install_message: |2+
124
124
 
125
- ========================================
126
- AMAR Tools TUI v2.0 has been installed!
127
- ========================================
125
+ ==========================================
126
+ AMAR Tools TUI v2.0.1 has been installed!
127
+ ==========================================
128
128
 
129
129
  To start the TUI application:
130
130
  amar-tui.rb