Collect X item script

elusivex

Bad Guy
Premium User
Joined
Sep 3, 2019
Messages
42
Best answers
0
Reaction score
70
Location
Victoria
Below are some pictures of the example, basically I have a NPC that is a pirate who transports goods, the dockhand messed up and the crane dropped his load into the water. I'm going to make a part of the dock that allows you to enter the water but only in a certain area.

I want to know if its possible for a quest the npc gives to collect 15 of his dropped items and in return he'll reward you with 2000 gold and 5000 experience. I don't know the complexity of this or if its possible.

Item IDs to collect = 12477 / 12476

"You have collected one of Stedes valuables. 1 of 15 collected."

And when collected it gives the person a crate that weighs 5 oz. I guess I'll have to make a custom item for this however.





 

HjugO

Member
Joined
Feb 7, 2015
Messages
38
Best answers
2
Reaction score
7
Below are some pictures of the example, basically I have a NPC that is a pirate who transports goods, the dockhand messed up and the crane dropped his load into the water. I'm going to make a part of the dock that allows you to enter the water but only in a certain area.

I want to know if its possible for a quest the npc gives to collect 15 of his dropped items and in return he'll reward you with 2000 gold and 5000 experience. I don't know the complexity of this or if its possible.

Item IDs to collect = 12477 / 12476

"You have collected one of Stedes valuables. 1 of 15 collected."

And when collected it gives the person a crate that weighs 5 oz. I guess I'll have to make a custom item for this however.





Yes, it is possible. You can do in several ways, e.g. update storage value with item count.
 
Top