Difference between revisions of "Better Spawner/Spawn Info/NPC"
From Pixelmon Wiki
(Created the page, complete) |
m (Link to NPC trainer) |
||
Line 1: | Line 1: | ||
− | SpawnInfoNPC are [[Better Spawner/Spawn Info|SpawnInfo]] for the general NPC. For NPC trainers, it is better to use [[Better Spawner/Spawn Info/NPC/Trainer|SpawnInfoTrainer]]. | + | SpawnInfoNPC are [[Better Spawner/Spawn Info|SpawnInfo]] for the general NPC. For [[NPC Trainer|NPC trainers]], it is better to use [[Better Spawner/Spawn Info/NPC/Trainer|SpawnInfoTrainer]]. |
These are the properties available when a [[Better Spawner/Spawn Info|SpawnInfo]] has <code>"typeID": "npc"</code>: | These are the properties available when a [[Better Spawner/Spawn Info|SpawnInfo]] has <code>"typeID": "npc"</code>: |
Revision as of 00:32, 5 June 2018
SpawnInfoNPC are SpawnInfo for the general NPC. For NPC trainers, it is better to use SpawnInfoTrainer.
These are the properties available when a SpawnInfo has "typeID": "npc"
:
Property label | Type of value | Description |
---|---|---|
"name"
|
Any of the following: "Trainer" ,"ChattingNPC" ,"Relearner" ,"Tutor" ,"Trader" ,"Shopkeeper" ,"NurseJoy" .
|
The type of NPC to spawn. The properties of the NPC will be generated automatically. |
Note: This is potentially going to be removed and replaced with specific SpawnInfo types for each type of NPC in future.