1package com.runehive.content.wintertodt.actions;
3import com.runehive.Config;
4import com.runehive.content.wintertodt.Brazier;
5import com.runehive.content.wintertodt.Wintertodt;
6import com.runehive.game.action.Action;
7import com.runehive.game.action.policy.WalkablePolicy;
8import com.runehive.game.world.entity.mob.player.Player;
9import com.runehive.game.world.entity.skill.Skill;
27 return "Light brazier";
32 if(
brazier.getBrazierState() != 2) {
34 brazier.getObject().unregister();
42 getMob().action.getCurrentAction().cancel();
The class that contains setting-related constants for the server.
static final double FIREMAKING_MODIFICATION
The experience modification for firemaking.
static void addPoints(Player player, int amount)
Handles adding wintertodt points to a player.
static final int BURNING_BRAZIER_ID
LightBrazier(Player player, Brazier brazier)
String getName()
Gets the name of this action.
WalkablePolicy getWalkablePolicy()
Gets the WalkablePolicy of this action.
void execute()
A function representing the unit of work that will be carried out.
T getMob()
Gets the player.
Action(T mob, int delay, boolean instant)
Creates a new Action randomevent.
This class represents a character controlled by a player.
Represents a trainable and usable skill.
static final byte getLevelForExperience(double experience)
Gets the level for a given experience amount.
static final int FIREMAKING
The firemaking skill id.
A queue policy determines whether the action can occur while walking.
NON_WALKABLE
This indicates actions cannot occur while walking.