feat: demonstrate multiple NPC defs
This commit is contained in:
parent
797dcb4ff3
commit
de6618970d
1 changed files with 11 additions and 0 deletions
11
mknpcs.go
11
mknpcs.go
|
@ -14,5 +14,16 @@ func MakeNpcs() []Npc {
|
|||
},
|
||||
}
|
||||
npcs = append(npcs, helper01)
|
||||
|
||||
rulmarc := Npc {
|
||||
Name: "Rulmarc",
|
||||
Ai: NpcAi {
|
||||
PromptCharacterString: "You are a medieval villager called Rulmarc.",
|
||||
QueryFromTableName: "helper",
|
||||
},
|
||||
}
|
||||
|
||||
npcs = append(npcs, rulmarc)
|
||||
|
||||
return npcs
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue