Adding gold

Post » Thu Apr 30, 2015 11:21 am

How would I make a script which adds gold to my character each day to simulate payment. I tried having a look at all the shop mods but I couldn't figure out a way to do it.

User avatar
Leilene Nessel
 
Posts: 3428
Joined: Sun Apr 15, 2007 2:11 am

Post » Thu Apr 30, 2015 11:37 am

Use the global variable Day and a short variable in your script to check it

like this

short currentday

if ( currentday != Day )

player->additem "gold_001" 100

endif

set currentday to Day

User avatar
Amy Siebenhaar
 
Posts: 3426
Joined: Fri Aug 10, 2007 1:51 am


Return to III - Morrowind