Fix varrock newspaper interface indicies, and fix a syntax error in npc_spawns.json.

This commit is contained in:
Avi Weinstock 2021-10-18 13:48:27 -04:00
parent 370870656e
commit 9f273ea02c
2 changed files with 3 additions and 3 deletions

View file

@ -4433,7 +4433,7 @@
},
{
"npc_id": "2329",
"loc_data": "{3093,3260,0,1,6}-{1702.4822,0,0,0]"
"loc_data": "{3093,3260,0,1,6}-{1702,4822,0,0,0}"
},
{
"npc_id": "2330",

View file

@ -23,8 +23,8 @@ public class NewsPaperPlugin extends OptionHandler {
player.getInterfaceManager().open(new Component(530));
final String page1 = "Varrock gets Makeover! The city of Varrock is the latest recipient of a complete makeover. When interviewed, King Roald said, 'In order to keep visitors coming to see the sights of our beautiful capital, we felt that tidying-up the city would be more effective than just issuing a decree - make sure you visit the new museum while you are here.'";
final String page2 = "Obituaries Goblin-Died Giant Rat-Died Unicorn-Died Varrock Guard-Died Varrock Guard-Died Bear-Died. Classifieds.";
player.getPacketDispatch().sendString(page1, 530, 2);
player.getPacketDispatch().sendString(page2, 530, 4);
player.getPacketDispatch().sendString(page1, 530, 7);
player.getPacketDispatch().sendString(page2, 530, 8);
return true;
} else
player.getDialogueInterpreter().open(70099, "Come to the Al Kharid Market place! Highquality", "produce at low, low prices! Show this flyer to a", "merchant for money off your next purchase,", "courtesy of Ali Morrisane!");