Difference between revisions of "Part 4: adding the skillbook to a vendor"
From Divinity Engine Wiki
m |
|||
Line 32: | Line 32: | ||
<br /> | <br /> | ||
=== Step 3: Adding the treasure table to the vendor === | === Step 3: Adding the treasure table to the vendor === | ||
+ | |||
+ | <br /> | ||
+ | == Troubleshooting == | ||
+ | Several things can cause a skillbook to not show up on a vendor's sell list: | ||
+ | * The item was not generated out of that treasure table | ||
+ | *: Items in treasure tables are randomly generated, if an item does not show up it might just be bad RNG! | ||
+ | * The "Story Item" flag is checked in the skillbook properties | ||
<br /> | <br /> |
Revision as of 15:53, 18 September 2017
This article is part of a 4-part series on how to create, edit and use a new skill.
Part 1: creating a new skill |
Part 2: creating a skill from existing |
Part 3: creating and using a skillbook |
Part 4: adding the skillbook to a vendor |
The data used in this article was created in parts 1 & 2 of the series.
Contents
Description
Vendors are NPC characters that buy or sell items. In order to assign our skillbook to a vendor npc, we will need to do a couple of things:
- Create a treasure table
- Create a vendor
- Add the treasure table to the vendor
Setting up a vendor
Step 1: Creating a treasure table
Step 2: Creating a vendor
Step 3: Adding the treasure table to the vendor
Troubleshooting
Several things can cause a skillbook to not show up on a vendor's sell list:
- The item was not generated out of that treasure table
- Items in treasure tables are randomly generated, if an item does not show up it might just be bad RNG!
- The "Story Item" flag is checked in the skillbook properties