From f1461b78548b40da499922c9a669a03029726a3b Mon Sep 17 00:00:00 2001 From: Haru Date: Thu, 5 Nov 2015 17:17:58 +0100 Subject: Updated header for libconfig-based databases It now includes a GPL-compliant license/copyright mention Signed-off-by: Haru --- db/item_db2.conf | 45 ++++++++++++++++++++++++++++++++++++--------- 1 file changed, 36 insertions(+), 9 deletions(-) (limited to 'db/item_db2.conf') diff --git a/db/item_db2.conf b/db/item_db2.conf index ec60d9b2d..e1fafa9fd 100644 --- a/db/item_db2.conf +++ b/db/item_db2.conf @@ -1,15 +1,42 @@ +//================= Hercules Database ===================================== +//= _ _ _ +//= | | | | | | +//= | |_| | ___ _ __ ___ _ _| | ___ ___ +//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| +//= | | | | __/ | | (__| |_| | | __/\__ \ +//= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//================= License =============================================== +//= This file is part of Hercules. +//= http://herc.ws - http://github.com/HerculesWS/Hercules +//= +//= Copyright (C) 2014-2015 Hercules Dev Team +//= +//= Hercules is free software: you can redistribute it and/or modify +//= it under the terms of the GNU General Public License as published by +//= the Free Software Foundation, either version 3 of the License, or +//= (at your option) any later version. +//= +//= This program is distributed in the hope that it will be useful, +//= but WITHOUT ANY WARRANTY; without even the implied warranty of +//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +//= GNU General Public License for more details. +//= +//= You should have received a copy of the GNU General Public License +//= along with this program. If not, see . +//========================================================================= +//= Items Additional Database +//========================================================================= + item_db: ( -// Items Additional Database -// -/****************************************************************************** - ************* Entry structure ************************************************ - ****************************************************************************** +/************************************************************************** + ************* Entry structure ******************************************** + ************************************************************************** { - // =================== Mandatory fields =============================== + // ================ Mandatory fields ============================== Id: ID (int) AegisName: "Aegis_Name" (string, optional if Inherit: true) Name: "Item Name" (string, optional if Inherit: true) - // =================== Optional fields ================================ + // ================ Optional fields =============================== Type: Item Type (int, defaults to 3 = etc item) Buy: Buy Price (int, defaults to Sell * 2) Sell: Sell Price (int, defaults to Buy / 2) @@ -57,12 +84,12 @@ item_db: ( "> OnEquipScript: <" OnEquip Script (can also be multi-line) "> OnUnequipScript: <" OnUnequip Script (can also be multi-line) "> - // =================== Optional fields (item_db2 only) ================ + // ================ Optional fields (item_db2 only) =============== Inherit: true/false (boolean, if true, inherit the values that weren't specified, from item_db.conf, else override it and use default values) }, -******************************************************************************/ +**************************************************************************/ // THQ Quest Items // ============================================================= -- cgit v1.2.3-60-g2f50