Skip to content
Permalink
Browse files

Merge pull request #2506 from Asheraf/castledb_update

 Convert guild castle database to use libconfig
  • Loading branch information...
MishimaHaruna committed Jul 28, 2019
2 parents cd04fd9 + c67015a commit 893a01ab14ad56579a4c280ac7a302e4e6d7c755
@@ -0,0 +1,269 @@
//================= Hercules Database =====================================
//= _ _ _
//= | | | | | |
//= | |_| | ___ _ __ ___ _ _| | ___ ___
//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __|
//= | | | | __/ | | (__| |_| | | __/\__ \
//= \_| |_/\___|_| \___|\__,_|_|\___||___/
//================= License ===============================================
//= This file is part of Hercules.
//= http://herc.ws - http://github.com/HerculesWS/Hercules
//=
//= Copyright (C) 2019 Hercules Dev Team
//= Copyright (C) 2019 Asheraf
//=
//= 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/>.
//=========================================================================
//= Castle Database
//=========================================================================

castle_db: (
/**************************************************************************
************* Entry structure ********************************************
**************************************************************************
{
// ================ Mandatory fields ==============================
CastleID: (int) Unique ID of the castle. Must remain unique across all map-servers.
MapName: (string) Map name to be considered as the castle map.
CastleName: (string) Name of the castle (used by scripts and guardian name tags)
OnGuildBreakEventName: (string) NPC unique name to invoke ::OnGuildBreak on, when a occupied
castle is abandoned during guild break.
},
**************************************************************************/
//================
// Al De Baran
//================
{
CastleID: 0
MapName: "aldeg_cas01"
CastleName: "Neuschwanstein" // kRO : Noisyubantian
OnGuildBreakEventName: "Agit#aldeg_cas01"
},
{
CastleID: 1
MapName: "aldeg_cas02"
CastleName: "Hohenschwangau" // kRO : Hohensyubangawoo
OnGuildBreakEventName: "Agit#aldeg_cas02"
},
{
CastleID: 2
MapName: "aldeg_cas03"
CastleName: "Nuernberg" // kRO : Nyirenverk
OnGuildBreakEventName: "Agit#aldeg_cas03"
},
{
CastleID: 3
MapName: "aldeg_cas04"
CastleName: "Wuerzburg" // kRO : Byirtsburi
OnGuildBreakEventName: "Agit#aldeg_cas04"
},
{
CastleID: 4
MapName: "aldeg_cas05"
CastleName: "Rothenburg" // kRO : Rotenburk
OnGuildBreakEventName: "Agit#aldeg_cas05"
},
//================
// Geffen
//================
{
CastleID: 5
MapName: "gefg_cas01"
CastleName: "Repherion" // kRO : Reprion
OnGuildBreakEventName: "Agit#gefg_cas01"
},
{
CastleID: 6
MapName: "gefg_cas02"
CastleName: "Eeyolbriggar" // kRO : Yolbriger
OnGuildBreakEventName: "Agit#gefg_cas02"
},
{
CastleID: 7
MapName: "gefg_cas03"
CastleName: "Yesnelph" // kRO : Isinlife
OnGuildBreakEventName: "Agit#gefg_cas03"
},
{
CastleID: 8
MapName: "gefg_cas04"
CastleName: "Bergel" // kRO : Berigel
OnGuildBreakEventName: "Agit#gefg_cas04"
},
{
CastleID: 9
MapName: "gefg_cas05"
CastleName: "Mersetzdeitz" // kRO : Melsedetsu
OnGuildBreakEventName: "Agit#gefg_cas05"
},
//================
// Payon
//================
{
CastleID: 10
MapName: "payg_cas01"
CastleName: "Bright Arbor" // kRO : Mingting
OnGuildBreakEventName: "Agit#payg_cas01"
},
{
CastleID: 11
MapName: "payg_cas02"
CastleName: "Scarlet Palace" // kRO : Tiantan
OnGuildBreakEventName: "Agit#payg_cas02"
},
{
CastleID: 12
MapName: "payg_cas03"
CastleName: "Holy Shadow" // kRO : Fuying
OnGuildBreakEventName: "Agit#payg_cas03"
},
{
CastleID: 13
MapName: "payg_cas04"
CastleName: "Sacred Altar" // kRO : Honglou
OnGuildBreakEventName: "Agit#payg_cas04"
},
{
CastleID: 14
MapName: "payg_cas05"
CastleName: "Bamboo Grove Hill" // kRO : Zhulinxian
OnGuildBreakEventName: "Agit#payg_cas05"
},
//================
// Prontera
//================
{
CastleID: 15
MapName: "prtg_cas01"
CastleName: "Kriemhild" // kRO : Creamhilt
OnGuildBreakEventName: "Agit#prtg_cas01"
},
{
CastleID: 16
MapName: "prtg_cas02"
CastleName: "Swanhild" // kRO : Sbanhealt
OnGuildBreakEventName: "Agit#prtg_cas02"
},
{
CastleID: 17
MapName: "prtg_cas03"
CastleName: "Fadhgridh" // kRO : Lazrigees
OnGuildBreakEventName: "Agit#prtg_cas03"
},
{
CastleID: 18
MapName: "prtg_cas04"
CastleName: "Skoegul" // kRO : Squagul
OnGuildBreakEventName: "Agit#prtg_cas04"
},
{
CastleID: 19
MapName: "prtg_cas05"
CastleName: "Gondul" // kRO : Guindull
OnGuildBreakEventName: "Agit#prtg_cas05"
},
//================
// Novice Guilds
//================
{
CastleID: 20
MapName: "nguild_alde"
CastleName: "Earth"
OnGuildBreakEventName: "Agit_N01"
},
{
CastleID: 21
MapName: "nguild_gef"
CastleName: "Air"
OnGuildBreakEventName: "Agit_N02"
},
{
CastleID: 22
MapName: "nguild_pay"
CastleName: "Water"
OnGuildBreakEventName: "Agit_N03"
},
{
CastleID: 23
MapName: "nguild_prt"
CastleName: "Fire"
OnGuildBreakEventName: "Agit_N04"
},
//================
// Yuno
//================
{
CastleID: 24
MapName: "schg_cas01"
CastleName: "Himinn" // kRO : Himinn
OnGuildBreakEventName: "Manager#schg_cas01"
},
{
CastleID: 25
MapName: "schg_cas02"
CastleName: "Andlangr" // kRO : Andlangr
OnGuildBreakEventName: "Manager#schg_cas02"
},
{
CastleID: 26
MapName: "schg_cas03"
CastleName: "Viblainn" // kRO : Viblainn
OnGuildBreakEventName: "Manager#schg_cas03"
},
{
CastleID: 27
MapName: "schg_cas04"
CastleName: "Hljod" // kRO : Hljod
OnGuildBreakEventName: "Manager#schg_cas04"
},
{
CastleID: 28
MapName: "schg_cas05"
CastleName: "Skidbladnir" // kRO : Skidbladnir
OnGuildBreakEventName: "Manager#schg_cas05"
},
//================
// Rachel
//================
{
CastleID: 29
MapName: "arug_cas01"
CastleName: "Mardol" // kRO : Mardol
OnGuildBreakEventName: "Manager#arug_cas01"
},
{
CastleID: 30
MapName: "arug_cas02"
CastleName: "Cyr" // kRO : Cyr
OnGuildBreakEventName: "Manager#arug_cas02"
},
{
CastleID: 31
MapName: "arug_cas03"
CastleName: "Horn" // kRO : Horn
OnGuildBreakEventName: "Manager#arug_cas03"
},
{
CastleID: 32
MapName: "arug_cas04"
CastleName: "Gefn" // kRO : Gefn
OnGuildBreakEventName: "Manager#arug_cas04"
},
{
CastleID: 33
MapName: "arug_cas05"
CastleName: "Bandis" // kRO : Bandis
OnGuildBreakEventName: "Manager#arug_cas05"
},
)

This file was deleted.

0 comments on commit 893a01a

Please sign in to comment.
You can’t perform that action at this time.