-
Notifications
You must be signed in to change notification settings - Fork 92
item on npc, and abusing sheep #111
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
Conversation
|
|
||
| export const action: itemOnNpcAction = (details) => { | ||
| details.player.busy = true; | ||
| details.player.playAnimation(893); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add to animation-ids.ts
| export const action: itemOnNpcAction = (details) => { | ||
| details.player.busy = true; | ||
| details.player.playAnimation(893); | ||
| details.player.outgoingPackets.playSound(761, 5); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add to sound-ids.ts
| // TODO: sheep says baa!, makes baa sound and goes backwards about 5 tiles | ||
| } else { | ||
| details.player.outgoingPackets.chatboxMessage('You get some wool.'); | ||
| details.player.giveItem(1737); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add to item-ids.ts
| export default new RunePlugin({ | ||
| type: ActionType.ITEM_ON_NPC_ACTION, | ||
| npcsIds: [43], | ||
| itemIds: [1735, 5603], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add to item-ids.ts
|
🐑 |
# Conflicts: # src/game-server.ts # src/plugins/plugin.ts
TheBlackParade
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
![]()
is missing forcewalk and forcetalk on the sheep, and replacing the poor sheep with ones without wool