Alangara_PRC8/_module/nss/jh_restricted.nss
Jaysyn904 86feb9ca6f Initial commit
Initial commit.
2024-06-05 21:21:06 -04:00

166 lines
8.2 KiB
Plaintext

int StartingConditional()
{
object oObject,oItem;
oObject = GetObjectByTag("v_engraver");
oItem =GetFirstItemInInventory(oObject);
string sTag = GetTag(oItem);
int result = TRUE;
int basetype = GetBaseItemType(oItem);
if (sTag =="dragonbelt2" || /* Belt of Draconis */
sTag == "BeltoftheGarou" || /* Belt of the Garou */
sTag =="Bracerofflames" || /* Bracer of Flames */
sTag == "NW_MCLOTH003" || /* Smirkag's Robe */
sTag == "StrapoftheBrotherhood" || /* Strap of the Brotherhood */
sTag == "TolmarRobeoftheArcane" || /* Tolmar Robe of the Arcane */
sTag == "TolmarrobeoftheFist" || /* Tolmar robe of the Fist */
sTag == "TolmarrobeoftheRouge" || /* Tolmar robe of the Rogue */
sTag == "TolmarRobeoftheSorceror" || /* Tolmar robe of the Sorceror */
sTag == "TolmarRobeoftheWizard" || /* Tolmar robe of the Wizard */
sTag == "MortexBoneplate" || /* Mortex Boneplate */
sTag == "platemailofballance" || /* Platemail of Ballance */
sTag == "SmorfyrsFortification" || /* Smorfyr's Fortification */
sTag == "TheBladedancersFortification" || /* Tolmar Iceplate */
sTag == "TolmarIceplateofFaith" || /* Tolmar Iceplate of Faith */
sTag == "Bloodhelmoffury" || /* Blood Helm of fury */
sTag == "hoodofthexavi" || /* Hood of Thex A'vi */
sTag == "SmorfyrsGuard" || /* Smorfyr's Guard */
sTag == "TheBladedancersGuard" || /* Tolmar Icevisir */
sTag == "TolmarIcevisirofFaith" || /* Tolmar Icevisir of Faith */
sTag == "TolmarStaghelmet" || /* Tolmar Staghelmet */
sTag == "VisirofBallance" || /* Visir of Ballance */
sTag == "TolmarrobeoftheBard" || /* Tolmar Chain of the Bard */
sTag == "TolmarleatherofIce" || /* Tolmar Studded Leather of Ice */
sTag == "AATestArmor" || /* Tolmar Suit of the Arcane Archer */
sTag == "TolmarChainguard" || /* Tolmar Chainguard */
sTag == "X2_MAARCL039" || /* Tolmar Icechest of the Druid */
sTag == "X0_ASHMLW002" || /* Tolmar Largeshield of Ice */
sTag == "X0_ASHMSW002" || /* Tolmar Smallshield of Ice */
sTag == "TolmarHolyshieldofIce" || /* TolmaHolyshield of Ice */
sTag == "SHIELDOFLENDIZARESPOT" || /* PENDING */
sTag == "TolmarTowershieldofIce" || /* TOlmar Towershield of Ice */
sTag == "bootssavage" || /* Boots of the Savage */
sTag == "bootsofaid" || /* Boots of the Tortured Soul */
sTag == "BootsofTorklazianFury" || /* Boots of Torklazian Fury */
sTag == "Druidestoevler" || /* Druid Boots */
sTag == "BracersofWrath" || /* Bracers of Wrath */
sTag == "Theexplorershope" || /* The Explorers Hope */
sTag == "ke_Vogterkappe" || /* Guardian Cloak */
sTag == "IcefangsCloak" || /* Icefangs Cloak */
sTag == "sharkcloak6" || /* Sharkhide Cloak - Bard */
sTag == "sharkcloak2" || /* Sharkhide Cloak - Cleric */
sTag == "sharkcloak3" || /* Sharkhide Cloak - Druid */
sTag == "sharkcloak9" || /* Sharkhide Cloak - Melee */
sTag == "sharkcloak7" || /* Sharkhide Cloak - Paladin */
sTag == "sharkcloak8" || /* Sharkhide Cloak - Ranger */
sTag == "sharkcloak4" || /* Sharkhide Cloak - Sorcerer */
sTag == "sharkcloak5" || /* Sharkhide Cloak - Wizard */
sTag == "sharkcloak1" || /* ...Dunno*/
sTag == "gloveselement" || /* Fists of the Elements */
sTag == "glovesofdh" || /* Gloves of The Dwarven Hall */
sTag == "MasterfistofShei'Dun" || /* Masterfist of Shei'Dun */
sTag == "tolmarguantlet" || /* Tolmar Guantlet of Ice */
sTag == "IfirAnduArrow" || /* Ifir Andu Arrow */
sTag == "TolmarArrowsofIce" || /* Tolmar Arrow of Ice */
sTag == "IfirAnduBolt" || /* Ifir Andu Bolt */
sTag == "Tolmarboltice" || /* Tolmar Bolt of Ice */
sTag == "IfirAnduBullet" || /* Ifir Andu Bullet */
sTag == "tolmarbulletice" || /* Tolmar Bullet of Ice */
sTag == "Dwarvenhallaxe" || /* Dwarvenhall Axe */
sTag == "greataxeofthedwarvenhalls" || /* Greataxe of the Dwarven Halls */
sTag == "X2_WDWRAXE001" || /* Dwarven Waraxe */
sTag == "X2_WMDWRAXE008" || /* Dwarven Waraxe +7 */
sTag == "waraxeofthedwarvenhalls" || /* Dwarven Waraxe of The Dwarven Halls */
sTag == "RESERVEDFORHANDAXEOFDWARVENHALLS" ||
sTag == "Battleaxeofthedwarvenhalls" || /* BAttleaxe of The Dwarven Halls */
sTag == "Tolmardwarvenwaraxeofice" || /*Tolmar Dwarven Waraxe of Ice */
sTag == "BladeoftheDance" || /* Blade of Dance? */
sTag == "ke_Nattehad" || /* Nighthate */
sTag == "DaggerofShadowstrike" || /* Dagger of ShadowStrike */
sTag == "daggerofthedwarvenhalls" || /* Dagger of the Dwarven Halls */
sTag == "TolmarDaggerofIce" || /* Tolmar Dagger of Ice */
sTag == "greatswordofthedwarvenhalls" || /* Greatsword of The Dwarven Halls */
sTag == "RESERVEDFORIBARAKSADURGREATSWORD" ||
sTag == "TolmarGreatswordofIce" || /* Tolmar Greatsword of Ice */
sTag == "Firebringer" || /* Firebringer */
sTag == "ke_Maaneskin" || /* Foulmoon */
sTag == "longswordofthedwarvenhalls" || /* Longsword of The Dwarven Halls */
sTag == "SmirkagAcidblade" || /* Smirkag Acidblade */
sTag == "TolmarLongswordofIce" || /* Tolmar Longsword of Ice */
sTag == "katanaofthedwarvenhalls" || /* Katana of The Dwarven Halls */
sTag == "rapierofthedwarvenhalls" || /* Rapier of The Dwarven Halls */
sTag == "scimitarofthedwarvenhalls" || /* Scimitar of The Dwarven Halls */
sTag == "TolmarRapier" || /* Tolmar Rapier */
sTag == "TolmarScimitarofIce" || /* Tolmar Scimitar of Ice */
sTag == "ShortSwordoftheDwarvenHalls" || /* Shortsword of The Dwarven Halls */
sTag == "TolmarshortshordofIce" || /* Tolmar Shortsword of Ice */
sTag == "NW_IT_MNECK035" || /* Explorer's Amulet */
sTag == "HellbringerTalisman" || /* Hellbringer Talisman */
sTag == "ke_MystiskAmulet1" || /* Mysterious Amulet */
sTag == "ke_lykkeamulet" || /* Odd Amulet */
sTag == "amuletoftortur" || /* Amulet of the undead torturer */
sTag == "oldgoldamulet" || /* Old Gold Amulet */
sTag == "kloakmedalje" || /* Rusty Necklace */
sTag == "TalismanofPower" || /* Talisman of Power */
sTag == "TolmarBandoftheRoad" || /* Tolmar Band of The Road */
sTag == "TolmarStarofArcane" || /* Tolmar Star of Arcane */
sTag == "MortexRing" || /* Mortex Ring */
sTag == "SkeletkrigerRing" || /* Skeletonwarrior Ring */
sTag == "heltenes_hvile" || /* The Heroes Rest */
sTag == "thesneak" || /* The Sneak */
sTag == "RainbowClub" || /* Rainbow Club */
sTag == "TolmarHeavyFlailofIce" || /* Tolmar Heavy Flail of Ice */
sTag == "TolmarLightFlailofIce" || /* Tolmar Light Flail of Ice */
sTag == "Tolmarwarhammerofice" || /* Tolmar Warhammer of ICe */
sTag == "warhammerofthedwarvenhalls" || /* Warhammer of The Dwarven Halls */
sTag == "maceofthedwarvenhalls" || /* Mace of The Dwarven Halls */
sTag == "TolmarMaceofIce" || /* TOlmar Mace of Ice */
sTag == "TolmartwobladedofIce" || /* Tolmar Two Bladed of Ice */
sTag == "dwarven2bladesword" || /* Two Bladed Sword of The Dwarven Halls */
sTag == "ke_reb" || /* Mysterious Rope */
sTag == "Druidstav" || /* Druid Staff */
sTag == "TolmarStaffofIce2" || /* Tolmar Arcane Staff of Ice */
sTag == "TolmarStaffofIce" || /* Tolmar Staff of Ice */
sTag == "halberdofthedwarvenhalls" || /* Halberd of The Dwarven Halls */
sTag == "scytheofthedwarvenhalls" || /* Scythe of The Dwarven Halls */
sTag == "TolmarScytheofIce" || /* Tolmar Scythe of Ice */
sTag == "ifiranducross2" || /* Ifir Andu Heavy Crossbow */
sTag == "ifiranducross1" || /* Ifir Andu Light Crossbow */
sTag == "HeavyTolmarCrossbowofIce" || /* Heavy Tolmar Crossbow of Ice */
sTag == "LightTolmarCrossbowofIce" || /* Light Tolmar Crossbow of Ice */
sTag == "ifiranducompo3" || /* Ifir Andu composite Longbow */
sTag == "Salmirarswrath" || /* Salmirar's Wrath */
sTag == "TolmarCompositeLongbowofIce" || /* Tolmar Composite Longbow */
sTag == "Solekarnswrath" || /* Solekarn's Wrath */
sTag == "ifiranducompo3" || /* Ifir Andu Composite Shortbow */
sTag == "NW_WBWMSH012" || /* Tolmar composite Shortbow */
sTag == "ifirandusling" || /* Ifir Andu Sling */
sTag == "TolmarSlingofIce" /* Tolmar Sling of Ice */
||
basetype==BASE_ITEM_KEY||
basetype==BASE_ITEM_BOOK||
basetype==BASE_ITEM_GEM||
basetype==BASE_ITEM_BLANK_POTION ||
basetype==BASE_ITEM_POTIONS||
basetype==BASE_ITEM_SCROLL ||
basetype==BASE_ITEM_BLANK_SCROLL||
basetype==BASE_ITEM_GOLD||
basetype==BASE_ITEM_GRENADE||
basetype==BASE_ITEM_HEALERSKIT||
basetype==BASE_ITEM_LARGEBOX||
basetype==BASE_ITEM_MISCLARGE||
basetype==BASE_ITEM_MISCMEDIUM||
basetype==BASE_ITEM_MISCSMALL||
basetype==BASE_ITEM_MISCTALL||
basetype==BASE_ITEM_MISCTHIN ||
basetype==BASE_ITEM_MISCWIDE||
basetype==BASE_ITEM_SPELLSCROLL||
basetype==BASE_ITEM_THIEVESTOOLS
)
{
result = FALSE;
}
return result;
}