gemwarrior 0.9.28 → 0.9.30
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/data/locations.yml +142 -18
- data/lib/gemwarrior/battle.rb +2 -2
- data/lib/gemwarrior/evaluator.rb +3 -3
- 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: c8e9cee8573acb0083872daea6e2285fa9eafa21
|
4
|
+
data.tar.gz: 62ec64e460eecf46151034bbf589e5d0f9589a97
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 18176880eaf8310d89e910ee8e0356239815b88a7dbb7a2a5b251c0cbc03e486b1502fe202cfdc9bc6c524a0305713bbbbbba741eb2f341ebc7fc71acd7638d4
|
7
|
+
data.tar.gz: d2acbc2cfd2fa3a4b55ff2735a40c2a4981a1013c2c8e1e498c1017d1b0e0bca984366ea5616ec24e1abb9936ccd5fc84910aae6cbf814a3fdbc063eec423b13
|
data/data/locations.yml
CHANGED
@@ -221,7 +221,7 @@
|
|
221
221
|
north: true
|
222
222
|
east: true
|
223
223
|
south: false
|
224
|
-
west:
|
224
|
+
west: true
|
225
225
|
monster_level_range:
|
226
226
|
lo: 3
|
227
227
|
hi: 4
|
@@ -746,7 +746,7 @@
|
|
746
746
|
|
747
747
|
-
|
748
748
|
name: 'Plains (Arena Entrance)'
|
749
|
-
description: 'Well above the noise of the raging river nearby, the din of the mighty Arena reaches its near fever-pitch just outside. The door, and battle, beckons.'
|
749
|
+
description: 'Well above the noise of the raging river nearby, the din of the mighty Arena to the east reaches its near fever-pitch just outside. The door, and battle, beckons.'
|
750
750
|
danger_level: :low
|
751
751
|
coords:
|
752
752
|
x: 7
|
@@ -822,14 +822,14 @@
|
|
822
822
|
north: true
|
823
823
|
east: false
|
824
824
|
south: true
|
825
|
-
west:
|
825
|
+
west: false
|
826
826
|
monster_level_range:
|
827
827
|
lo: 3
|
828
828
|
hi: 5
|
829
829
|
|
830
830
|
-
|
831
831
|
name: 'Plains (North of Bridge)'
|
832
|
-
description: 'North of the river feels similar to south of the river, as you continue to be surrounded by grass and grass and, well, grass.'
|
832
|
+
description: 'North of the river feels similar to south of the river, as you continue to be surrounded by grass and grass and, well, grass. A path to the east stretches out into a valley.'
|
833
833
|
danger_level: :low
|
834
834
|
coords:
|
835
835
|
x: 4
|
@@ -837,13 +837,137 @@
|
|
837
837
|
z: 0
|
838
838
|
locs_connected:
|
839
839
|
north: false
|
840
|
-
east:
|
840
|
+
east: true
|
841
841
|
south: true
|
842
|
-
west:
|
842
|
+
west: true
|
843
|
+
monster_level_range:
|
844
|
+
lo: 2
|
845
|
+
hi: 3
|
846
|
+
|
847
|
+
-
|
848
|
+
name: 'Peridover Valley (Outskirts)'
|
849
|
+
description: 'The road slopes down slightly here, but in the near distance you can see that it slopes way more slopily.'
|
850
|
+
danger_level: :low
|
851
|
+
coords:
|
852
|
+
x: 5
|
853
|
+
y: 5
|
854
|
+
z: 0
|
855
|
+
locs_connected:
|
856
|
+
north: false
|
857
|
+
east: true
|
858
|
+
south: false
|
859
|
+
west: true
|
843
860
|
monster_level_range:
|
844
861
|
lo: 2
|
845
862
|
hi: 3
|
846
863
|
|
864
|
+
-
|
865
|
+
name: 'Peridover Valley (Central)'
|
866
|
+
description: 'The Peridover Valley is in full effect here, sloping down into a reverse plateau. Bones of wild animals litter the area.'
|
867
|
+
danger_level: :moderate
|
868
|
+
coords:
|
869
|
+
x: 6
|
870
|
+
y: 5
|
871
|
+
z: 0
|
872
|
+
locs_connected:
|
873
|
+
north: false
|
874
|
+
east: true
|
875
|
+
south: false
|
876
|
+
west: true
|
877
|
+
monster_level_range:
|
878
|
+
lo: 3
|
879
|
+
hi: 4
|
880
|
+
|
881
|
+
-
|
882
|
+
name: 'Peridover Valley (Outskirts)'
|
883
|
+
description: 'Sloping way down to the west, but leveling off here, a din of civilization calls from the north.'
|
884
|
+
danger_level: :low
|
885
|
+
coords:
|
886
|
+
x: 7
|
887
|
+
y: 5
|
888
|
+
z: 0
|
889
|
+
locs_connected:
|
890
|
+
north: true
|
891
|
+
east: false
|
892
|
+
south: false
|
893
|
+
west: true
|
894
|
+
monster_level_range:
|
895
|
+
lo: 2
|
896
|
+
hi: 3
|
897
|
+
|
898
|
+
-
|
899
|
+
name: 'South of Spinelia'
|
900
|
+
description: 'Northwardly, you can hear general town noise, such as people scuffling, nattering, and more or less existing in a people kind of way.'
|
901
|
+
danger_level: :low
|
902
|
+
coords:
|
903
|
+
x: 7
|
904
|
+
y: 6
|
905
|
+
z: 0
|
906
|
+
locs_connected:
|
907
|
+
north: true
|
908
|
+
east: false
|
909
|
+
south: true
|
910
|
+
west: false
|
911
|
+
monster_level_range:
|
912
|
+
lo: 1
|
913
|
+
hi: 2
|
914
|
+
|
915
|
+
-
|
916
|
+
name: 'Spinelia (Southwest)'
|
917
|
+
description: 'Near the front entrance to Spinelia is the market corner. Merchants are all around, hawking wares and giving those nearby walking stares.'
|
918
|
+
danger_level: :none
|
919
|
+
coords:
|
920
|
+
x: 7
|
921
|
+
y: 7
|
922
|
+
z: 0
|
923
|
+
locs_connected:
|
924
|
+
north: true
|
925
|
+
east: true
|
926
|
+
south: true
|
927
|
+
west: false
|
928
|
+
|
929
|
+
-
|
930
|
+
name: 'Spinelia (Southeast)'
|
931
|
+
description: 'The southeast of Spinelia contains a bunch of people, just kind of hanging out.'
|
932
|
+
danger_level: :none
|
933
|
+
coords:
|
934
|
+
x: 8
|
935
|
+
y: 7
|
936
|
+
z: 0
|
937
|
+
locs_connected:
|
938
|
+
north: true
|
939
|
+
east: false
|
940
|
+
south: false
|
941
|
+
west: true
|
942
|
+
|
943
|
+
-
|
944
|
+
name: 'Spinelia (Northeast)'
|
945
|
+
description: 'Northeasternly speaking, Spinelia contains a pen with a few animals calmly eating food, and not really having much impact on their environment.'
|
946
|
+
danger_level: :none
|
947
|
+
coords:
|
948
|
+
x: 8
|
949
|
+
y: 8
|
950
|
+
z: 0
|
951
|
+
locs_connected:
|
952
|
+
north: false
|
953
|
+
east: false
|
954
|
+
south: true
|
955
|
+
west: true
|
956
|
+
|
957
|
+
-
|
958
|
+
name: 'Spinelia (Northwest)'
|
959
|
+
description: 'Residences line the northwest corner of Spinela, each one similar to each other, made of granite and stone, featuring a single window and a single door. One particular house''s hallmark appears to be a rather fanciful woman leaning on its facade, looking shifty.'
|
960
|
+
danger_level: :none
|
961
|
+
coords:
|
962
|
+
x: 7
|
963
|
+
y: 8
|
964
|
+
z: 0
|
965
|
+
locs_connected:
|
966
|
+
north: false
|
967
|
+
east: true
|
968
|
+
south: true
|
969
|
+
west: false
|
970
|
+
|
847
971
|
-
|
848
972
|
name: 'Rock Piles'
|
849
973
|
description: 'Piles of rocks, both big and small, are placed here and there, a testament to someone''s surely back-breaking labor.'
|
@@ -856,7 +980,7 @@
|
|
856
980
|
north: false
|
857
981
|
east: true
|
858
982
|
south: false
|
859
|
-
west: false
|
983
|
+
west: false
|
860
984
|
monster_level_range:
|
861
985
|
lo: 3
|
862
986
|
hi: 4
|
@@ -871,12 +995,12 @@
|
|
871
995
|
coords:
|
872
996
|
x: 8
|
873
997
|
y: 6
|
874
|
-
z:
|
998
|
+
z: 1
|
875
999
|
locs_connected:
|
876
1000
|
north: true
|
877
1001
|
east: true
|
878
1002
|
south: false
|
879
|
-
west: true
|
1003
|
+
west: true
|
880
1004
|
monster_level_range:
|
881
1005
|
lo: 3
|
882
1006
|
hi: 4
|
@@ -890,7 +1014,7 @@
|
|
890
1014
|
coords:
|
891
1015
|
x: 8
|
892
1016
|
y: 7
|
893
|
-
z:
|
1017
|
+
z: 1
|
894
1018
|
locs_connected:
|
895
1019
|
north: false
|
896
1020
|
east: false
|
@@ -911,7 +1035,7 @@
|
|
911
1035
|
coords:
|
912
1036
|
x: 7
|
913
1037
|
y: 6
|
914
|
-
z:
|
1038
|
+
z: 1
|
915
1039
|
locs_connected:
|
916
1040
|
north: true
|
917
1041
|
east: true
|
@@ -930,7 +1054,7 @@
|
|
930
1054
|
coords:
|
931
1055
|
x: 7
|
932
1056
|
y: 7
|
933
|
-
z:
|
1057
|
+
z: 1
|
934
1058
|
locs_connected:
|
935
1059
|
north: true
|
936
1060
|
east: false
|
@@ -947,7 +1071,7 @@
|
|
947
1071
|
coords:
|
948
1072
|
x: 7
|
949
1073
|
y: 8
|
950
|
-
z:
|
1074
|
+
z: 1
|
951
1075
|
locs_connected:
|
952
1076
|
north: true
|
953
1077
|
east: true
|
@@ -966,7 +1090,7 @@
|
|
966
1090
|
coords:
|
967
1091
|
x: 8
|
968
1092
|
y: 8
|
969
|
-
z:
|
1093
|
+
z: 1
|
970
1094
|
locs_connected:
|
971
1095
|
north: false
|
972
1096
|
east: true
|
@@ -985,7 +1109,7 @@
|
|
985
1109
|
coords:
|
986
1110
|
x: 8
|
987
1111
|
y: 9
|
988
|
-
z:
|
1112
|
+
z: 1
|
989
1113
|
locs_connected:
|
990
1114
|
north: false
|
991
1115
|
east: false
|
@@ -1006,7 +1130,7 @@
|
|
1006
1130
|
coords:
|
1007
1131
|
x: 9
|
1008
1132
|
y: 8
|
1009
|
-
z:
|
1133
|
+
z: 1
|
1010
1134
|
locs_connected:
|
1011
1135
|
north: false
|
1012
1136
|
east: false
|
@@ -1025,7 +1149,7 @@
|
|
1025
1149
|
coords:
|
1026
1150
|
x: 9
|
1027
1151
|
y: 7
|
1028
|
-
z:
|
1152
|
+
z: 1
|
1029
1153
|
locs_connected:
|
1030
1154
|
north: true
|
1031
1155
|
east: false
|
@@ -1042,7 +1166,7 @@
|
|
1042
1166
|
coords:
|
1043
1167
|
x: 9
|
1044
1168
|
y: 6
|
1045
|
-
z:
|
1169
|
+
z: 1
|
1046
1170
|
locs_connected:
|
1047
1171
|
north: true
|
1048
1172
|
east: false
|
data/lib/gemwarrior/battle.rb
CHANGED
@@ -296,7 +296,7 @@ module Gemwarrior
|
|
296
296
|
puts " XP : #{monster.xp}".colorize(:green)
|
297
297
|
puts " ROX: #{monster.rox}".colorize(:green)
|
298
298
|
print_battle_line
|
299
|
-
player.update_stats(reason: monster, value: monster)
|
299
|
+
player.update_stats(reason: :monster, value: monster)
|
300
300
|
world.location_by_coords(player.cur_coords).remove_monster(monster.name)
|
301
301
|
end
|
302
302
|
else
|
@@ -307,7 +307,7 @@ module Gemwarrior
|
|
307
307
|
puts " ITEMS: #{monster.inventory.list_contents}".colorize(:green) unless monster.inventory.items.empty?
|
308
308
|
end
|
309
309
|
print_battle_line
|
310
|
-
player.update_stats(reason: monster, value: monster)
|
310
|
+
player.update_stats(reason: :monster, value: monster)
|
311
311
|
world.location_by_coords(player.cur_coords).remove_monster(monster.name)
|
312
312
|
end
|
313
313
|
end
|
data/lib/gemwarrior/evaluator.rb
CHANGED
@@ -50,8 +50,8 @@ module Gemwarrior
|
|
50
50
|
self.world = world
|
51
51
|
|
52
52
|
self.devcommands = %w(god beast list vars map stat teleport spawn levelbump restfight)
|
53
|
-
self.devaliases = %w(gd bs ls v m
|
54
|
-
self.devextras = %w(
|
53
|
+
self.devaliases = %w(gd bs ls v m st tp sp lb rf)
|
54
|
+
self.devextras = %w()
|
55
55
|
self.devcmd_descriptions = [
|
56
56
|
'Toggle god mode (i.e. invincible)',
|
57
57
|
'Toggle beast mode (i.e. super strength)',
|
@@ -127,7 +127,7 @@ module Gemwarrior
|
|
127
127
|
end
|
128
128
|
when 'map', 'm'
|
129
129
|
world.print_map(param1)
|
130
|
-
when 'stat', 'st'
|
130
|
+
when 'stat', 'st'
|
131
131
|
if param1.nil?
|
132
132
|
puts ERROR_DEBUG_STAT_PARAM_MISSING
|
133
133
|
return DEBUG_STAT_PARAMS
|
data/lib/gemwarrior/version.rb
CHANGED