Open genrmx opened 12 years ago
Add the following to the quest to give the player an item. I normally add it before the rewards.
initial:
'0':
type: item # Gives an item when conditions are met.
id: 268 # wooden_sword
amount: 1
take: false # Optional. By default, take: is false.
Good day,
I am trying to create a quest that 1 npc gives you a letter that you need to bring to another npc. when you did that there will come a quest chain.
I can accept the first part. But i will not recieve a letter to hand over.
When i walk to the soldier (he has ID 3) and i click on him then you get a message that you are busy on a quest.
What am i doing wrong?
"Letter for the Soldier": texts: description: "Letter for the Soldier" completion: "What? A letter for me? This better be good news! Dear Oscar, if you read this then i wasn't able to come back, I'm probably dead by now. I whas on duty to collect seeds for the king. I'm sorry. With Love Cinderella NOOOOOOO"
acceptance: "Thank you that you will deliver the bad news"
repeats: -1
objectives:
'0':
'0':
type: delivery
npcdestination: 3
materialid: 339
amount: 1
optional: False
finishhere: true
message: "You have delivered the bad news to the soldier."
rewards:
'0':
type: item
id: 339
amount: 1
'1':
type: quest
quest: "Zombie Slayer"
"Zombie Slayer": texts: description: "Please take revange for me on those evil creatures! Kill 10 Zombies for me!" completion: "Take this as a reward" acceptance: "Thank you for taking revange for me!" repeats: 0 objectives: '0': '0': type: hunt string: 'zombie' amount: 10 optional: False finishhere: False message: "You have slayed 10 zombie's. Return to the soldier!" rewards: '0': type: quest quest: "Skeleton Slayer" '1': type: item id: 266 amount: 1 take: False