Prior to this commit, addModalTooltip only added a button listener to
update the tooltip when its state changed. This, however, did not set
the initial tooltip and leaves modal tooltip buttons in the client
lacking a tooltip until they are toggled. This commit sets the initial
tooltip state using the same toggle check as is used in the listener.
When looting the herbiboar with an open herb sack, instead of receiving
the herbs to your inventory, the herbs are deposited to the sack
directly and the player receives chat messages indicating the herbs they
received. This commit adds support for reading those chat messages when
looting the herbiboar.
This change incidentally fixes an issue which arose when the open herb
sack was introduced to the game where any inventory change after looting
the herbiboar would be tracked as herbiboar loot, such as drinking a
stamina potion.
Closes#10655Fixes#10718
1) fix plugin to correctly identify blocked hits as a spec being used
2) fix when hitsplats appear on the same tick as uninteracting with the
target npc
3) fix when hitsplats appear in between the spec and its hitsplat on
other targets
4) fix specs not registering when not having to path to monsters due to
the spec varbit changing prior to the interact event firing
There's a set of guaranteed tracks that can be used when calculating the path
when tracking herbiboars. The tracks are listed on the osrs wiki.
Co-authored-by: Jordan Atwood <jordan.atwood423@gmail.com>
Adds the region of the world the scout was performed.
Before: W303 Username
Now: W303 (DE) Username
Co-authored-by: melkypie <melkypie@users.noreply.github.com>
The key remapping plugin has no way to operate being on and also not
blocking chat input, due to the other features of the plugin all doing
key remaps and thus are required to know whether or not you are trying
to type, or using a remapped key.
This moves the blocking to the core, which we think won't affect many
users anyway, and those that it does can just remap their mouse keys.