Grants after time.

Discussion about Mods for Prison Architect

Moderator: NBJeff

Posts: 2
Joined: Sat Dec 09, 2017 3:25 am

Grants after time.

Postby Unilew » Sat Dec 09, 2017 3:35 am

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)



Return to “Modding”

Who is online

Users browsing this forum: No registered users and 10 guests