Skip to content

Commit

Permalink
Update APIs (NWNX: c9142841, NWN: 8193.30).
Browse files Browse the repository at this point in the history
  • Loading branch information
jhett12321 committed Aug 25, 2021
1 parent 184bc68 commit aa6e7c0
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/NWNX/Plugins/EventsPlugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,18 @@ Event Data Tag | Type | Notes|
ITEM | object | Convert to object with StringToObject()|
NUMBER_SPLIT_OFF | int | |
_______________________________________
## Item Merge Events
- NWNX_ON_ITEM_MERGE_BEFORE
- NWNX_ON_ITEM_MERGE_AFTER
`OBJECT_SELF` = The player attempting to merge an item
Event Data Tag | Type | Notes |
----------------------|--------|-----------------------------------------------------------------------------------|
ITEM_TO_MERGE_INTO | object | Convert to object with StringToObject() |
ITEM_TO_MERGE | object | Convert to object with StringToObject() (May be OBJECT_INVALID in the AFTER event)|
_______________________________________
## Acquire Item Events
- NWNX_ON_ITEM_ACQUIRE_BEFORE
Expand Down

0 comments on commit aa6e7c0

Please sign in to comment.