Skip to content

Commit

Permalink
Deploying to documentation from @ 61f4d9d 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
Torwent committed Jan 25, 2024
1 parent 08fae10 commit 9174b04
Show file tree
Hide file tree
Showing 82 changed files with 4,632 additions and 4,595 deletions.
Binary file not shown.
Binary file removed .doctrees/anvil(osr_interfaces_gametabs).doctree
Binary file not shown.
Binary file modified .doctrees/anvil.doctree
Binary file not shown.
Binary file modified .doctrees/environment.pickle
Binary file not shown.
Binary file modified .doctrees/fairyring.doctree
Binary file not shown.
Binary file modified .doctrees/index.doctree
Binary file not shown.
82 changes: 82 additions & 0 deletions _sources/anvil(optional_interfaces_mainscreen).rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@

Anvil
=====


------------

Anvil.GetSlots
~~~~~~~~~~~~~~
.. code-block:: pascal
function TRSAnvil.GetSlots: TBoxArray;
Returns the all available anvil slots.

Example
-------
.. code-block:: pascal
Debug(Anvil.GetSlots());
------------

Anvil.Setup
~~~~~~~~~~~
.. code-block:: pascal
procedure Anvil.Setup;
Initializes Anvil variables.

.. note:: This is automatically called on the **Anvil** variable.


------------

Anvil.IsOpen
~~~~~~~~~~~~
.. code-block:: pascal
function TRSAnvil.IsOpen(): Boolean;
function TRSAnvil.IsOpen(waitTime: Int32; interval: Int32 = -1): Boolean; overload;
Returns true/false whether the anvil interface is open or not.

Example
-------
.. code-block:: pascal
WriteLn Anvil.IsOpen();
------------

Anvil.Close
~~~~~~~~~~~
.. code-block:: pascal
function TRSAnvil.Close(pressEscape: Boolean): Boolean;
function TRSAnvil.Close(chance: Double = BioHash): Boolean; overload;
Closes the anvil interface, depending on `pressEscape` the function will either click the button
or press escape.

Example
-------
.. code-block:: pascal
WriteLn Anvil.Close;
------------

var Anvil
~~~~~~~~~
Global Anvil variable.


------------
56 changes: 0 additions & 56 deletions _sources/anvil(osr_interfaces_gametabs).rst.txt

This file was deleted.

44 changes: 9 additions & 35 deletions _sources/anvil.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,63 +13,37 @@ Anvil.GetSlots
Returns the all available anvil slots.

Example
-------
.. code-block:: pascal
Debug(Anvil.GetSlots());


------------

Anvil.Setup
Anvil.Close
~~~~~~~~~~~
.. code-block:: pascal
procedure Anvil.Setup;
Initializes Anvil variables.

.. note:: This is automatically called on the **Anvil** variable.


------------

Anvil.IsOpen
~~~~~~~~~~~~
.. code-block:: pascal
function TRSAnvil.Close(PressEscape: Boolean = False): Boolean;
function TRSAnvil.IsOpen(): Boolean;
function TRSAnvil.IsOpen(waitTime: Int32; interval: Int32 = -1): Boolean; overload;
Returns true/false whether the anvil interface is open or not.
Closes the anvil, Depending on `PressEscape` the function will either click the button
or press backspace.

Example
-------
.. code-block:: pascal
WriteLn Anvil.IsOpen();
WriteLn Anvil.Close;
------------

Anvil.Close
Anvil.Setup
~~~~~~~~~~~
.. code-block:: pascal
procedure Anvil.Setup;
function TRSAnvil.Close(pressEscape: Boolean): Boolean;
function TRSAnvil.Close(chance: Double = BioHash): Boolean; overload;
Closes the anvil interface, depending on `pressEscape` the function will either click the button
or press escape.

Example
-------
.. code-block:: pascal
Initializes Anvil variables.

WriteLn Anvil.Close;
.. note:: This is automatically called on the **Anvil** variable.


------------
Expand Down
19 changes: 19 additions & 0 deletions _sources/fairyring.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,25 @@ Example
WriteLn FairyRing.Close();
------------

FairyRing.HandleItem
~~~~~~~~~~~~~~~~~~~~
.. code-block:: pascal
function TRSFairyRing.HandleItem(): Boolean;
Magically finds, caches for next usages and equips dramen or lunar staff with the minimum tab opening possible.
If no item is found, we will assume the user has the elite lumbridge and draynor diary complete for next uses.

Example
-------
.. code-block:: pascal
if FairyRing.HandleItem() then
WriteLn FairyRing.Item;
------------

FairyRing.Open
Expand Down
Loading

0 comments on commit 9174b04

Please sign in to comment.