summaryrefslogblamecommitdiff
path: root/db/pet_db2.conf
blob: 235e41c0b37ac69f94dcc72e7444f5e73c55b541 (plain) (tree)








































































                                                                                            
//================= Hercules Database =====================================
//=       _   _                     _
//=      | | | |                   | |
//=      | |_| | ___ _ __ ___ _   _| | ___  ___
//=      |  _  |/ _ \ '__/ __| | | | |/ _ \/ __|
//=      | | | |  __/ | | (__| |_| | |  __/\__ \
//=      \_| |_/\___|_|  \___|\__,_|_|\___||___/
//================= License ===============================================
//= This file is part of Hercules.
//= http://herc.ws - http://github.com/HerculesWS/Hercules
//=
//= Copyright (C) 2018-2020 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 <http://www.gnu.org/licenses/>.
//=========================================================================
//= Pets Database
//=========================================================================

pet_db:(
/**************************************************************************
 ************* Entry structure ********************************************
 **************************************************************************
{
	// ================ Mandatory fields ==============================
	Id: ID                               (int)
	Name: "Pet Name"                     (string)
	EggItem: "Egg Item Constant"         (string)
	// ================ Optional fields ===============================
	TamingItem: "Taming Item Constant"         (string, defaults to 0)
	FoodItem: "Food Item Constant"             (string, defaults to "Pet_Food" (ID=537))
	AccessoryItem: "Equipment Item Constant"   (string, defaults to 0)
	FoodEffectiveness: hunger points           (int, defaults to 80)
	HungerDelay: hunger time                   (int, defaults to 60)
	HungerDecrement: hunger points             (int, defaults to 1)
	Intimacy: {
		Initial: start intimacy                   (int, defaults to 250)
		FeedIncrement: feeding intimacy           (int, defaults to 10)
		OverFeedDecrement: overfeeding intimacy   (int, defaults to 100)
		OwnerDeathDecrement: owner die intimacy   (int, defaults to 20)
		StarvingDelay: starving time              (int, defaults to 20)
		StarvingDecrement: starving intimacy      (int, defaults to 20)
	}
	CaptureRate: capture rate            (int, defaults to 1000)
	Speed: speed                         (int, defaults to 150)
	SpecialPerformance: true/false       (boolean, defaults to false)
	TalkWithEmotes: convert talk         (boolean, defaults to false)
	AttackRate: attack rate              (int, defaults to 300)
	DefendRate: Defence attack           (int, defaults to 300)
	ChangeTargetRate: change target      (int, defaults to 800)
	AutoFeed: true/false                 (boolean, defaults to false)
	PetScript: <" Pet Script (can also be multi-line) ">
	EquipScript: <" Equip Script (can also be multi-line) ">
	Evolve: {
		EggID: {                     (string, Evolved Pet EggID)
			Name: Amount         (items required to perform evolution)
			...
		}
	}
},
**************************************************************************/
	// entries in this file will override the ones in /(pre-)re/pet_db.conf
)