Skip to content

Conversation

@Promises
Copy link
Collaborator

@Promises Promises commented Mar 1, 2020

is missing forcewalk and forcetalk on the sheep, and replacing the poor sheep with ones without wool


export const action: itemOnNpcAction = (details) => {
details.player.busy = true;
details.player.playAnimation(893);
Copy link
Contributor

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);
Copy link
Contributor

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);
Copy link
Contributor

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],
Copy link
Contributor

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

@TheBlackParade
Copy link
Contributor

🐑

@TheBlackParade TheBlackParade added the new feature A new feature or request label Mar 2, 2020
Copy link
Contributor

@TheBlackParade TheBlackParade left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@TheBlackParade TheBlackParade merged commit c281e35 into runejs:master Mar 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new feature A new feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants