Djinn System v1.1b​Created by Neon Black​ What is it? This script allows the user to create and use Djinn similar to the game "Golden Sun".  Djinn act as a "special piece of equipment" that can be used in battle to perform a special skill.  Djinn have 3 states: Equipped, Standby, and Cooldown.  When a Djinn is added to the party it starts out in standby.  A djinn on standby provides no special effects and must be equipped, either via the main menu option, or by selecting it from the menu...
#008000">Djinn System v1.1b​
#008000">Created by Neon Black​
What is it?
This script allows the user to create and use Djinn similar to the game "Golden Sun". Â Djinn act as a "special piece of equipment" that can be used in battle to perform a special skill. Â Djinn have 3 states: Equipped, Standby, and Cooldown. Â When a Djinn is added to the party it starts out in standby. Â A djinn on standby provides no special effects and must be equipped, either via the main menu option, or by selecting it from the menu in battle. Â A djinn that is equipped provides special bonuses to the player based on what the piece of equipment does. Â An equipped Djinn may also be released in battle to perform the skill associated with it. Â A Djinn released in this way enters standby. Â Cooldown has to do with the other ability in the game. Â Djinn on standby can be used to perform a special kind of summon. Â Djinn used in this way enter cooldown for a certain number of turns. Â After the cooldown is over, they go back to the equipped state.
How can I use it?
This script works with a few note tags that get placed into skills and equips.
Equip Tags:
- <fire djinn 80> - This tag consists of 3 parts. Â The first is the name of the element the djinn belongs to, in this case "fire". Â Elements are set in the config section of the script. Â The second is the word "djinn". Â The third is a number. Â This number relates to the skill that gets used when the djinn is released, in this case, skill ID 80.
Skill Tags:
- Skills are slightly different and use a several line tag. Â To do this, you start out with the tag <summon>. Â After this you put the summon costs for the skill in the format "# element", for example, to cost 2 fire djinn you would use "2 fire". Â Finally, you finish with </summon>. Â As an example, a skill that requires 2 water djinn and 3 earth djinn.
<summon>
2 water
3 earth
</summon>
What does it look like?
This shows the summon window in battle. Â Rather than skill costs, Djinn costs are displayed and the colour changes based on whether the cost is met or not. Â Also note the window that shows the Djinn on standby.
This shows the menu scene to equip or unequip Djinn outside of battle. Â Changes to stats are displayed up top.
What does it work with?
This script adds commands to the menu and battle scenes. Â I will most likely work with any battle system that keeps the Window_ActorCommand class mostly intact and any menu system that leaves the Window_MenuCommand class mostly intact.
This script is designed to work with CP's Battle Engine version 1.2 or higher, but is compatible with older versions. Â In version 1.2 of CPBE there are additional block tags that add the menus to the actor command window. Â There are :djinn and :djinn_summon. Â See the instruction section in the script on how to use these.
#b22222">How can I get the script?
Version 1.1b (base script, 8.19.2013) is available from myÂ
pastebin account here or my
dropbox account here.
I would like to use this code.

This work is licensed under aÂ
Creative Commons Attribution-NonCommercial 3.0 Unported License.
Permissions beyond the scope of this license may be available atÂ
http://cphouseset.wo...d-terms-of-use/.
Author's Disclaimer:
So I decided one Sunday that I wanted to make this script. Â No clue WHY I wanted to make it, I just did. Â And so I did. Â I guess this is what you call "practice". Â I had no reason to make it. Â I didn't need it. Â No one asked for it. Â I just made it. Â And it turned out surprisingly well. Â There have been some small issues with it, mostly lag which I am working to iron out of the system, but overall it runs quite excellently. Â I'm not sure if I want to add the class system that Golden Sun uses, but I do have certain provisions in the script to make it easy to add if I choose to. Â As always, enjoy!
This work is licensed under a Creative Commons Attribution-NonCommercial 3.0 Unported License. Permissions beyond the scope of this license may be available at http://cphouseset.wo...d-terms-of-use/. Author's Disclaimer: So I decided one Sunday that I wanted to make this script.  No clue WHY I wanted to make it, I just did.  And so I did.  I guess this is what you call "practice".  I had no reason to make it.  I didn't need it.  No one asked for it.  I just made it.  And...