Kam
9c541999f3
Optimize Imports
2025-07-23 14:22:52 -04:00
Kam
2b6f63a3e3
Right Click Event for Players
2025-06-02 14:56:29 -04:00
Kam
180d257024
Proper Reformating
2025-03-13 17:14:45 -04:00
Kam
934cc3d7cd
Reapply "Revert Animation Events"
...
This reverts commit 4113bcc6e9 .
2024-08-22 16:47:45 -04:00
Kam
4113bcc6e9
Revert "Revert Animation Events"
...
This reverts commit 1ffddd3ce9 .
2024-08-22 16:47:07 -04:00
Kam
1ffddd3ce9
Revert Animation Events
2024-05-26 19:26:47 -04:00
Luis C.M
61781710f1
Implemented animation events and made some event classes abstract.
2024-03-24 17:03:58 -05:00
Luis C.M
a422f041d5
NPC's script containers are only saved to NBT if they have code.
2023-08-01 16:39:08 -05:00
Luis C.M
3b0879b0db
Made a new interface for CNPC+ script handlers and changed callScript functions to make them more 3rd party API-friendly
2023-07-13 13:56:32 -05:00
Luis C.M
dd7714350d
ScriptWorld:
...
-Added functions from patch
2023-06-02 17:17:00 -05:00
Luis C.M
895d20335f
DataScript:
...
-Now doesn't create a new instance of NpcAPI
2023-05-30 01:27:34 -05:00
Luis C.M
a0adf0d7bd
Fixed item toss event not being cancellable. Setting a script container's engine doesn't happen on every script call now, reducing lag.
2023-05-29 23:57:45 -05:00
Luis C.M
8a4c9f6f6b
DataScript:
...
-Fixed loading error on NPC scripts causing index oob exceptions when reading event scripts.
2023-05-10 22:57:58 -05:00
Luis C.M
2ef93dd35f
Fixed index out of bounds exception
2023-03-16 23:58:45 -05:00
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