Creation of a Shop
From Djinni Wiki
by Jarosław Oziemblewski
Click on: File > New > Template > Shop (shown in the picture below)
A a result a new window - New shop template - appears on the right side of the screen
The most important thing in this window is the Inventory contents option (marked in blue). Clink on the blue icon on the right. A new window will appear:
Define the shop’s inventory by clicking and dragging the items from the right to the down-left window. Click OK to finish.
The next thing to do is to set profiles. Each item is assigned to one of 23 categories (they are set in the item’s template). Each category can be assigned one out of the following 6 features: - Default – items of this category are sold for full price and bought for the 1/5 of it - Unavailable – items of this category cannot be sold or bought - Very Adverse - items of this category are sold for full price and bought for the 1/100 of it - Adverse - items of this category are sold for full price and bought for the 1/10 of it - Advantageous - items of this category are sold for full price and bought for the ½ of it - Very Advantageous - items of this category are sold and bought for full price - BuyOnlyDefault - items of this category are sold for full price but are not bought.
You can also fill in the Name and Comment fields. They are of no consequence to the game but it makes it easier for you to see what’s the purpose of the file.
Next, save the file on the disc:
Enter a name for the Shop File and click Save The next thing is to add the Shop to the character’s template.
Find the Store option in the character’s template. Enter the name of the Shop File in the window on the right, or choose the file from the list by clicking the icon on the right.
The next thing is to add the Trade option to the character’s dialogue.
Click the left mouse button on the dialogue line which will lead to the Trade option (example marked in gray). Next, click on the Properties Tag at the upper right corner and choose the Gameplay option from the drop-down menu on the Conv Type (marked in blue).
The icon by the dialogue line will change and new options will appear in the Properties window. Set Trade as the Action Type.
Previous tutorial: Creation of a Resting Place
Next tutorial: Creation of a Storage







