CitizensDev/Citizens — Issue #621: Quest requirement broken
Author: xickle
Created: 2012-01-14 09:36:02+00:00
State: open

So far everything is working with the latest test build in 1.1! Including quests!

But I do have a problem not related to 1.1.
I can't get a quest to load. Here's the error:

2012-01-13 17:56:59 [INFO] [Citizens] Invalid type identifier for reward at Nether contact.requirements.0: reward not loaded.

And here's the quest in quests.yml:

"Nether contact":
texts:
description: "I'm planning to make something nobody has ever seen, and I need your help!"
completion: "Now go enchant stuff!"
acceptance: "First go to the nether and prove yourself worthy by killing 5 pigmen."
requirements:
'0':
'0':
type: rank
rank: Trusted
'1':
type: rank
rank: Admin
'2':
type: rank
rank: Moderator
'3':
type: rank
rank: Sponsor
repeats: 1
objectives:
'0':
'0':
type: hunt
string: 'pigzombie'
amount: 5
optional: False
finishhere: False
message: "I see you dealt with them. Now let's start gathering ingredients. First we need 10 pieces of glowstone dust, so go destroy 3 glowstone blocks."
'1':
'0':
type: destroy block
materialid: 89
amount: 3
optional: False
finishhere: False
message: "Save 10 glowstone dusts, and go destroy 20 gravel blocks."
'2':
'0':
type: destroy block
materialid: 13
amount: 20
optional: False
finishhere: False
message: "Save 1 Flint for later. Now for the hard part. We need a Blaze rod and 5 Nether warts. When you get them all, bring everything to me. Including glowstone dust and flint."
'3':
'0':
type: delivery
materialid: 348
amount: 10
npcdestination: 11
optional: False
finishhere: False
message: "That's all the dust."
'1':
type: delivery
materialid: 369
amount: 1
npcdestination: 11
optional: False
finishhere: False
message: "Nice and shiny rod! After you give me all the items, go make a Glistering melon."
'2':
type: delivery
materialid: 372
amount: 5
npcdestination: 11
optional: False
finishhere: False
message: "Wtf are these things? Ehh I'll take them."
'3':
type: delivery
materialid: 318
amount: 1
npcdestination: 11
optional: False
finishhere: False
message: "Ohh flint, yay!"
'4':
'0':
type: delivery
materialid: 382
amount: 1
npcdestination: 11
optional: False
finishhere: False
message: "Ohh I almost forgot! I will need a cauldron to put all these things into!"
'5':
'0':
type: delivery
materialid: 380
amount: 1
npcdestination: 11
optional: False
finishhere: False
message: "Thanks! Bring me a block of obsidian next, so I can put it on it. I don't feel comfortable cooking on wood."
'6':
'0':
type: delivery
materialid: 49
amount: 1
npcdestination: 11
optional: False
finishhere: False
message: "Nice... this thing is harder than rock! Give me just 1 stick so I can mix it all together."
'7':
'0':
type: delivery
materialid: 280
amount: 1
npcdestination: 11
optional: False
finishhere: True
message: "That's it! Thanks for the help, here's your enchantment table and other crap!"
rewards:
'0':
type: item
id: 116
amount: 1
take: False
'1':
type: money
money: 500
'2':
type: item
id: 47
amount: 5
take: False