RuneHive-Tarnish
Neural OSRS Enhancement Framework
|
Public Member Functions | |
ProducingSkillAction (Player player, Optional< Position > position, boolean instant) | |
ProducingSkillAction (Player player, Optional< Position > position, int delay, boolean instant) | |
final boolean | canRun () |
final void | onExecute () |
void | onProduce (boolean success) |
abstract Optional< Item[]> | removeItem () |
abstract Optional< Item[]> | produceItem () |
Optional< String > | message () |
Public Member Functions inherited from com.osroyale.content.skill.SkillAction | |
SkillAction (Mob mob, Optional< Position > position, int delay, boolean instant) | |
SkillAction (Mob mob, Optional< Position > position, boolean instant) | |
final void | start () |
abstract boolean | canInit () |
abstract void | init () |
abstract Optional< SkillAnimation > | animation () |
abstract double | experience () |
abstract int | skill () |
boolean | ignore () |
Public Member Functions inherited from com.osroyale.game.action.Action< T extends Mob > | |
Action (T mob, int delay, boolean instant) | |
Action (T mob, int delay) | |
T | getMob () |
boolean | prioritized () |
abstract WalkablePolicy | getWalkablePolicy () |
abstract String | getName () |
Public Member Functions inherited from com.osroyale.game.task.Task | |
Task (boolean instant, int delay) | |
Task (int delay) | |
synchronized final void | cancel () |
synchronized final void | cancel (boolean logout) |
Task | attach (Object newKey) |
boolean | isInstant () |
int | getDelay () |
void | setDelay (int delay) |
boolean | isRunning () |
Optional< Object > | getAttachment () |
Additional Inherited Members | |
Protected Member Functions inherited from com.osroyale.content.skill.SkillAction | |
final void | onSchedule () |
final void | execute () |
Protected Member Functions inherited from com.osroyale.game.task.Task | |
boolean | canSchedule () |
void | onCancel (boolean logout) |
The skill action that represents an action where one item in an inventory is replaced with a new one. This type of skill action is somewhat basic and requires that a player have the item to be removed.
The skills that may use this type skill action include, but are not limited to COOKING
.
Definition at line 60 of file ProducingSkillAction.java.
|
inline |
Creates a new ProducingSkillAction
.
player | the player this skill action is for. |
position | the position the player should face. |
instant | determines if this action should be ran instantly. |
Definition at line 68 of file ProducingSkillAction.java.
|
inline |
Creates a new ProducingSkillAction
.
player | the player this skill action is for. |
position | the position the player should face. |
delay | the delay between these producing skill actions. |
instant | determines if this action should be ran instantly. |
Definition at line 79 of file ProducingSkillAction.java.
|
inline |
Determines if the task can be ran.
Reimplemented from com.osroyale.game.task.Task.
Definition at line 84 of file ProducingSkillAction.java.
|
inline |
The message that will be sent when the player doesn't have the items required.
Definition at line 147 of file ProducingSkillAction.java.
|
inline |
The method which is called on intervals of the specified #delay
;
Reimplemented from com.osroyale.content.skill.SkillAction.
Definition at line 115 of file ProducingSkillAction.java.
|
inline |
The method executed upon production of an item.
success | determines if the production was successful or not. |
Reimplemented in com.osroyale.content.skill.impl.smithing.SmithingArmour.
Definition at line 126 of file ProducingSkillAction.java.
|
abstract |
The item that will be added upon production.
Reimplemented in com.osroyale.content.skill.impl.smithing.SmithingArmour.
|
abstract |
The item that will be removed upon production.
Reimplemented in com.osroyale.content.skill.impl.smithing.SmithingArmour.