Skip to content

Commit

Permalink
fix: several coordinate tweaks to improve scripts reliability
Browse files Browse the repository at this point in the history
  • Loading branch information
Torwent committed Feb 12, 2024
1 parent ad8e0bc commit fc40112
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion osr/walker/objects/rsmonsters.simba
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ begin

with Self.Kurask do
begin
Setup([90, 60], 6, [[2504, 3292], [2467, 3181]]);
Setup([90, 60, 65, 75], 6, [[2504, 3292], [2467, 3181], [3498, 2981], [3341, 3055]]);
Setup('Kurask');
UpText += 'King kurask';
Finder.Colors += CTS2(1336175, 21, 0.31, 1.50);
Expand Down
6 changes: 3 additions & 3 deletions osr/walker/waspweb.graph

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tools/monster_maker.simba
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ begin

if j <= 100 then
begin
j := tpa.IndexOf(tmp[1]);
j := tpa.Find(tmp[1]);
tpa.Insert(p, j);
Self.ShapeArray[i].Polygon := tpa;

Expand Down
7 changes: 5 additions & 2 deletions utils/rsregions/rsregions.simba
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ type
EVIL_CHICKEN_LAIR: TBox;
FEROX_ENCLAVE: TBox;
FOUNTAIN_OF_RUNE: TBox;
SKOTIZO: TBox;
end;

var
Expand All @@ -126,7 +127,7 @@ begin
RSRegions.BLAST_FURNACE := [10308, 1406, 10559, 1642];
RSRegions.BRIMHAVEN_DUNGEON := [1272, 4050, 1930, 4960];
RSRegions.CASTLE_WARS := [4628, 3838, 5312, 4420];
RSRegions.CATACOMBS_OF_KOUREND := [0, 2721, 966, 3409];
RSRegions.CATACOMBS_OF_KOUREND := [0, 2740, 685, 3366];
RSRegions.CATHERBY := [6495, 2463, 6910, 2850];
RSRegions.CHASM_OF_FIRE := [0, 0, 397, 906];
RSRegions.CORSAIR_COVE := [5077, 4605, 5827, 5355];
Expand Down Expand Up @@ -221,6 +222,7 @@ begin
RSRegions.EVIL_CHICKEN_LAIR := [10156, 4116, 10553, 4494];
RSRegions.FEROX_ENCLAVE := [7803, 1782, 8097, 2062];
RSRegions.FOUNTAIN_OF_RUNE := [8364, 624, 9062, 1575];
RSRegions.SKOTIZO := [655, 2730, 957, 3022];

RSNamedRegionsArray := [
['Abyss', RSRegions.ABYSS],
Expand Down Expand Up @@ -327,7 +329,8 @@ begin
['Ungael', RSRegions.UNGAEL],
['Evil Chicken Lair', RSRegions.EVIL_CHICKEN_LAIR],
['Ferox Enclave', RSRegions.FEROX_ENCLAVE],
['Fountain of Rune', RSRegions.FOUNTAIN_OF_RUNE]
['Fountain of Rune', RSRegions.FOUNTAIN_OF_RUNE],
['Skotizo', RSRegions.SKOTIZO]
];

RSBankRegions.Setup();
Expand Down

0 comments on commit fc40112

Please sign in to comment.