mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-04 08:39:05 +00:00
Implement Party Room, A bunch of client side changes, Other stuff (#503)
* Fixup Discord links * Fix required level to chop Dramen tree * More Discord link fixes * Show bots as (store) * Fixup port move to port 8080 as used by file server * Fixup report handler * Some client changes * minor changes Show mod status * Show item value on ground * Mark stores and players differently on mini map * Some tidy up * default to world 1 * Update trade with text * revert nodeID changes * Update RS Guide name * Remove some command aliases * Log bots and players differently * Fixup * minor changes * Fixup colors * Update RSInterface.java * Settings for controlling options * Add memory command * Update server skill magic numbers * Update server skill magic numbers * Update colors for ground item text * Update .gitignore * Update player health value more often * Add in game item/NPC/object search * Item amounts and value displayed * Update examine text * Start with volume off * Fixup tab 7 still showing with other interfaces * Fixup search * Fixup entering numbers after letter in amounts * minor fixup * fix indentation * change type of value * Fixup values shown * Fix when clicking while tab 7 open * Fixup negative amounts * Update some method names * Fixup method name * tidy up method values * Initial move for overlays * Update more method names, variables * Update debug menu * Update experience info area * Update Signlink.java * more refactoring/deob * Tidy up * refresh skills * Update method name, debug display * fixup * Show wrench icon on custom settings tab * alignment * Modify zoom * Use smaller numbers for exp/h * Update interface command * tidy up * Fixup tele location * Fixup if interface doesn't exist * Add some interface options * Update checks * Open bank interface for item search TODO: change title maybe not display in chat change options for items? change command to searchitem - open the bank interface, open a text input interface * re-fix * Show open interface ID * Update bank string shown * Update search function * Scroll zooming * Only fill chat with search if not searching for an item * add comments * Change system update message * Remove fps command * Increase draw distance * fixup * Draw distance option * [Party Room] Fix party room stairs * Add new free slots method to check for stackable items counting as a free slot * [Party Room] Deposit/Withdraw items all working * [Party Room] Fully working * [Party Room] Don't spawn balloons on the table Players cannot pickup the items * Fixup boundary * Drop items in random amounts up to 4 stacks * Update swampy boat to work * Minor fixup * Update Game.java * Move player name up slightly * Update some naming * Tidy up * Add ectoplasm agility shortcuts * Update ObjectsActions.java * Ectofuntus stuff * fixup * Ectofuntus bone grinder get status * auto worship * Allow claiming ecto-tokens * change variable * fixup * Make use of GameConstants.WORLD * Randomize bot passwords * Don't show player shops as online * Update opening oysters * Update GemCutting.java * Dragontooth island transport * Ectofuntus stuff * More constants * Bill teach travel to Mos Le'Harmless and back Also able to explore the whole ship * Use better looking buttons * Update .gitignore
This commit is contained in:
@@ -14,6 +14,7 @@ import com.rs2.game.content.skills.slayer.Slayer;
|
||||
import com.rs2.game.content.traveling.CarpetTravel;
|
||||
import com.rs2.game.content.traveling.Sailing;
|
||||
import com.rs2.game.globalworldobjects.PassDoor;
|
||||
import com.rs2.game.items.ItemConstants;
|
||||
import com.rs2.game.npcs.NpcHandler;
|
||||
import com.rs2.game.objects.impl.OtherObjects;
|
||||
import com.rs2.game.players.Player;
|
||||
@@ -4912,6 +4913,72 @@ public class DialogueHandler {
|
||||
player.nextChat = 0;
|
||||
break;
|
||||
|
||||
case 1390:
|
||||
if (player.getItemAssistant().playerHasEquipped(ItemConstants.AMULET, 552)) {
|
||||
sendPlayerChat("Can I have the tokens I have earned?");
|
||||
player.nextChat = 1391;
|
||||
} else {
|
||||
sendNpcChat1("Wooooo. Oooooh!", player.talkingNpc, "Ghost disciple");
|
||||
player.nextChat = 0;
|
||||
}
|
||||
break;
|
||||
|
||||
case 1391:
|
||||
int amount = player.ectofuntusWorshipped * 5;
|
||||
if (amount <= 0) {
|
||||
sendNpcChat1("You haven't earned any tokens yet.", player.talkingNpc, "Ghost disciple");
|
||||
} else if (player.getItemAssistant().freeSlots(4278, amount) <= 0) {
|
||||
sendNpcChat1("You don't have enough space in your inventory.", player.talkingNpc, "Ghost disciple");
|
||||
} else {
|
||||
sendNpcChat1("Certainly, mortal. Here's " + amount + " ecto-tokens.", player.talkingNpc, "Ghost disciple");
|
||||
player.getItemAssistant().addItem(4278, amount);
|
||||
player.ectofuntusWorshipped = 0;
|
||||
}
|
||||
player.nextChat = 0;
|
||||
break;
|
||||
|
||||
case 1400:
|
||||
if (!player.getItemAssistant().playerHasEquipped(ItemConstants.AMULET, 552)) {
|
||||
sendNpcChat1("Wooooo. Oooooh!", player.talkingNpc, "Ghost Captain");
|
||||
player.nextChat = 0;
|
||||
} else {
|
||||
if (player.talkingNpc == 1704) {
|
||||
sendNpcChat1("Would you like a ride to Port Phasmatys?", player.talkingNpc, "Ghost Captain");
|
||||
} else {
|
||||
sendNpcChat1("Would you like a ride to Dragontooth Island?", player.talkingNpc, "Ghost Captain");
|
||||
}
|
||||
player.nextChat = 1401;
|
||||
}
|
||||
break;
|
||||
|
||||
case 1401:
|
||||
sendOption(
|
||||
"Yes please." + (player.talkingNpc == 1705 ? " (25 Ecto-tokens)" : ""),
|
||||
"No thanks.");
|
||||
player.dialogueAction = 185;
|
||||
break;
|
||||
|
||||
case 1402:
|
||||
sendNpcChat1("You don't have enough Ecto-tokens.", player.talkingNpc, "Ghost Captain");
|
||||
player.nextChat = 0;
|
||||
break;
|
||||
|
||||
case 1410:
|
||||
if (player.talkingNpc == 3157) {
|
||||
sendNpcChat1("Would you like a ride to Port Phasmatys?", player.talkingNpc, "Bill Teach");
|
||||
} else {
|
||||
sendNpcChat1("Would you like a ride to Mos Le'Harmless?", player.talkingNpc, "Bill Teach");
|
||||
}
|
||||
player.nextChat = 1411;
|
||||
break;
|
||||
|
||||
case 1411:
|
||||
sendOption(
|
||||
"Yes please.",
|
||||
"No thanks.");
|
||||
player.dialogueAction = 186;
|
||||
break;
|
||||
|
||||
case 2995:
|
||||
player.canWalkTutorial = false;
|
||||
sendStatement(
|
||||
|
||||
Reference in New Issue
Block a user