From 5b983fc43b2f632a51ddbeef360e2462ad3ca055 Mon Sep 17 00:00:00 2001 From: Haru Date: Thu, 11 Feb 2016 16:35:08 +0100 Subject: Ported npc config to libconfig Ported to modern Hercules and cleaned up from Panikon's commits: ca009582cb22340951aa3e86c044ec1dca05df36, 6d6adf9bab2ba6f4274395018b8def566b880197 Signed-off-by: Haru --- npc/re/scripts_main.conf | 77 +++++++++++++++++++++++++----------------------- 1 file changed, 40 insertions(+), 37 deletions(-) (limited to 'npc/re/scripts_main.conf') diff --git a/npc/re/scripts_main.conf b/npc/re/scripts_main.conf index fd0d85fad..475e8d1be 100644 --- a/npc/re/scripts_main.conf +++ b/npc/re/scripts_main.conf @@ -9,7 +9,7 @@ //= This file is part of Hercules. //= http://herc.ws - http://github.com/HerculesWS/Hercules //= -//= Copyright (C) 2012-2015 Hercules Dev Team +//= Copyright (C) 2012-2016 Hercules Dev Team //= Copyright (C) Athena Dev Teams //= //= Hercules is free software: you can redistribute it and/or modify @@ -27,48 +27,51 @@ //========================================================================= //= Hercules Renewal Primary Scripts File //========================================================================= -// The idea of this new system is to make scripts more organized -// since the old system was rather messy with all the NPCs in one -// file. Now scripts are organized in to files arraged by type. -// Custom scripts are now in scripts_custom.conf, all other -// scripts are deemed as 'official'. You should place your NPCs -// in to scripts_custom.conf to follow the trend. -// -// Thanks, -// Ancyker and the rest of the Hercules Team -// -// Note: "Comments" are all text on the right side of a double slash "//" -// Whatever text is commented will not be parsed by the servers, and serves -// only as information/reference. +// The idea of this new system is to make scripts more organized since the old +// system was rather messy with all the NPCs in one file. Now scripts are +// organized in to files arraged by type. Custom scripts are now in +// scripts_custom.conf, all other scripts are deemed as 'official'. You should +// place your NPCs in to scripts_custom.conf to follow the trend. //========================================================================= -//================= Global Scripts Functions ============================== +//================= Disabled Scripts ====================================== +// All NPCs that you wish to remove from your loading list should be put in +// this file +@include "npc/scripts_removed.conf" + +//================= Global NPC list ======================================= +// Only files that are included here will be read by the server +npc_global_list: ( + +//- Global Scripts Functions - // Utilitarian functions used by many scripts. -npc: npc/other/Global_Functions.txt +"npc/other/Global_Functions.txt", -//================= Cash Shop Functions =================================== +//- Cash Shop Functions - // Used by cash shop items in the Item Database. -npc: npc/other/CashShop_Functions.txt +"npc/other/CashShop_Functions.txt", + +//- Common Script Files - +@include "npc/scripts.conf" +@include "npc/scripts_woe.conf" +@include "npc/scripts_jobs.conf" +@include "npc/scripts_mapflags.conf" +@include "npc/scripts_monsters.conf" +@include "npc/scripts_warps.conf" -//================= Common Script Files =================================== -import: npc/scripts.conf -import: npc/scripts_woe.conf -import: npc/scripts_jobs.conf -import: npc/scripts_mapflags.conf -import: npc/scripts_monsters.conf -import: npc/scripts_warps.conf +//- Renewal Script Files - +@include "npc/re/scripts.conf" +@include "npc/re/scripts_woe.conf" +@include "npc/re/scripts_jobs.conf" +@include "npc/re/scripts_mapflags.conf" +@include "npc/re/scripts_monsters.conf" +@include "npc/re/scripts_warps.conf" -//================= Renewal Script Files ================================== -import: npc/re/scripts.conf -import: npc/re/scripts_woe.conf -import: npc/re/scripts_jobs.conf -import: npc/re/scripts_mapflags.conf -import: npc/re/scripts_monsters.conf -import: npc/re/scripts_warps.conf +//- Development / Testing Script Files - +@include "npc/scripts_dev.conf" -//================= Development / Testing Script Files ==================== -import: npc/scripts_dev.conf +//- Custom Script Files - +// Your NPCs go in this file! +@include "npc/scripts_custom.conf" -//================= Custom Script Files =================================== -// - Your NPCs go in this file! -import: npc/scripts_custom.conf +) // npc_global_list -- cgit v1.2.3-70-g09d2