diff --git a/RotorOps-PERKS.md b/RotorOps-PERKS.md index 55517d1..97690b1 100644 --- a/RotorOps-PERKS.md +++ b/RotorOps-PERKS.md @@ -73,6 +73,15 @@ The script is desinged to be easy to create your own perks for your use or to ea - Max uses per mission - Points cost +You can easily change perk options from a do script, if you don't want to edit the script file. For example, you could do this any time after the script loads: + +``` + RotorOpsPerks.perks.fatcow.cost=100 + RotorOpsPerks.perks.fatcow.cooldown=60 + RotorOpsPerks.perks.fatcow.max_per_player=1 + RotorOpsPerks.perks.fatcow.max_per_mission=4 +``` + ### Creating Perks You can create your own perks by modifying the script, or from another script after the perks script has loaded (preferred method). The radio menu and all other aspects are handled automatically. First define a function that will fire when the perk is activated by a player. Then add the perk table to RotorOpsPerks.perks, like below: