Commit Graph
3038 Commits
Author SHA1 Message Date
Luis C.M 587f63396f Dialog Image interface added. 2022-06-10 18:46:24 -05:00
Luis C.M 9c29aabea8 Merged local and global NPC events, deleting old unused event classes. 2022-06-10 18:32:42 -05:00
Luis C.M 8f16e6b20f Added IDialogImage, a scripted object which is used by IDialog. Used to add dialog images.
IDialog:
-Added several new functions for dialogs' new visual attributes, as well as a way to add, get, create, remove, and clear dialog images.

Global NPC events:
-Added fields and variables from the old ScriptEvent events, in preparation to replace the old events with NpcEvent instances on local NPC scripts.
-Fixed issue where some event hooks would run on remote worlds.

Global NPC killed event:
-Added droppedItems and expDropped fields.

IWorld and NpcAPI:
-Now always uses a non-remove WorldServer object to create ScriptWorld objects and add them to the world cache.
2022-06-10 17:25:58 -05:00
Luis C.M 486e37cd7f Implemented title positions for dialogs. 2022-06-10 04:47:28 -05:00
Luis C.M ff8fc68e88 Implemented dialog and text colors. 2022-06-10 01:38:01 -05:00
Luis C.M 4fe61a904f More dialog GUI data fixes and visual tweaks. 2022-06-09 18:07:51 -05:00
Luis C.M 76106b1ea6 Added dialog option to show line above options. 2022-06-09 03:51:27 -05:00
Luis C.M 84b7744023 Dialog GUI fixes. 2022-06-09 03:41:27 -05:00
Luis C.M b64ee1c93a Merge pull request #54 from 1whohears/dev
Some Extra Soul Stone Options
2022-06-09 02:35:22 -05:00
Luis C.M c99a4f8439 Server-side dialog data fixes. 2022-06-09 02:30:01 -05:00
Luis C.M 799d54a4dc Fixed a couple of client-side dialog data errors. 2022-06-09 02:16:25 -05:00
Luis C.M 60794592d1 Completely remade visual dialog options, added images and many other attributes to dialogs. 2022-06-09 02:03:14 -05:00
1whohears b7ef1da0d8 added npc.setMinPointsToSoulStone 2022-06-08 22:13:30 -05:00
Luis C.M deffb78167 Fixed render spam on overlays when checking for armor rendering. 2022-06-08 16:51:28 -05:00
Luis C.M f3177f6fd9 Fixed ImageDownloadAlt console spam. 2022-06-08 13:46:41 -05:00
1whohears 5740519ed2 ScriptRoleTrader.getSellOption returns the item being sold instead of the currency 2022-06-08 12:12:18 -05:00
1whohears 4a70dfb4ce soulStoneInit field bugfix 2022-06-08 00:32:58 -05:00
1whohears 825c42fc52 npc.isSoulStoneinit 2022-06-07 12:31:49 -05:00
1whohears 5edb08945e changed slot disabled label color 2022-06-06 14:39:10 -05:00
1whohears 17fa6328c9 fixed crash when hovering over a trader item slot
HashMap.put doesn't work the way I thought it did
2022-06-06 14:38:33 -05:00
Luis C.M 50471dbfac Added curly bracket pauses to instant dialog text. 2022-06-06 14:17:39 -05:00
Luis C.M b70b51fab1 Added curly bracket pauses to gradual dialog text. 2022-06-06 03:08:04 -05:00
Luis C.M 671899f215 Added curly bracket pauses to gradual dialog text. 2022-06-06 03:06:09 -05:00
Luis C.M e51d36e7a1 Dialog text renders on top of options again. 2022-06-05 23:28:33 -05:00
Luis C.M a1f4861d33 Added toggle for text sound 2022-06-03 17:16:58 -05:00
Luis C.M 3552b58e5c You can no longer scroll up until no dialog lines are visible. 2022-06-03 15:38:52 -05:00
Luis C.M c7b34dcf54 More scrolling and dialog alignment fixes. 2022-06-03 15:33:20 -05:00
Luis C.M 2c84a527bf Fixed dialog height 2022-06-03 14:02:48 -05:00
1whohears 8c687e7ef5 fixed DataTimers.writeToNBT 2022-06-02 21:32:19 -05:00
Luis C.M 213d69f146 Function added
NpcAPI:
-Added stopServer() function.
2022-05-31 18:54:11 -05:00
Luis C.M dccdb9636c More tweaks to dialogs, fixed option X spacing. 2022-05-30 23:56:31 -05:00
Luis C.M bb65e79102 Implemented dialog option spacing 2022-05-30 18:31:58 -05:00
Luis C.M e7ceaa6d2a Simplified logic on an if statement 2022-05-30 04:53:17 -05:00
Luis C.M 2370c5e1f4 Added scrolling to dialogs 2022-05-30 04:51:30 -05:00
Luis C.M f0862e8a64 Fixed armor rendering twice when a player is using an overlay. 2022-05-29 19:51:03 -05:00
Luis C.M c0406958a3 The script controller now checks whether a language can have objects loaded into it on startup, catching an exception and skipping that language as available if so. 2022-05-29 16:01:05 -05:00
Luis C.M e4eb0e9cd8 Removed player completion checker. 2022-05-29 14:49:42 -05:00
1whohears a675033d62 String data can't be null 2022-05-29 14:42:28 -05:00
Luis C.M f301f8fcbb The player quest tracker now supports dialog and location quests as well. 2022-05-29 05:33:13 -05:00
Luis C.M f9e92f3172 Added blend attribute to skin overlays. 2022-05-29 05:23:39 -05:00
Luis C.M 9928482c53 Fixed null error with the quest tracker. 2022-05-29 05:09:30 -05:00
Luis C.M e71ea4f495 Fixed the quest tracking overlay alignment. 2022-05-29 05:06:18 -05:00
Luis C.M e2df33fb5f Added quest objective and turnin data to the quest tracker. 2022-05-29 04:45:38 -05:00
Luis C.M 0ed5887046 Alex armor now renders correctly for NPCs. 2022-05-29 03:06:57 -05:00
1whohears fb0ff50994 added get set refuse soul stone
one may want an npc to not be able to be picked up by soul stone in any circumstance
2022-05-29 02:46:24 -05:00
Luis C.M ed9d30547d Merge pull request #55 from KAMKEEL/revert-53-master
Revert "NPC Skin Changes"
2022-05-29 00:59:59 -05:00
Luis C.M fd0a99b3ed Revert "NPC Skin Changes" 2022-05-29 00:59:40 -05:00
1whohears 9fef65b194 get the name of the player who spawned this npc with soulstone 2022-05-28 23:40:01 -05:00
1whohears b7ad0ce29b soulstone villagers and friendly npcs 2022-05-28 23:00:39 -05:00
1whohears b18d0965f2 script player.sendMessage uses String as color parameter 2022-05-28 22:53:57 -05:00