CitizensDev/Citizens — Issue #579: Nothing seems to work...
Author: Flenix
Created: 2012-01-03 23:08:35+00:00
State: open

Some of my NPC's don't seem to be working. If I'm doing something wrong, please tell me.

Guards, for example, either attack everyone or noone. If I set it to attack just one person, they'll get anyone except me with aggro on, and noone at all with aggro off (Not even their target)
Here is a guard config:

'7':
guard:
flags:
kinuferu:
safe: 'false'
type: PLAYER
priority: '1'
aggressive: 'true'
type: BOUNCER
toggle: 'true'
radius: '5.0'
basic:
inventory: 276/1/0,AIR*35,
look-when-close: 'false'
name: Border_Guard
talk: 'true'
text: If Kinuferu tries to pass, we will kill him!
talk-when-close: 'true'
items: 276:0,310:0,311:0,312:0,313:0,
owner: Flenix
color: '15'
location: Silvania,-244.15625,29.0,-887.40625,89.367874,0.0
balance: '0.0'

Next up, quests:
Collection quests complete randomly. You can gather the stuff you need, and it wont do anything. Then anything from a few hours to a week later it will suddenly decide you have done it, even if you are idle when the message pops up.

My collection quest:
Help Niko:
texts:
description: Get some wood for Niko so he can rebuild his house.
completion: Here is the journal... Guard it well!
acceptance: Now where can we find some wood...
repeats: 1
objectives:
'0':
'0':
type: collect
materialid: 17
amount: 32
message: That should be enough wood for Niko.
rewards:
'0':
id: 340
amount: 1
data: 161
take: false

(I also tried "example2")

Wizards it took me a while to get working but they do now (I didn't realize for some reason it defaults to a feather instead of using anything?)
Blacksmiths seem to work fine,
Traders I've not used because of the bug you mentioned. What I did want to say is that Spout has inventory hooks, so it might well be worth integrating... most server admins have it by now anyway and it doesn't hurt to install if they don't...