CitizensDev/Citizens — Issue #488: Quests not detected
Author: mmuziek
Created: 2011-12-18 14:14:58+00:00
State: open

hey i have written a Quest file but it seems it doesnt load the quests can anyone see whats the problem.

heres my code
-----------------------------------------

q1:
texts:
description: the first mission
completion: Great work welcome to the server heres ur reward.
acceptance: Challenge accepted.
repeats: -1
objectives:
'0':
'0':
type: build
materialid: 5
amount: 16
optional: false
finishhere: false
message: Built. Now come back here!
rewards:
'0':
type: item
id: 5
amount: 64
take: False

q3:
texts:
description: A mob quest - kill any 3 of zombie, pig or chicken
completion: You win!
acceptance: Challenge accepted.
repeats: -1
objectives:
'0':
'0':
type: hunt
string: 'zombie, pig, chicken'
amount: 3
optional: false
finishhere: false
message: Monsters slain \o/.
rewards:
'0':
type: item
id: 17
amount: 128
take: False

q2:
texts:
description: Collecting recources
completion: You win! Give me that stone.
acceptance: Challenge accepted.
repeats: 1
objectives:
'0':
'0':
type: collect
materialid: 17
amount: 64
optional: false
finishhere: false
message: A voice echoes... I want that log now!
rewards:
'0':
type: item
id: 17
amount: 64
take: True

q5:
texts:
description: Masters of the server
completion: Amazing! ur really settled.
acceptance: Challenge accepted.
repeats: 0
objectives:
'0':
'0':
type: build
materialid: 5
amount: 128
optional: false
finishhere: false
message: Wood placed!
'1':
type: build
materialid: 20
amount: 64
optional: False
finishhere: True
message: nice light no torches needed!
rewards:
'0':
type: item
id: 57
amount: 2
take: False

q4:
texts:
description: Creeper Raid! help us out of those damm creepers!
completion: Very good thanks for getting us out of the SHit.
acceptance: Challenge accepted.
repeats: 2
objectives:
'0':
'0':
type: hunt
string: 'creeper'
amount: 25
optional: false
finishhere: false
message: very nice! now come claim ur reward.
rewards:
'0':
type: money
money: 17 (Wood
)

q6:
texts:
description: apple down!
completion: Thanks for ur help
acceptance: Quest accepted now go harvest some apples
repeats: 0
objectives:
'0':
'0':
type: collect
materialid: 260
amount: 64
optional: False
finishhere: True
message: 64 apples thats enough
rewards:
'0':
type: item
id: 260
amount: 64
take: True
'1':
type: money
money: 35

"the knights of UBMC":
texts:
description: the knights of ubmc
completion: o thank god ur alive thanks for the help
acceptance: Go ahead and may god be with u
repeats: 5
objectives:
'0':
'0':
type: hunt
string: 'zombie'
amount: 20
optional: False
finishhere: False
message: zombies slayn
'1':
type: hunt
string: 'cave spider'
amount: 20
optional: False
finishhere: False
message: zombies slayn
'2':
type: hunt
string: 'creeper'
amount: 20
optional: False
finishhere: True
message: zombies slayn
rewards:
'0':
type: item
id: 267
amount: 1
take: False
'1':
type: item
id: 261
amount: 1
take: False
'2':
type: item
id: 262
amount: 128
take: False

q7:
texts:
description: the hell on earth
completion: good job heres ur reward
acceptance: go take them down
repeats: 4
objectives:
'0':
'0':
type: hunt
string: 'magma cube'
amount: 10
optional: False
finishhere: True
message: magma cubes slayn
rewards:
'0':
type: item
id: 378
amount: 5
take: False

q8:
texts:
description: farming is a need
completion: thank you for ur help
acceptance: go farm and let the sun shine
repeats: 0
objectives:
'0':
'0':
type: build
materialid: 295
amount: 16
optional: False
finishhere: False
message: seeds planted
'1':
type: build
materialid: 362
amount: 16
optional: False
finishhere: False
message: melon seeds planted
'2':
type: build
materialid: 361
amount: 16
optional: False
finishhere: True
message: pumpkin seeds planted
rewards:
'0':
type: item
id: 293
amount: 1
take: False

q9:
texts:
description: need some money?
completion: heres ur loan
acceptance: very well. go work for ur money
repeats: -1
objectives:
'0':
'0':
type: collect
materialid: 367
amount: 64
optional: False
finishhere: True
message: all this flesh is rotten
rewards:
'0':
type: item
id: 367
amount: 64
take: True
'1':
type: money
money: 20
----------------------------------------------------------------------
when i use /quest reload i get
loaded 0 quests.
when i restart i get parse errors. but i didnt use any TAB in the file and i cant seems to find the issue.

thanks in advance