All pastes #961983 Raw Edit

Someone

public text v1 · immutable
#961983 ·published 2008-03-29 11:41 UTC
rendered paste body
f(!isIncluded("config/NTConfig.dbl")) include("config/NTConfig.dbl");

var NTConfig_PutAura;
var NTConfig_UseRedemption;

function NT_LoadConfig()
{
	//------------------------------------------------------------------------------
	// Boss configuration
	//------------------------------------------------------------------------------
	NTConfig_PublicMode = true;

	NTConfig_Script.push("Pindleskin"); NTConfig_NihlathakExtension = false;
	//NTConfig_Script.push("Nihlathak"); NTConfig_PindleskinExtension = false;
	NTConfig_Script.push("Eldritch"); NTConfig_ShenkExtension = false;
	NTConfig_Script.push("ThreshSocket");
	//NTConfig_Script.push("Frozenstein");
	//NTConfig_Script.push("Baal"); NTConfig_KillBaal = true;
	//NTConfig_Script.push("Diablo");
	NTConfig_Script.push("Mephisto");
	//NTConfig_Script.push("Travincal");
	NTConfig_Script.push("Summoner");
	NTConfig_Script.push("Duriel");
	//NTConfig_Script.push("AncientTunnels");
	NTConfig_Script.push("Andariel");
	NTConfig_Script.push("Countess");
	NTConfig_Script.push("Pit"); NTConfig_ClearPitLevel1 = false;
	//NTConfig_Script.push("Mausoleum");

	NTConfig_StartDelay = 0;	// Delay time in milliseconds to start;
	NTConfig_AreaDelay = 500;	// Delay time in milliseconds to change area;
	NTConfig_SnagDelay = 500;	// Delay time in milliseconds to wait before starting picking items

	NTConfig_SkipHealLife = 90;	// If you have more than this percent of life, you won't go to a healer
	NTConfig_SkipHealMana = 70;	// If you have more than this percent of mana, you won't go to a healer
	NTConfig_SkipHealCurses = false;// If you want to skip curses, set to true
	NTConfig_UseMerc = true;	// Set to true if you use a mercenary, will revive merc at a reviver npc.
	NTConfig_ResetWeapon = false;	// Set to true to reset weapon when reviving merc

	NTConfig_LifeThresh = 60;	// Drink a normal potion if under this percent of life.
	NTConfig_LifeRejuvThresh = 40;	// Drink a rejuvenation potion if under this percent of life.
	NTConfig_ManaThresh = 30;	// Drink a normal potion if under this percent of mana.
	NTConfig_ManaRejuvThresh = 0;	// Drink a rejuvenation potion if under this percent of mana.
	NTConfig_LifeChicken = 30;	// This is your chicken life percent. If you go below this life total, exit game.
	NTConfig_ManaChicken = 0;	// This is your chicken mana percent. If you go below this mana total, exit game.

	NTConfig_MercLifeThresh = 60;	// This is the threshold to use a life potion on your merc in percent.
	NTConfig_MercRejuvThresh = 40;	// This is the threshold to use a rejuv potion on your merc in percent.
	NTConfig_MercChicken = 10;	// This is your mercs chicken life percent. If he goes below this, exit game.

	NTConfig_FreeSpace = 2;		// Number of free columns. If less full columns are free stashing is set.

	// The numbers correspond to your inventory. Set 0 to keep whatever is there, 1 to stash it.
	NTConfig_Columns[0] = [1,1,0,0,0,0,0,0,0,0];
	NTConfig_Columns[1] = [1,1,0,0,0,0,0,0,0,0];
	NTConfig_Columns[2] = [1,1,0,0,0,0,0,0,0,0];
	NTConfig_Columns[3] = [1,1,0,0,0,0,0,0,0,0];

	NTConfig_MinGoldToStash = 100000;	// Maximum gold amount carried before going to stash

	//----------------------------------------------------------------------------------------------
	// Type of potion used in each belt column
	// Available types : "hp" = health | "mp" = mana | "rv" = rejuv. Can use other potion types too.
	// Keep equal types at adjacent columns. First HP then MP and then HP again is a bad choice.
	// Keep HP and MP at the beginning of the belt (in case you want to use rejuv and other types).
	// Rejuvenations MUST, I REPEAT MUST be at the end of the belt (last x columns).
	// To use rejuvenations only, put "rv" in all columns.
	//----------------------------------------------------------------------------------------------
	NTConfig_BeltColType[0] = "hp";
	NTConfig_BeltColType[1] = "mp";
	NTConfig_BeltColType[2] = "rv";
	NTConfig_BeltColType[3] = "rv";

	//----------------------------------------------------------------------------
	// Minimum amount of potions in each column before needing refilling
	// If there's less potions then this number in the column we go and shop.
	// Set to 4 to go shopping as soon as there's a potion missing.
	// Recommend leaving columns set to "rv" at 0. Since shops won't carry rejuvs.
	//----------------------------------------------------------------------------
	NTConfig_BeltColMin[0] = 4;
	NTConfig_BeltColMin[1] = 4;
	NTConfig_BeltColMin[2] = 0;
	NTConfig_BeltColMin[3] = 0;

	//-----------------------------------------------------------------------------------
	// SnagIt configuration
	// Here is a list of preset nip files assuming you use nip package.
	// If you want to add your own .nip files, just copy any line and enter the
	// To disable a .nip file, just add "//" at the start of the line or delete the line.
	//-----------------------------------------------------------------------------------
	NTConfig_NIPFilePath.push("uniques.nip");
	NTConfig_NIPFilePath.push("sets.nip");
	NTConfig_NIPFilePath.push("whites.nip");
	NTConfig_NIPFilePath.push("runes.nip");
	NTConfig_NIPFilePath.push("rares.nip");
	NTConfig_NIPFilePath.push("magics.nip");
	NTConfig_NIPFilePath.push("gems.nip");
	NTConfig_NIPFilePath.push("charmsjewels.nip");
	NTConfig_NIPFilePath.push("ringsamulets.nip");
	NTConfig_NIPFilePath.push("potions.nip");
	//NTConfig_NIPFilePath.push("moneymaker.nip");
	NTConfig_NIPFilePath.push("keys.nip");

	NTConfig_SnagRange = 40;	// Radius to check for dropped items. 40 is a good number here

	//------------------------------------------------------------------------------
	// GambleIt configuration
	// To specify what items to gamble, adjust the array with the desired item codes
	//------------------------------------------------------------------------------
	NTConfig_GambleIt = false;		// Enable gambling
	NTConfig_GambleStopGold = 300000;	// Gold amount to stop the gambling

	NTConfig_GambleItem.push("rin");	// Rings
	NTConfig_GambleItem.push("amu");	// Amulets
	NTConfig_GambleItem.push("ci0");	// Circlets
	NTConfig_GambleItem.push("ci1");	// Coronets
	//NTConfig_GambleItem.push("lgl");	// Leather Gloves
	//NTConfig_GambleItem.push("vgl");	// Heavy Gloves
	//NTConfig_GambleItem.push("mgl");	// Chain Gloves
	//NTConfig_GambleItem.push("tgl");	// Light Gauntlets
	//NTConfig_GambleItem.push("hgl");	// Gauntlets

	NTConfig_OpenChest = true;	// Set to true to open chest

	//------------------------------------------------------------------------------
	// Attack configuration
	//------------------------------------------------------------------------------
	NTConfig_PutAura = 113;		// What aura do you want to use on attack. Set to 0 if you won't
	NTConfig_AttackFirst = 0;	// Cast your first spell once. Set to 0 if you won't
	NTConfig_AttackBoss = 122;	// Cast your primary spell to boss.
	NTConfig_AttackOthers = 122;	// Cast your primary spell to others.
	NTConfig_AttackSecondary = 0;	// Cast your Secondary spell if monster is immune to your primary spell. Set to 0 if you won't
	NTConfig_ClearPosition = true;	// Set to true if you want to clear area after killing boss.
	NTConfig_CheckSafe = true;	// Set to true to check for curses, merc and potion (go to town if needed)

	NTConfig_UseRedemption = true;	// Set to true to use Redemption after killing monster.
}