1package com.runehive.content.bloodmoney;
3import com.runehive.content.puzzle.PuzzleType;
4import com.runehive.game.world.World;
5import com.runehive.game.world.entity.mob.npc.Npc;
6import com.runehive.game.world.entity.mob.player.Player;
7import com.runehive.game.world.items.Item;
8import com.runehive.game.world.object.CustomGameObject;
9import com.runehive.util.Stopwatch;
10import com.runehive.util.Utility;
46 guardian.walkingRadius = 3;
56 public static void finish(
boolean unlocked) {
70 viewer.interfaceManager.close(4543);
85 if (!
viewer.interfaceManager.isInterfaceOpen(4543)) {
The blood money chest manager.
static void open(Player player)
Handles opening the blood money chest.
static BloodMoneyPosition data
Blood chest position.
static final Stopwatch stopwatch
The stopwatch for this event.
static void finish(boolean unlocked)
Handles finishing the blood money chet.
static Player viewer
The current blood money chest viewer.
static CustomGameObject chest
The blood money chest object.
static String getInformation()
The information displayed on information tab.
static void spawn()
Handles spawning the blood money chest.
static Npc guardian
The guardian npc.
static boolean active
The state of the blood money chest.
final DialogueFactory execute()
Retrieves the next dialogue in the chain and executes it.
final DialogueFactory sendStatement(String... lines)
Appends a StatementDialogue to the current dialogue chain.
void open(PuzzleType puzzleType)
Opens the puzzle interface.
Represents the game world.
static void sendMessage(String... messages)
Sends a global message.
Represents a non-player character in the in-game world.
This class represents a character controlled by a player.
DialogueFactory dialogueFactory
final PuzzleDisplay puzzle
The container class that represents an item that can be interacted with.
Represents a static game object loaded from the map fs.
Handles miscellaneous methods.
static< T > T randomElement(Collection< T > collection)
Picks a random element out of any array type.
static Position[] getInnerBoundaries(Position position, int width, int length)
The difference puzzle types.