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 Silent Saylink Methods to Perl/Lua #4177

Merged
merged 1 commit into from Mar 14, 2024

Conversation

Kinglykrab
Copy link
Contributor

@Kinglykrab Kinglykrab commented Mar 9, 2024

Perl

  • Add quest::silent_saylink(text).
  • Add quest::silent_saylink(text, link_name).

Lua

  • Add eq.silent_say_link(text).
  • Add eq.silent_say_link(text, link_name).

Notes

  • Allows operators to more easily use silent saylinks without an optional silent parameter in the traditional saylink methods.
  • Sets silent parameter default to false so we do not need to pass false when we are not using a silent saylink.
  • Changes all places that used EQ::SayLinkEngine::GenerateQuestSaylink to Saylink::Create where possible.
  • Removed questmgr method that is no longer necessary.
  • Cleaned up Lua methods to use the strings directly instead of building one out.

# Perl
- Add `quest::silent_saylink(text)`.
- Add `quest::silent_saylink(text, link_name)`.

# Lua
- Add `eq.silent_say_link(text)`.
- Add `eq.silent_say_link(text, link_name)`.

# Notes
- Allows operators to more easily use silent saylinks without an optional silent parameter in the traditional saylink methods.
- Sets `silent` parameter default to `false` so we do not need to pass `false` when we are not using a a silent saylink.
- Changes all places that used `EQ::SayLinkEngine::GenerateQuestSaylink` to `Saylink::Create` where possible.
- Removed `questmgr` method that is no longer necessary.
- Cleaned up Lua methods to use the strings directly instead of building one out.
@Kinglykrab Kinglykrab merged commit e48dae2 into master Mar 14, 2024
2 checks passed
@Kinglykrab Kinglykrab deleted the quest_api/silent_saylinks branch March 14, 2024 00:27
@Akkadius Akkadius mentioned this pull request Mar 23, 2024
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.

None yet

2 participants