Page 1 of 1

Grants after time.

Posted: Sat Dec 09, 2017 3:35 am
by Unilew
How would I add a time requirement (e.g. 72 hours) on a grant? Also a requirement where the player has to pay a sum of money when taking the grant.

This would be similar to the investment grants that come with the game. If I were able to see the lua code for those grants I could copy them, though I do not see a way that I can see them.


The following pseudo-code will help in the explanation of my goal:

Code: Select all

function MakeGrant()

    CreatGrant (take $1,000 and wait 5 hours, Give player $5,000)

end

MakeGrant()