Commit Graph
18 Commits
Author SHA1 Message Date
Luis C.M e58b494979 All global NPC scripts are now called before local NPC scripts
Fixed event NPC scripts not running after erroring, and not outputting to the console
2023-03-16 16:43:05 -05:00
Luis C.M fe780d69ee Added target lost event. Added all new NPC events to the old 1.7.10 script system. 2023-03-16 04:56:33 -05:00
Luis C.M 29935a1c6d Implemented local NPC event scripts. 2023-03-16 04:27:19 -05:00
Luis C.M 0db96f9040 Fixed forge, player, & npc scripts not being able to be deleted or added. 2023-02-19 16:22:28 -06:00
Luis C.M de6375c4cb Fixed script console not appearing with the new global script tab saving method. 2023-02-19 15:20:51 -06:00
KAMKEEL bda76bafe6 Optimize Imports 2023-01-12 21:33:06 -05:00
KAMKEEL 6e92f08851 Config Overhaul 2023-01-07 00:21:08 -05:00
Luis C.M 7a715ef308 NpcAPI:
Added functions for adding keywords to global script running
++ addGlobalObject(String,Object)
++ removeGlobalObject(String)
++ getEngineObjects()
2022-12-14 17:53:57 -06:00
Luis C.M aa02e5dcc3 Fixed API interface errors, added casts for custom item script handlers in EventHooks, and added some event interfaces. 2022-11-23 23:59:01 -06:00
KAMKEEL be9ae94163 Start API Branch 2022-11-15 15:25:53 -05:00
KAMKEEL 5ff3a3a1ba Player Logging 2022-11-07 01:49:54 -05:00
Luis C.M 8d3cd3fd82 Revert "Merge remote-tracking branch 'origin/dev' into dev"
This reverts commit 66edbcea80, reversing
changes made to 3fd962289c.
2022-11-06 01:25:28 -06:00
KAMKEEL 7692c1b628 More Readable Logs with CNPC Level 2022-11-05 21:30:06 -04:00
KAMKEEL 37da3f6069 NPC Script Logging Config V 1.0
Added V 1.0 (CNPC+ Script Logging)
> Logs Activities for when CNPC+ Scripts are called
(Writes to CustomNPCs-latest.log)

Configuration Options Available in Config
2022-11-03 02:47:55 -04:00
KAMKEEL e6dbfaa4f5 ScriptingEnabled Fix 2022-11-02 13:38:20 -04: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 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