summaryrefslogblamecommitdiff
path: root/db/clans.conf
blob: cd7339a6d039d26d5956b07d24e0d852e175e659 (plain) (tree)








































































































































                                                                                                                                                       
//================= Hercules Database =====================================
//=       _   _                     _
//=      | | | |                   | |
//=      | |_| | ___ _ __ ___ _   _| | ___  ___
//=      |  _  |/ _ \ '__/ __| | | | |/ _ \/ __|
//=      | | | |  __/ | | (__| |_| | |  __/\__ \
//=      \_| |_/\___|_|  \___|\__,_|_|\___||___/
//================= License ===============================================
//= This file is part of Hercules.
//= http://herc.ws - http://github.com/HerculesWS/Hercules
//=
//= Copyright (C) 2017  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/>.
//=========================================================================
//= Clan System Database File.
//=========================================================================

clans: (
	/**************************************************************************
	************* Entry structure *********************************************
	***************************************************************************
	{
		Id: ID                            (int)
		Const: "Const Name"               (string)
		Name: "Clan Name"                 (string)
		Leader: "Leader Name"             (string)
		Map: "Map Name"                   (string)
		MaxMembers: Max                    (int, optional, overrides MaxMembers on conf/clans.conf)
		KickTime: Hours                   (int, optional, overrides InactivityKickTime)
		CheckTime: Hours                  (int, optional, overrides InactivityCheckTime)
		Buff: {
			Icon: State Icon ID/Constant  (int, you can find all ids on your lua folder: stateicon/efstids.lub or /src/map/constants.inc.h)
			Script: <"                    (optional)
				Script (it can be multi-line)
			">
		}
		Allies: [
			"CLAN_NAME_CONSTANT",         (string)
		]
		Antagonists: [
			"CLAN_NAME_CONSTANT",         (string)
		]
	},
	**************************************************************************/
	{
		Id: 1
		Const: "FACTION_LEGION"
		Name: "Legion of Aemil"
		Leader: "Q'Anon"
		Map: "001-2-39"
		Buff: {
			Icon: "SI_SWORDCLAN"
			Script: <"
				bonus(bStr, 2);
				bonus(bVit, 1);
				bonus(bMaxHP, 30);
				bonus(bMaxSP, 10);
			">
		}
		Antagonists: [
			"FACTION_BROTHERHOOD",
		]
	},
	{
		Id: 2
		Const: "FACTION_BROTHERHOOD"
		Name: "Brotherhood of Argaes"
		Leader: "Jonatas"
		Map: "001-1"
		Buff: {
			Icon: "SI_ARCWANDCLAN"
			Script: <"
				bonus(bDex, 2);
				bonus(bAgi, 1);
				bonus(bMaxHP, 30);
				bonus(bMaxSP, 10);
			">
		}
		Antagonists: [
			"FACTION_LEGION",
		]
	},
	{
		Id: 3
		Const: "FACTION_THIEF"
		Name: "The Thieves"
		Leader: "Tanveer"
		Map: "001-1"
		Buff: {
			Icon: "SI_GOLDENMACECLAN"
			Script: <"
				bonus(bLuk, 2);
				bonus(bDex, 1);
				bonus(bMaxHP, 30);
				bonus(bMaxSP, 10);
			">
		}
		Allies: [
			"FACTION_LEGION",
			"FACTION_BROTHERHOOD",
		]
		Antagonists: [
			"FACTION_MAGES",
		]
	},
	{
		Id: 4
		Const: "FACTION_MAGES"
		Name: "The Magic Guild"
		Leader: "Hocus Pocus Fidibus"
		Map: "001-1"
		Buff: {
			Icon: "SI_CROSSBOWCLAN"
			Script: <"
				bonus(bInt, 2);
				bonus(bAgi, 1);
				bonus(bMaxHP, 30);
				bonus(bMaxSP, 10);
			">
		}
		Antagonists: [
			"FACTION_THIEF",
		]
	},
)