mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-02 16:49:03 +00:00
[PR #512] [MERGED] Astraeus Dialogue System Port #14156
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/2006-Scape/2006Scape/pull/512
Author: @Qweqker
Created: 10/29/2021
Status: ✅ Merged
Merged: 10/31/2021
Merged by: @Dark98
Base:
master← Head:Dialogue-Revamp📝 Commits (5)
753f00d- Marked As Deprecatedbfc5763- Refactored Dialogue.java into DialoguePacket.java2f6beaa- Removed useless file75ab697- Ported Astraeus Dialogue Systembbddc02- Renamed Astraeus* classes to *Plugin📊 Changes
21 files changed (+2887 additions, -9050 deletions)
View changed files
➕
2006Scape Server/plugins/plugin/buttons/DialogueOptionButtons.kt(+41 -0)📝
2006Scape Server/plugins/plugin/click/npc/NpcFirstClick.kt(+11 -11)➕
2006Scape Server/plugins/plugin/npc/banker/BankerDialogue.kt(+37 -0)➕
2006Scape Server/plugins/plugin/npc/manwoman/ManWomanDialogue.kt(+163 -0)➖
2006Scape Server/src/main/java/com/rs2/game/content/combat/npcs/StaticNpcList.java(+0 -7735)➕
2006Scape Server/src/main/java/com/rs2/game/dialogues/ChainablePlugin.java(+14 -0)📝
2006Scape Server/src/main/java/com/rs2/game/dialogues/ChatEmotes.java(+6 -1)➖
2006Scape Server/src/main/java/com/rs2/game/dialogues/Dialogue.java(+0 -20)➕
2006Scape Server/src/main/java/com/rs2/game/dialogues/DialogueFactoryPlugin.java(+741 -0)📝
2006Scape Server/src/main/java/com/rs2/game/dialogues/DialogueHandler.java(+9 -47)📝
2006Scape Server/src/main/java/com/rs2/game/dialogues/DialogueOptions.java(+1114 -1083)➕
2006Scape Server/src/main/java/com/rs2/game/dialogues/DialoguePlugin.java(+37 -0)➕
2006Scape Server/src/main/java/com/rs2/game/dialogues/ExpressionPlugin.java(+74 -0)➕
2006Scape Server/src/main/java/com/rs2/game/dialogues/NPCDialogue.java(+122 -0)➕
2006Scape Server/src/main/java/com/rs2/game/dialogues/OptionDialoguePlugin.java(+163 -0)➕
2006Scape Server/src/main/java/com/rs2/game/dialogues/PlayerDialoguePlugin.java(+84 -0)➕
2006Scape Server/src/main/java/com/rs2/game/dialogues/StatementDialoguePlugin.java(+60 -0)📝
2006Scape Server/src/main/java/com/rs2/game/players/Player.java(+40 -36)📝
2006Scape Server/src/main/java/com/rs2/net/packets/PacketHandler.java(+2 -2)➕
2006Scape Server/src/main/java/com/rs2/net/packets/impl/DialoguePacket.java(+28 -0)...and 1 more files
📄 Description
I figured I consider trying to port something over from Astraeus considering the plugin system was implemented recently. Surprisingly, I was able to port over the Dialogue System without much issue. The only other thing I did was add a line split function so that dialogues can be setup easier.
It's missing a couple of existing interfaces from the current DialogueHandler file, but it should be simple enough to move them over.
Change Summary
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.