Skip to content
This repository was archived by the owner on Oct 14, 2025. It is now read-only.

Commit f5d2fd6

Browse files
authored
fix(content): Loc Axis check on sheepherder gate (#1751)
fix(content): Loc Axis check on sherpherder gate
1 parent 5eaa06c commit f5d2fd6

1 file changed

Lines changed: 10 additions & 8 deletions

File tree

data/src/scripts/quests/quest_sheepherder/scripts/locs/sheepherder_gate.rs2

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
[oploc1,_sheepherder_gate]
2-
if (%sheepherder_progress = ^sheepherder_not_started) {
3-
~mesbox("This is a restricted area.|You cannot enter without protective clothing.");
4-
return;
5-
}
2+
if(~check_axis(coord, loc_coord, loc_angle) = true) {
3+
if (%sheepherder_progress = ^sheepherder_not_started) {
4+
~mesbox("This is a restricted area.|You cannot enter without protective clothing.");
5+
return;
6+
}
67

7-
if (%sheepherder_progress > ^sheepherder_not_started
8-
& (inv_total(worn, plague_jacket) < 1 | inv_total(worn, plague_trousers) < 1)) {
9-
~chatplayer("<p,neutral>It doesn't look very safe in there. I'm not going in without decent protective clothing.");
10-
return;
8+
if (%sheepherder_progress > ^sheepherder_not_started
9+
& (inv_total(worn, plague_jacket) < 1 | inv_total(worn, plague_trousers) < 1)) {
10+
~chatplayer("<p,neutral>It doesn't look very safe in there. I'm not going in without decent protective clothing.");
11+
return;
12+
}
1113
}
1214

1315
if(coordx(coord) <= coordx(loc_coord)) {

0 commit comments

Comments
 (0)