Name            "Improved Grant Creation"
Author          lammas123
Description     "Version: v1.1\n\nThis mod doesn't change anything if you use it as it is! You're supposed to open the mods folder and edit the grants.lua file to use the create_grant() function!\n\nPersonally I come from a Javascript/JSON background (I make Minecraft Bedrock addons), and I found that the current way grants (and most things in the game) are made is, interesting to say the least. So I decided I'd try and make a new way of creating grants for Prison Architect!\n\nI could go ahead and explain how it works in detail here, but it's not too difficult to figure out how it works if you look into the code. So to briefly describe it, you put a lua table with some data into the create_grant() function (you can view the grants.lua file to see plenty of examples), and then the function reads the information you provided in that table and does the more complicated grant creation stuff for you.\n\nThere are two commented out test grants, and all of the vanilla grants have been recreated using the create_grant() function, so you'll have plenty to reference from if you're stuck making a grant with the create_grant() function.\n\nI made the create_grant() function aware of all of the pre requisites and requirements the vanilla grants.lua file uses, so if there are any functions that do work for grants that I didn't include, it's because they weren't there for me to see and add, and because none of them were well documented enough online to try (I looked for a while and found nothing all that useful). So if there are any things I missed, please let me know what they are and how they work so they can be added in, and also let me know of any issues with the create_grant() function if there are any, I tested just about everything there is, but I may have missed something!\n\nThere's also two other functions, create_vanilla_grants() and a commented out disable_vanilla_grants(). create_vanilla_grants() recreates all of the vanilla grants using the create_grant() function (let me know if I messed up when recreating any of the vanilla grants), and disable_vanilla_grants() hides all of the vanilla grants and makes them never unlock (great if you want to create your own grant progression system from scratch without the vanilla grants, but will forever show that there are 24+ hidden grants)\n\nAnyone is free to use the code in this mod, though I'd like if people would leave the credit just before the create_grant() function untouched and (optionally) credit me in the description of your mods that use it!"
Version         v1.1
IsTranslation   false
FileID          F2901577865
SteamAuthor     A76561199435790209