// Master config file for Anphillia // Module version const string ANPH_VERSION = " "; // This sets the improved rest-script active or inactive. // It is used to randomly teleport monsters that are in the area to a player // that rests unguarded (= no other neutral/friendly creature near). // NO creatures are created, if the area is empty, then resting is save const int ANPH_REST_SURPRISE_ACTIVE = TRUE; // If Rest-Surprise is active, this sets the percentage chance that a // player that rests alone attracts one or more monsters const int ANPH_REST_SURPRISE_CHANCE = 50; // If Rest-Surprise is active, this sets the minimum number of creatures // to jump to the player const int ANPH_REST_SURPRISE_MIN = 1; // If Rest-Surprise is active, this sets the maximum number of creatures // to jump to the player const int ANPH_REST_SURPRISE_MAX = 4; // This sets the alignment restrictions for the factions on or off. // Drow Faction always is restricted. // If true, the following restrictions apply: // Cleaven: no Chaotic Evil // Axfell: no Lawful Good const int ANPH_ALIGNMENT_RESTRICTIONS = TRUE; // If set to TRUE, characters that don't kill things for a set amount of time // gain RP XP automatically const int ANPH_ROLEPLAY_XP = TRUE; // This specifies the number of beats a character has to remain non-killing // to be awarded with XP const int ANPH_ROLEPLAY_INTERVAL = 80; // This sets the base RP XP a character gains for being idle the set amount // of time. A random of 10 and his level*2 is added to this value const int ANPH_ROLEPLAY_BASEXP = 54; // This sets the maximum amount of combat experience a character can recieve // in a rest period. const int ANPH_MAX_XP_PER_REST = 5000; // If this is set to FALSE, pickpocketed items do not drop on death const int ANPH_DROP_STOLEN_ITEMS_ON_DEATH = TRUE; // This setting activates/deactivates CnR (Craftable natural Resources). // Once turned on, it's a bad idea to turn it off again ;) const int ANPH_CNR_ACTIVE = TRUE; // This setting sets the maximum level attainable in CnR. If you want to set no limit, use 255 as the value const int ANPH_CNR_MAX_LEVEL = 255; // FACTION SETTINGS // These settings set the factions joinable by players. If set to TRUE, the // join portals will be in the initial dream area, if set to FALSE, the portals // are created in another area (a DM could jump players there to have the faction invitational) // Cleaven const int FACTION_01_ACCESSIBLE_FOR_PLAYERS = TRUE; // Axfell const int FACTION_02_ACCESSIBLE_FOR_PLAYERS = TRUE; // Ranzington const int FACTION_03_ACCESSIBLE_FOR_PLAYERS = FALSE; // Drow const int FACTION_04_ACCESSIBLE_FOR_PLAYERS = FALSE; // Shilar const int FACTION_05_ACCESSIBLE_FOR_PLAYERS = FALSE; // Dahgmar const int FACTION_06_ACCESSIBLE_FOR_PLAYERS = FALSE; void AnphConfigSaveToLocalVars(object oOwner) { SetLocalString(oOwner, "ANPH_VERSION", ANPH_VERSION); SetLocalInt(oOwner, "ANPH_REST_SURPRISE_ACTIVE", ANPH_REST_SURPRISE_ACTIVE); SetLocalInt(oOwner, "ANPH_REST_SURPRISE_CHANCE", ANPH_REST_SURPRISE_CHANCE); SetLocalInt(oOwner, "ANPH_REST_SURPRISE_MIN", ANPH_REST_SURPRISE_MIN); SetLocalInt(oOwner, "ANPH_REST_SURPRISE_MAX", ANPH_REST_SURPRISE_MAX); SetLocalInt(oOwner, "ANPH_ALIGNMENT_RESTRICTIONS", ANPH_ALIGNMENT_RESTRICTIONS); SetLocalInt(oOwner, "ANPH_ROLEPLAY_XP", ANPH_ROLEPLAY_XP); SetLocalInt(oOwner, "ANPH_ROLEPLAY_INTERVAL", ANPH_ROLEPLAY_INTERVAL); SetLocalInt(oOwner, "ANPH_ROLEPLAY_BASEXP", ANPH_ROLEPLAY_BASEXP); SetLocalInt(oOwner, "ANPH_MAX_XP_PER_REST", ANPH_MAX_XP_PER_REST); SetLocalInt(oOwner, "ANPH_DROP_STOLEN_ITEMS_ON_DEATH", ANPH_DROP_STOLEN_ITEMS_ON_DEATH); SetLocalInt(oOwner, "ANPH_CNR_ACTIVE", ANPH_CNR_ACTIVE); SetLocalInt(oOwner, "ANPH_CNR_MAX_LEVEL", ANPH_CNR_MAX_LEVEL); SetLocalInt(oOwner, "FACTION_01_ACCESSIBLE_FOR_PLAYERS", FACTION_01_ACCESSIBLE_FOR_PLAYERS); SetLocalInt(oOwner, "FACTION_02_ACCESSIBLE_FOR_PLAYERS", FACTION_02_ACCESSIBLE_FOR_PLAYERS); SetLocalInt(oOwner, "FACTION_03_ACCESSIBLE_FOR_PLAYERS", FACTION_03_ACCESSIBLE_FOR_PLAYERS); SetLocalInt(oOwner, "FACTION_04_ACCESSIBLE_FOR_PLAYERS", FACTION_04_ACCESSIBLE_FOR_PLAYERS); SetLocalInt(oOwner, "FACTION_05_ACCESSIBLE_FOR_PLAYERS", FACTION_05_ACCESSIBLE_FOR_PLAYERS); SetLocalInt(oOwner, "FACTION_06_ACCESSIBLE_FOR_PLAYERS", FACTION_06_ACCESSIBLE_FOR_PLAYERS); }