Skip to content

Added FINDEVENT and FINDTEVENT references - #1640

Merged
mtwango merged 2 commits into
Sphereserver:devfrom
DavideRei:feature/findevent-findtevent
Oct 22, 2026
Merged

mtwango merged 2 commits into
Sphereserver:devfrom
DavideRei:feature/findevent-findtevent

Conversation

@DavideRei

Copy link
Copy Markdown
Contributor

Description

Like FINDID and FINDTYPE, they return the first item, searching also the sub containers, that has the given events section in its EVENTS (FINDEVENT) or in the TEVENTS of its itemdef (FINDTEVENT). Useful to find items marked by an event instead of an ID or a TYPE.

REF1=<FINDEVENT.e_quest_item>
REF2=<SRC.FINDTEVENT.t_magic_weapon>

Type of Change

  • Bug fix
  • New feature
  • Performance improvement
  • Refactoring
  • Documentation update
  • Build / CI change
  • Other (please describe): behaviour change

Related Issues

None.


Testing

  • Compiled with MSVC 2022 (Windows x64, Release) on top of the current dev.
  • The same change has been running on our shard (a private fork kept aligned with dev); the code in this PR was adapted to the current dev and was not tested in game in this form.

Checklist

  • Code compiles successfully
  • Changes follow the project's coding style
  • No unrelated code was modified
  • Documentation updated where necessary (Changelog.txt)
  • This PR does not introduce breaking changes (or they are documented)

Additional Notes

None.

🤖 Generated with Claude Code

DavideRei and others added 2 commits October 21, 2026 11:21
Like FINDID and FINDTYPE, they return the first item, searching also the sub containers, that has the given events
section in its EVENTS (FINDEVENT) or in the TEVENTS of its itemdef (FINDTEVENT). Useful to find items marked by an
event instead of an ID or a TYPE.
  REF1=<FINDEVENT.e_quest_item>
  REF2=<SRC.FINDTEVENT.t_magic_weapon>

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@mtwango
mtwango merged commit 8677e2f into Sphereserver:dev Oct 22, 2026
18 checks passed
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