Ok, made my first ini and is working. But as I have no clue how it works, I must ask: is there anything more to add? On reload game, on instructions, PI? Is this OK?
if I use same word more than once in ini, will the code read the correct one?
Ini file
Code:
[Player settings]
;The pillars will replace the objects listed below. Change values between 0 and 10 to set your custom replacement ratio for each object. (0=none, 10=maximum)
Den of Thieves=10
Learning Stones=10
Creature Banks=0
Crypts=0
Schools of Magic=0
Creature Generators=10
Taverns=10
Obelisks=3
Prisons=10
;The following value will automatically activate/deactivate (0/OFF, 1/ON) the watcher for all the game length. The watcher allows to the player to know what the other pillars offer.
;The premonition lasts 7 days. If option is off, the player will have to find the watcher by his own. Default value is off.
Watcher=1
Script:
Once the ini made, I had to delete the previous erm code which went through each option. Economized 300 script lines!
(This post was last modified: 20.08.2014 00:40 by Valery.)