Keeps the repo root clean - only README.md visible on landing page. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
37 lines
796 B
C#
37 lines
796 B
C#
var area1 = new Area((4, 25), (6, 27));
|
|
var area2 = new Area((8, 13), (11, 16));
|
|
var area3 = new Area((11, 22), (13, 24));
|
|
var area4 = new Area((21, 20), (23, 22));
|
|
var area5 = new Area((20, 8), (22, 10));
|
|
|
|
var area6 = new Area((15, 17), (15, 17));
|
|
|
|
var area7 = new Area((7, 22), (7, 22));
|
|
|
|
while (Run) {
|
|
var location = Self?.Location ?? default;
|
|
|
|
if (area1.Contains(location) || area2.Contains(location) || area3.Contains(location) || area4.Contains(location) || area5.Contains(location)) {
|
|
Talk(":exit");
|
|
Delay(500);
|
|
|
|
|
|
}
|
|
else if
|
|
(area6.Contains(location)){
|
|
Send(Out["EnterOneWayDoor"],250073616);
|
|
Delay(50);
|
|
}
|
|
|
|
else if
|
|
(area7.Contains(location)){
|
|
Move(16,6);
|
|
Delay(1600);
|
|
}
|
|
|
|
else
|
|
Move(7,22);
|
|
Delay(1600);
|
|
}
|
|
|