diff options
author | Jesusalva Jesusalva <jesusalva@themanaworld.org> | 2022-12-22 22:31:37 +0000 |
---|---|---|
committer | Jesusalva Jesusalva <jesusalva@themanaworld.org> | 2022-12-22 22:31:37 +0000 |
commit | e4e0b65687502dd05d214aff5ef0213cdd50700e (patch) | |
tree | a2bd9af99e7870d031bbcb86fe43a884dc0ff027 /world/map/db/item_db.conf | |
parent | a0034867bf249e46dc1847efb48ae47c402c4003 (diff) | |
parent | b103dfe0d8c81fd80602e90522c12e59174ab4ca (diff) | |
download | serverdata-e4e0b65687502dd05d214aff5ef0213cdd50700e.tar.gz serverdata-e4e0b65687502dd05d214aff5ef0213cdd50700e.tar.bz2 serverdata-e4e0b65687502dd05d214aff5ef0213cdd50700e.tar.xz serverdata-e4e0b65687502dd05d214aff5ef0213cdd50700e.zip |
Merge branch 'mob_db' into 'master'
Mob db and Item db
See merge request legacy/serverdata!625
Diffstat (limited to 'world/map/db/item_db.conf')
-rw-r--r-- | world/map/db/item_db.conf | 226 |
1 files changed, 113 insertions, 113 deletions
diff --git a/world/map/db/item_db.conf b/world/map/db/item_db.conf index 50d7251b..239d4067 100644 --- a/world/map/db/item_db.conf +++ b/world/map/db/item_db.conf @@ -9,119 +9,119 @@ item_db: ( ************* Entry structure ************************************************ ****************************************************************************** { - // =================== Mandatory fields =============================== - Id: ID (int) - AegisName: "Aegis_Name" (string) - Name: "Item Name" (string) - // =================== Optional fields ================================ - Type: Item Type (string, defaults to "IT_ETC") - Buy: Buy Price (int, defaults to Sell * 2) - Sell: Sell Price (int, defaults to Buy / 2) - Weight: Item Weight (int, defaults to 0) - Atk: Attack (int, defaults to 0) - Matk: Magical Attack (int, defaults to 0, ignored in pre-re) - Def: Defense (int, defaults to 0) - Range: Attack Range (int, defaults to 0) - MinRange: Minimal Attack Range (int, defaults to 0) - Slots: Slots (int, defaults to 0) - Job: Job mask (int, defaults to all jobs = 0xFFFFFFFF) - Upper: Upper mask (bitmask array, string or int, defaults to "ITEMUPPER_ALL") - Gender: Gender (string, defaults to "SEX_ANY") - Loc: Equip location (bitmask array, string or int, required value for equipment) - WeaponLv: Weapon Level (int, defaults to 0) - EquipLv: Equip required level (int, defaults to 0) - EquipLv: [min, max] (alternative syntax with min / max level) - Refine: Refineable (boolean, defaults to true) - DisableOptions: true/false (boolean, defaults to false !!for equipments only!!) [Smokexyz] - Subtype: Item Subtype (int, defaults to 0) - W_FIST, ///< Bare hands - W_DAGGER, //1 - W_1HSWORD, //2 - W_2HSWORD, //3 - W_1HSPEAR, //4 - W_2HSPEAR, //5 - W_1HAXE, //6 - W_2HAXE, //7 - W_MACE, //8 - W_2HMACE, //9 - W_STAFF, //10 - W_BOW, //11 - W_KNUCKLE, //12 - W_MUSICAL, //13 - W_WHIP, //14 - W_BOOK, //15 - W_KATAR, //16 - W_REVOLVER, //17 - W_RIFLE, //18 - W_GATLING, //19 - W_SHOTGUN, //20 - W_GRENADE, //21 - W_HUUMA, //22 - W_2HSTAFF, //23 - ViewSprite: Sprite view ID (int, defaults to 0) - BindOnEquip: true/false (boolean, defaults to false) - ForceSerial: true/false (boolean, defaults to false) - BuyingStore: true/false (boolean, defaults to false) - Delay: Delay to use item (int, defaults to 0) - FloorLifeTime: Delay to remove item from ground (int, default flooritem_lifetime) - KeepAfterUse: true/false (boolean, defaults to false) - DropAnnounce: true/false (boolean, defaults to false) - AllowPickup: true/false (boolean, defaults to true) - Charm: true/false (boolean, defaults to false) - MaxFloorOffset: [x, y] (int, defaults to 8) - MaxFloorOffset: offset (int, defaults to 8) - Identified: true/false (boolean, default to true) - RequiredStr: required strength (int, default to 0) - RequiredAgi: required agility (int, default to 0) - RequiredVit: required vitality (int, default to 0) - RequiredInt: required intellect (int, default to 0) - RequiredDex: required dexterity (int, default to 0) - RequiredLuk: required luck (int, default to 0) - RequiredMaxHp: required max hp (int, default to 0) - RequiredMaxSp: required max sp (int, default to 0) - RequiredAtk: required attack (int, default to 0) - RequiredMAtkMin: required minimal magic attack (int, default to 0) - RequiredMAtkMax: required maximum magic attack (int, default to 0) - RequiredDef: required defence (int, default to 0) - RequiredMDef: required magic defence (int, default to 0) - RequiredSkill: required skill (int, default to 0) - UseEffect: effect if use/equip item success (int, default to -1) - UseFailEffect: effect if use/equip item failed (int, default to -1) - UnequipEffect: effect if unequip item success (int, default to -1) - UnequipFailEffect: effect if unequip item failed (int, default to -1) - Trade: { (defaults to no restrictions) - override: GroupID (int, defaults to 100) - nodrop: true/false (boolean, defaults to false) - notrade: true/false (boolean, defaults to false) - partneroverride: true/false (boolean, defaults to false) - noselltonpc: true/false (boolean, defaults to false) - nocart: true/false (boolean, defaults to false) - nostorage: true/false (boolean, defaults to false) - nogstorage: true/false (boolean, defaults to false) - nomail: true/false (boolean, defaults to false) - noauction: true/false (boolean, defaults to false) - } - Nouse: { (defaults to no restrictions) - override: GroupID (int, defaults to 100) - sitting: true/false (boolean, defaults to false) - } - Stack: [amount, type] (int, defaults to 0) - Sprite: SpriteID (int, defaults to 0) - Script: <" - Script - (it can be multi-line) - "> - OnEquipScript: <" OnEquip Script (can also be multi-line) "> - OnUnequipScript: <" OnUnequip Script (can also be multi-line) "> - OnDropScript: <" OnDrop Script (can also be multi-line) "> - OnTakeScript: <" OnTake Script (can also be multi-line) "> - OnInsertCardScript: <" OnInsert card Script (can also be multi-line) "> - AllowCards: { - idNUM: amount (NUM is id number, amount is amount) - } - AllowAmmo: { - idNUM: something (NUM is id number) - } + // =================== Mandatory fields =============================== + Id: ID (int) + AegisName: "Aegis_Name" (string) + Name: "Item Name" (string) + // =================== Optional fields ================================ + Type: Item Type (string, defaults to "IT_ETC") + Buy: Buy Price (int, defaults to Sell * 2) + Sell: Sell Price (int, defaults to Buy / 2) + Weight: Item Weight (int, defaults to 0) + Atk: Attack (int, defaults to 0) + Matk: Magical Attack (int, defaults to 0, ignored in pre-re) + Def: Defense (int, defaults to 0) + Range: Attack Range (int, defaults to 0) + MinRange: Minimal Attack Range (int, defaults to 0) + Slots: Slots (int, defaults to 0) + Job: Job mask (int, defaults to all jobs = 0xFFFFFFFF) + Upper: Upper mask (bitmask array, string or int, defaults to "ITEMUPPER_ALL") + Gender: Gender (string, defaults to "SEX_ANY") + Loc: Equip location (bitmask array, string or int, required value for equipment) + WeaponLv: Weapon Level (int, defaults to 0) + EquipLv: Equip required level (int, defaults to 0) + EquipLv: [min, max] (alternative syntax with min / max level) + Refine: Refineable (boolean, defaults to true) + DisableOptions: true/false (boolean, defaults to false !!for equipments only!!) [Smokexyz] + Subtype: Item Subtype (int, defaults to 0) + W_FIST, ///< Bare hands + W_DAGGER, //1 + W_1HSWORD, //2 + W_2HSWORD, //3 + W_1HSPEAR, //4 + W_2HSPEAR, //5 + W_1HAXE, //6 + W_2HAXE, //7 + W_MACE, //8 + W_2HMACE, //9 + W_STAFF, //10 + W_BOW, //11 + W_KNUCKLE, //12 + W_MUSICAL, //13 + W_WHIP, //14 + W_BOOK, //15 + W_KATAR, //16 + W_REVOLVER, //17 + W_RIFLE, //18 + W_GATLING, //19 + W_SHOTGUN, //20 + W_GRENADE, //21 + W_HUUMA, //22 + W_2HSTAFF, //23 + ViewSprite: Sprite view ID (int, defaults to 0) + BindOnEquip: true/false (boolean, defaults to false) + ForceSerial: true/false (boolean, defaults to false) + BuyingStore: true/false (boolean, defaults to false) + Delay: Delay to use item (int, defaults to 0) + FloorLifeTime: Delay to remove item from ground (int, default flooritem_lifetime) + KeepAfterUse: true/false (boolean, defaults to false) + DropAnnounce: true/false (boolean, defaults to false) + AllowPickup: true/false (boolean, defaults to true) + Charm: true/false (boolean, defaults to false) + MaxFloorOffset: [x, y] (int, defaults to 8) + MaxFloorOffset: offset (int, defaults to 8) + Identified: true/false (boolean, default to true) + RequiredStr: required strength (int, default to 0) + RequiredAgi: required agility (int, default to 0) + RequiredVit: required vitality (int, default to 0) + RequiredInt: required intellect (int, default to 0) + RequiredDex: required dexterity (int, default to 0) + RequiredLuk: required luck (int, default to 0) + RequiredMaxHp: required max hp (int, default to 0) + RequiredMaxSp: required max sp (int, default to 0) + RequiredAtk: required attack (int, default to 0) + RequiredMAtkMin: required minimal magic attack (int, default to 0) + RequiredMAtkMax: required maximum magic attack (int, default to 0) + RequiredDef: required defence (int, default to 0) + RequiredMDef: required magic defence (int, default to 0) + RequiredSkill: required skill (int, default to 0) + UseEffect: effect if use/equip item success (int, default to -1) + UseFailEffect: effect if use/equip item failed (int, default to -1) + UnequipEffect: effect if unequip item success (int, default to -1) + UnequipFailEffect: effect if unequip item failed (int, default to -1) + Trade: { (defaults to no restrictions) + override: GroupID (int, defaults to 100) + nodrop: true/false (boolean, defaults to false) + notrade: true/false (boolean, defaults to false) + partneroverride: true/false (boolean, defaults to false) + noselltonpc: true/false (boolean, defaults to false) + nocart: true/false (boolean, defaults to false) + nostorage: true/false (boolean, defaults to false) + nogstorage: true/false (boolean, defaults to false) + nomail: true/false (boolean, defaults to false) + noauction: true/false (boolean, defaults to false) + } + Nouse: { (defaults to no restrictions) + override: GroupID (int, defaults to 100) + sitting: true/false (boolean, defaults to false) + } + Stack: [amount, type] (int, defaults to 0) + Sprite: SpriteID (int, defaults to 0) + Script: <" + Script + (it can be multi-line) + "> + OnEquipScript: <" OnEquip Script (can also be multi-line) "> + OnUnequipScript: <" OnUnequip Script (can also be multi-line) "> + OnDropScript: <" OnDrop Script (can also be multi-line) "> + OnTakeScript: <" OnTake Script (can also be multi-line) "> + OnInsertCardScript: <" OnInsert card Script (can also be multi-line) "> + AllowCards: { + idNUM: amount (NUM is id number, amount is amount) + } + AllowAmmo: { + idNUM: something (NUM is id number) + } }, ******************************************************************************/ { |