The file "attribute.txt" contains the list of damage types for the game. Presumably (not yet confirmed) during startup, its data is loaded in order to create the database of damage types.
Therefore, only damage types which are defined in this file can be used in the game! Those not listed here will not function, even if their data is otherwise complete.
This file is also used to create the damage type numbers. Basically, damage types are numbered according to their place in the list starting with 0 without the possibility for any further modification. Since you usually access the IDs via shorthands and or the damage names themselves anyway, however, during the normal programming, you will not really need this information.
Basically, the relevant content of this file is a list of damage type names, one name per line. In addition, you can add comments by adding a semicolon (';') to a line or starting a line with a semicolon. Everything AFTER a semicolon will be considered a comment and will be ignored.
The following conventions apply to the names:
* Names can only contain alphanumeric ASCII characters, that is 'a' - 'z', '0' - '1', and 'A' - 'Z'. NO SPECIAL CHARACTERS ALLOWED! So, you can't use underscore, for instance.
* After a name, you can use TABS, SPACE, and semicolons (';'), the latter in order to start comments.
The current release version of the game includes the following executed data in this file (the comments with the Japanese damge type names are also included to add identification to the damage types should you encounter them in Japanese source code comments. Note that these comments are not executed code):
Beat ; 打撃(全体) BeatW ; 打撃(腰) BeatH ; 打撃(頭) Slash ; 斬 Thrust ; 突 Heat ; 熱 Water ; 水 Blow ; 風 Earth ; 地面 Freeze ; 冷気 Thunder ; 雷 Light ; 光 Dark ; 闇 Poison ; 毒 Suck ; 吸収 SoundWave ; 音波 Acid ; 酸
A few of the names are not clear in their English version, Therefore, I am providing these explanations:
Return to the StartData directory overview
Return to the main index