Groovy File Setup
ShawnieBoy edited this page Oct 5, 2014
·
2 revisions
Groovy files are essentially a renamed .txt file, however there are other formatting options to take into consideration.
- Unix-style line endings: Line endings are LF - This may be an issue for users running Windows, which defaults to CRLF. (LF=Line Feed, CRLF=Carriage Return, Line Feed)
- UTF-8 encoding: The files are encoded in UTF-8, which allows for a better representation of characters such as Ash
Æ
and em-dash—
- Tab characters represented as four spaces
- A blank line at the end of the file
Some default text editors may not have the options to define these settings, a code-friendly text editor may be preferred, such as Notepad++ for Windows.
Home
Getting Started
Upgrading
Command-line arguments
Feedback / Bug Reporting
Contributing
Keyboard shortcuts
Supported deck formats
Themes
Customizing Magarena
Translating Magarena
User Interface
Main Menu Screen
New duel
Deck view
Deck Editor
Mulligan screen
Game screen
Card Explorer
Card Script Viewer
Download images
Preferences
- Basic Structure
- Mana Property
- List of Costs
- List of Abilities
- List of Effects
- List of Conditions
- Table of Timings
- Groovy File Setup
- Groovy Basics
- Groovy Triggers
- Groovy Activations
- Groovy Events and Actions
- Groovy Statics