This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
program new; | |
{$DEFINE SRL_USE_REMOTEINPUT} | |
{$I SRL/osr.simba} | |
(* | |
This solution assumes that you have an anchor that is either perpendicular or parallel to the door | |
(it's either in the angle of facing the closed door, or it's facing the open door) | |
// | |
//| |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{$I SRL-T/osr.simba} | |
{$I WaspLib/osr.simba} | |
procedure quickprayerselector; | |
var | |
OldSelected: array of ERSPrayer; | |
DesiredPrayer: ERSPrayer; | |
i: Integer; | |
Match: Boolean; | |
begin | |
QuickPrayer.Open; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
program new; | |
{$DEFINE SRL_USE_REMOTEINPUT} | |
{$I SRL/osr.simba} | |
(* | |
This solution assumes that you have an anchor that is either perpendicular or parallel to the door | |
So it's either in the angle of facing the closed door, or it's facing the open door. | |
Concept: | |
Find the door, and find an object which we call anchor, in this case it's a black ledger |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{$I SRL-T/osr.simba} | |
{$I WaspLib/osr.simba} | |
const | |
HeadName = 'Ensouled bloodveld head'; | |
function EnsouledHeadHandler: ERSSpell; | |
begin | |
case HeadName of | |
'Ensouled goblin head', 'Ensouled monkey head', 'Ensouled imp head ', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{$I SRL-T/osr.simba} | |
{$I WaspLib/osr.simba} | |
var | |
RSW: TRSWalker; | |
StartTile: TPoint; | |
X: Int32; | |
MyPos := RSW.GetMyPos; | |
const |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{$I SRL-T/osr.simba} | |
{$I WaspLib/osr.simba} | |
function RandomizePath(const Path: TPointArray; Range: Integer): TPointArray; | |
var | |
i: Integer; | |
randomValue: Integer; | |
begin | |
// Initialize the result with the same length as the input path | |
SetLength(Result, Length(Path)); |