diff options
Diffstat (limited to 'db/constants.conf')
-rw-r--r-- | db/constants.conf | 50 |
1 files changed, 38 insertions, 12 deletions
diff --git a/db/constants.conf b/db/constants.conf index 6f87b2d51..700207c80 100644 --- a/db/constants.conf +++ b/db/constants.conf @@ -29,12 +29,24 @@ constants_db: { /************* Entry structure (short) ************************************ - Identifier: value // (int) + Identifier: value // (integer literal) ************* Entry structure (full) ************************************* Identifier: { - Value: value // (int) + Value: value // (integer literal) Deprecated: true // (boolean) Defaults to false. } + ************* Supported integer literals ********************************* + decimal: 1337 // no prefix + hexadecimal: 0x1337 // prefix: 0x + octal: 0o1337 // prefix: 0o + binary: 0b101101 // prefix: 0b + + Underscores can also be used as visual separators for digit grouping purposes: + 2_147_483_647 + 0x7FFF_FFFF + + Keep in mind that number literals cannot start or end with a separator and no + more than one separator can be used in a row (so 12_3___456 is illegal). **************************************************************************/ comment__: "Weekdays" @@ -426,19 +438,23 @@ constants_db: { mf_pairship_endable: 58 mf_nostorage: 59 mf_nogstorage: 60 + mf_nopet: 61 comment__: "Cell Properties" - cell_walkable: 0 - cell_shootable: 1 - cell_water: 2 - cell_npc: 3 - cell_basilica: 4 - cell_landprotector: 5 - cell_novending: 6 - cell_nochat: 7 + cell_walkable: 0 + cell_shootable: 1 + cell_water: 2 + cell_npc: 3 + cell_basilica: 4 + cell_landprotector: 5 + cell_novending: 6 + cell_nochat: 7 + cell_icewall: 8 + cell_noicewall: 9 + cell_noskill: 10 comment__: "Cell checks" - //cell_gettype: 0 + cell_gettype: 0 cell_chkwall: 1 cell_chkwater: 2 cell_chkcliff: 3 @@ -446,12 +462,15 @@ constants_db: { cell_chkreach: 5 cell_chknopass: 6 cell_chknoreach: 7 - //cell_chkstack: 8 + cell_chkstack: 8 cell_chknpc: 9 cell_chkbasilica: 10 cell_chklandprotector: 11 cell_chknovending: 12 cell_chknochat: 13 + cell_chkicewall: 14 + cell_chknoicewall: 15 + cell_chknoskill: 16 comment__: "Bonuses / Parameter IDs" bMaxHP: 6 @@ -1417,6 +1436,13 @@ constants_db: { SC_RESIST_PROPERTY_WIND: 667 SC_CLIENT_ONLY_EQUIP_ARROW: 668 SC_MADOGEAR: 669 + SC_POPECOOKIE: 670 + SC_VITALIZE_POTION: 671 + SC_SKF_MATK: 672 + SC_SKF_ATK: 673 + SC_SKF_ASPD: 674 + SC_SKF_CAST: 675 + SC_ALMIGHTY: 676 comment__: "Emotes" e_gasp: 0 |