Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Quest API] Add EVENT_DESTROY_ITEM_CLIENT to Perl/Lua. #2871

Merged
merged 3 commits into from
Feb 13, 2023

Conversation

Kinglykrab
Copy link
Contributor

Perl

  • Add EVENT_DESTROY_ITEM_CLIENT, exports $item_id, $item_name, $quantity, and $item.

Lua

  • Add event_destroy_item_client, exports e.item_id, e.item_name, e.quantity, and e.item.

Notes

  • Allows operators to use player scripts for item destroys.

- Add `EVENT_DESTROY_ITEM_CLIENT`, exports `$item_id`, `$item_name`, `$quantity`, and `$item`.

- Add `event_destroy_item_client`, exports `e.item_id`, `e.item_name`, `e.quantity`, and `e.item`.

- Allows operators to use player scripts for item destroys.
@Akkadius Akkadius force-pushed the quest_api/event_destroy_item_client branch from 5a75469 to 733cae0 Compare February 13, 2023 05:58
@Akkadius Akkadius merged commit d4afc78 into master Feb 13, 2023
@Akkadius Akkadius deleted the quest_api/event_destroy_item_client branch February 13, 2023 05:58
@Akkadius Akkadius mentioned this pull request Feb 16, 2023
catapultam-habeo pushed a commit to catapultam-habeo/pyrelight-server that referenced this pull request Mar 27, 2023
* [Quest API] Add EVENT_DESTROY_ITEM_CLIENT to Perl/Lua.

- Add `EVENT_DESTROY_ITEM_CLIENT`, exports `$item_id`, `$item_name`, `$quantity`, and `$item`.

- Add `event_destroy_item_client`, exports `e.item_id`, `e.item_name`, `e.quantity`, and `e.item`.

- Allows operators to use player scripts for item destroys.

* Update lua_parser_events.h

* Update inventory.cpp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants