Easter Event + Ectotokens (#492)

* New NPC Spawns for Port Phasmatys

Added most NPCs in Port Phasmatys including the ghost villagers, sailors, guards, Robin, Ak-Haranu, and more.

* ObjectActions for Ectofuntus and Energy Barrier

The Ectofuntus is now fully accessible and Port Phasmatys can be accessed through the energy barrier.

* Added Ak-Haranu's Exotic Shop

Ak-Haranu now sells Bolt Racks.

* Fixed Ectofuntus Worship

Fixed minor issue with Ectofuntus Worship

* Gravingas Exclamations

Gravingas exclaims different messages while protesting Necrovarus in Port Phasmatys.

* Easter Event Updates

- Added Easter Bunny
- Added temporary Easter Quest
- Added Dialogues between player and Easter Bunny
- Added player save data for Ecto-tokens (Port Phasmatys) and data for the easter event (easterEvent)

* Delete .DS_Store

* Delete .DS_Store

* Delete .DS_Store

* Adding DS_Store to .gitignore
This commit is contained in:
Olivier
2021-04-06 10:51:04 -07:00
committed by GitHub
parent 7261568e2d
commit 48d7b09bdd
6 changed files with 189 additions and 3 deletions
@@ -139,6 +139,27 @@ public class NpcActions {
player.getDialogueHandler().sendDialogues(1378, npcType);
break;
case 1835:
if (player.easterEvent == 0)
player.getDialogueHandler().sendDialogues(6000, npcType);
else if (player.easterEvent == 1)
{
int easter1 = player.getInventory().getItemAmount(7928);
int easter2 = player.getInventory().getItemAmount(7929);
int easter3 = player.getInventory().getItemAmount(7930);
int easter4 = (easter1 + easter2 + easter3);
if (easter4 >= 3)
player.getDialogueHandler().sendDialogues(6017, npcType);
else {
player.getDialogueHandler().sendDialogues(6014, npcType);
}
}
else
{
player.getDialogueHandler().sendDialogues(6022, npcType);
}
break;
case 537:
case 536:
int requiredQP = Math.min(32, QuestAssistant.MAXIMUM_QUESTPOINTS);