11-26-2012, 09:15 AM
A nice video tutorial by DARKF0X127.
A few remarks (resuming the process):
The room rent is defined by the global "RoomCost" (10 gold), if you want to change that, create a new global, a new script (use the RentRoom script lines) and add the new global.
[youtube]http://www.youtube.com/watch?v=-1CT1PisZhY&hd=1[/youtube]
A few remarks (resuming the process):
- Create a merchant container (selling food and drinks) and put it outside the Inn interior. Please check this tutorial as well.
- Create a NPC make sure to add the RentRoom Script.
- Add the following factions: JobMerchant, JobInnKeeper, JobRentRoom & a custom faction for your NPC (see below).
- Set the ownership of the bed to the Inn keeper (your NPC).
- Create a new faction for your NPC, set the vendor time slot, select the VendorsItemsInnKeeper (buy/sell list) and select the merchant container.
- In the RentRoom script (properties) select the bed.
The room rent is defined by the global "RoomCost" (10 gold), if you want to change that, create a new global, a new script (use the RentRoom script lines) and add the new global.