Name: Perks
Version: 1.0
Author: Mr. Trivel
Created: 2015-11-28
What does it do?It's a perk system. Actors get perk points on specific levels when leveling up or on every level up.
Perk points can be spent in Perks Scene which can be accessed from menu.
Screenshots:
How to use?Plugin Commands:
AddPerkPoints [POINTS] [ACTOR_ID] - Adds perk points to actor via plugin call. E.g. AddPerkPoints 999 5
ChangePerksCommand [TRUE/FALSE] - Changes whether Perks command locked or unlocked in menu.
How to create perks:Place following data to Actor note field:
<perk>
<name: [PERKNAME]>
<requirements>
level: [LEVEL]
atk: [ATK]
def: [DEF]
matk: [MATK]
mdef: [MDEF]
agi: [AGI]
luk: [LUK]
perk: [NAME]
switch: [ID] [ON/OFF]
variable: [ID] [> >= < <= == !=] [VALUE]
</requirements>
<rewards>
state: [ID]
</rewards>
<description>
[TEXT]
</description>
</perk>
It just looks like a lot. Unnecessary requirements can be omitted.
<perk> - Start of the perk data.
</perk> - End of the perk data.
<name: [PERKNAME]> - Name of the perk. E.g. <name: Destroyer of Glasses>
<requirements> - Start of requirements for perk data.
atk/def/matk/mdef/agi/luk - stats required
level - level required
switch - is switch with ID ON or OFF
variable - how is variable of ID compared to VALUE (> - more than, >= more than or equal to, < less than, <= - less than or equal to, == - equal to, != - not equal to)
</requirements> - End of requirements for perk data.
<rewards> - Start of rewards data
state: [ID] - when perk is unlocked player gains permanent traits from the state of ID
</rewards> - Ends of rewards data
<description> - Description begins here
TEXT - can be multiline, can be in single line. Does text wrapping automatically.
</description> - Description ends
Examples of perks:
Plugin: <Link: Github>How to download Script. Click the link above, there will be a button named Raw, press Right Click -> Save As.
Terms of Use:Don’t remove the header or claim that you wrote this plugin.
Credit Mr. Trivel if using this plugin in your project.
Free for non-commercial projects.
For commercial use contact Mr. Trivel.