CitizensDev / Citizens

NPCs for Bukkit
citizensnpcs.co
Other
107 stars 53 forks source link

Questers - Collecting quests not working properly. #539

Open notcam45 opened 12 years ago

notcam45 commented 12 years ago

The collecting quests need some work as do the rewards, but the main thing is that collecting quests don't really work. By this I mean, collecting stone via an oven doesn't count toward your stones collected. Even spawning stones into your inventory doesn't work. I'm not sure how you collect stones other then that. Also the NPCs do not collect the items you gathered unless you take: true. But then they do not give a reward. So lets say the reward for collecting three stones is a wooden ax. In the config it says: '0': rewards: type: item id: wooden_axe amount: 1 take: true The NPC will take a wooden axe if you have one and not give a reward. What do I do?

quickclay commented 12 years ago

change take:true to take:false

luigivampa commented 12 years ago

Got a similar issue here. The quest.yml is:

CollectDirt: texts: description: Collect 10 Dirt. completion: Thank you for the help. This is for your troubles. acceptance: Challenge accepted. repeats: -1 objectives: '0': '0': type: collect materialid: 3 amount: 10 message: collected. rewards: '0': type: item id: 265 amount: 10 take: false

As it is, it works fine but if I try changing it to coal (263) or coal ore (16) it no longer recognises collecting the items. Tried it with wooden planks (5) as well but no collection of items. The code is valid because like I said it works for dirt. Go figure!