RuneHive-Game
Loading...
Searching...
No Matches
LootshareDialogue.java
Go to the documentation of this file.
1package com.runehive.content.dialogue.impl;
2
3import com.runehive.content.dialogue.Dialogue;
4import com.runehive.content.dialogue.DialogueFactory;
5
6/**
7 * Handles the lootshare dialogue.
8 *
9 * @author Daniel
10 */
11public class LootshareDialogue extends Dialogue {
12
13 @Override
14 public void sendDialogues(DialogueFactory factory) {
15 factory.sendStatement("").sendStatement(
16 "When active, all clan gameMembers within a 32 tile radius will receive",
17 "an equal split of any item dropped by a npc that has a value of",
18 "2,500,000 or more. Untradeable items will not be split or given to each.",
19 "Clan member. Be advised that the item value will not always be 100%").sendStatement(
20 "correct and 25% of the item value will be removed due to the item",
21 "automatically converting into coins. Only gameMembers with a certain clan",
22 "rank may toggle the lootshare.")
23 .execute();
24 }
25}
Represents a factory class that contains important functions for building dialogues.
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.
Represents an abstract dialogue, in which extending classes will be able to construct and send dialog...
Definition Dialogue.java:11
void sendDialogues(DialogueFactory factory)
Sends a player a dialogue.