Last updated
Last updated
On this page you will learn to create and use custom NPCs.
If you're a developer you can look at the to develop your own NPC for Ouranos, but if you're not and you want to create a merchant NPC, this page is for you.
First run the command :
This will create a new NPC file into the /plugins/Ouranos/NPC/ folder.
Change the values inside the NPC configuration file you just created. You can take inspiration from the Ouranos pre-made NPCs into the /plugins/Ouranos/NPC/Ouranos/
folder.
You can add your NPC into Ouranos or custom buildings (it can be either a city, village or structure). To do so, go into the building file you want to add your NPC, for example the bank.yml file located into the /plugins/Ouranos/cities/Ouranos/ folder.
Finally into the npc list, add your npc :
Every NPC made into the Ouranos plugin have the "ouranos" prefix. Only NPCs from other plugins have a different prefix