All pastes #931461 Raw Edit

Untitled

public text v1 · immutable
·published 2008-03-07 05:56 UTC
rendered paste body
print("ÿc9Checking: isIncluded(config/NTConfig.dbl) <libs/config/NTConfig_Nerfed.dbj>");
if(!isIncluded("config/NTConfig.dbl")) include("config/NTConfig.dbl");
print("ÿc9Done checking: isIncluded(config/NTConfig.dbl), Starting: NT_LoadConfig() <libs/config/NTConfig_Nerfed.dbj>");

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

	print("ÿc9Adding bosses <libs/config/NTConfig_Nerfed.dbj>");
	//NTConfig_Script.push("Pit");
	NTConfig_Script.push("Countess");
	NTConfig_Script.push("Andariel");
	NTConfig_Script.push("Summoner");
	//NTConfig_Script.push("Duriel");
	NTConfig_Script.push("Mephisto");
	NTConfig_Script.push("Eldritch"); NTConfig_ShenkExtension = true;
	//NTConfig_Script.push("ThreshSocket");
	NTConfig_Script.push("Pindleskin"); NTConfig_NihlathakExtension = true;
	//NTConfig_Script.push("Nihlathak"); NTConfig_PindleskinExtension = false;
	//NTConfig_Script.push("Baal"); NTConfig_KillBaal = true;
	print("ÿc9Done adding bosses, chicken/pot settings now <libs/config/NTConfig_Nerfed.dbj>");

	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_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 = 10;	// 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 = 20;	// This is your mercs chicken life percent. If he goes below this, exit game.

	print("ÿc9Inventory setup <libs/config/NTConfig_Nerfed.dbj>");

	NTConfig_FreeSpace = 4;		// 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,1,1,1,1,1,1,0,0];
	NTConfig_Columns[1] = [1,1,1,1,1,1,1,1,0,0];
	NTConfig_Columns[2] = [1,1,1,1,1,1,1,1,0,0];
	NTConfig_Columns[3] = [1,1,1,1,1,1,1,1,1,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] = "rv";
	NTConfig_BeltColType[1] = "rv";
	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] = 0;
	NTConfig_BeltColMin[1] = 0;
	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.
	//-----------------------------------------------------------------------------------
	print("ÿc9Loading pickit files <libs/config/NTConfig_Nerfed.dbj>");
	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
	print("ÿc9Done loading pickit <libs/config/NTConfig_Nerfed.dbj>");

	//------------------------------------------------------------------------------
	// 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

	//--------------------------------------------------------------------------------------
	// Attack configuration
	// Supported attack spell
	// 47:Fire Ball, 56:Meteor, 49:Lightning, 53:Chain Lightning, 59:Blizzard, 64:Frozen Orb
	// 106:Zeal, 112:Blessed Hammer
	//--------------------------------------------------------------------------------------
	print("ÿc9Setting auras <libs/config/NTConfig_Nerfed.dbj>");
	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 = 112;	// Cast your primary spell to boss.
	NTConfig_AttackOthers = 112;	// 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. 
	print("ÿc9Done with NT_LoadConfig <libs/config/NTConfig_Nerfed.dbj>");
}