Category:Item Creation Functions
From NWN Lexicon
Jump to navigationJump to searchItem Creation Function Category
Functions used to deal with item creation. The itemproperty commands are special constructors - they construct an itemproperty "object" which can then be, for instance, applied to an item using the AddItemProperty command. Much like effects need to be first constructed, then applied with ApplyEffectToObject. It will often be a good idea to remove similar itemproperties from the item first. There's a command in the "x2_inc_itemprop" include file called IPSafeAddItemProperty which will do that for you.
Functions
Name | Brief Description |
---|---|
Used to encapsulate CreateObject allowing this function to be added to the action stack. | |
Add an itemproperty to an item | |
Checks if the current spell was used to brew a potion and performs the brewing process. | |
Checks if the current spell was used to scribe a scroll and performs the scribe process. | |
Create and return a magic scroll for a specified spell. | |
Retrieves craft information for a specified item. | |
Returns TRUE if the object is a craft base item. | |
Determines if a spell is restricted for being used for crafting. | |
Checks if the caster intends to craft an item and returns TRUE if the spell is used up for crafting purposes. | |
Does a craft check for a given crafting skill to craft an item. | |
Duplicates an item. | |
Copies an item, making a single modification to it | |
Duplicates the object specified. | |
Create and return a magical potion for a specified spell. | |
Spawns in a ammunition suited for that class as part of the random treasure distribution. | |
Creates an animal part on the corpse of the animal | |
Creates a scroll as part of the treasure | |
Creates a Bastard sword for the containers treasure | |
Spawns in a magical weapon suited for that class as part of the random treasure distribution. | |
Creates a random book as part of the treasure distribution system | |
Spawns in a magical weapon suited for that class as part of the random treasure distribution. | |
Creates potions for Colmarr's Machine. | |
Used to create a magical dagger in a container as part of the treasure distribution model | |
Spawns in a magical weapon suited for that class as part of the random treasure distribution. | |
Spawns in a Dire Mace as part of the random treasure distribution. | |
Creates a divine scroll as part of the treasure | |
Spawns in a magical Double Axe as part of the random treasure distribution. | |
Used to create magic items at a "forge" container. | |
Creates a Gem as part of the NWN treasure distribution system | |
Creates a treasure item for wizards, sorcerers, clerics, monks, rogues and bards | |
Creates an appropriate druid weapon that fits the level of the PC, and places it in/on an object. | |
Creates an appropriate exotic weapon that fits the level of the PC, and places it in/on an object. | |
Spawns in a Piece of Generic Heavy Armor as part of the random treasure distribution. | |
Spawns in a piece of generic light armor as part of the random treasure distribution. | |
Spawns in a generic weapon as part of the random treasure distribution. | |
Spawns in a piece of generic armor as part of the random treasure distribution. | |
Spawns in a generic item as part of the random treasure distribution. | |
Creates an appropriate monk weapon that fits the level of the PC, and places it in/on an object. | |
Spawns in a generic Rod, Staff or Wand as part of the random treasure distribution. | |
Spawns in a Generic Simple Weapon as part of the random treasure distribution. | |
Creates an appropriate wizard weapon that fits the level of the PC, and places it in/on an object. | |
Spawns in Gold as part of the random treasure distribution. | |
Spawns in a Great Axe as part of the random treasure distribution. | |
Spawns in a Great Sword as part of the random treasure distribution. | |
Spawns in a Halberd as part of the random treasure distribution. | |
Spawns in a Hand Axe as part of the random treasure distribution. | |
Spawns in a Healing Kit as part of the random treasure distribution. | |
Spawns in a Heavy Crossbow as part of the random treasure distribution. | |
Spawns in a Heavy Flail as part of the random treasure distribution. | |
Create a specific item in an objects inventory | |
Creates a Jewel in the container as part of the NWN treasure distribution system | |
Creates random items for the container treasure. | |
Spawns in a Kama as part of the random treasure distribution. | |
Spawns in a Katana as part of the random treasure distribution. | |
Spawns in a Kit as part of the random treasure distribution. | |
Spawns in a Kukri as part of the random treasure distribution. | |
Spawns in a Light Crossbow as part of the random treasure distribution. | |
Spawns in a Light Flail as part of the random treasure distribution. | |
Spawns in a Light Hammer as part of the random treasure distribution. | |
Spawns in a Light Mace as part of the random treasure distribution. | |
Spawns in a Lock Pick as part of the random treasure distribution. | |
Spawns in a Longbow as part of the random treasure distribution. | |
Spawns in a Long Sword as part of the random treasure distribution. | |
Spawns in a Morningstar as part of the random treasure distribution. | |
Create an object of a specified type at a given location | |
Similiar to CreateObject() but does not return the object created. | |
Creates a random potion in a container as part of the treasure system. | |
Spawns in a Rapier as part of the random treasure distribution. | |
Spawns in a Scimitar as part of the random treasure distribution. | |
Spawns in a Scythe as part of the random treasure distribution. | |
Spawns in a Shortbow as part of the random treasure distribution. | |
Spawns in a Shortsword as part of the random treasure distribution. | |
Spawns in a Shuriken as part of the random treasure distribution. | |
Spawns in a Sickle as part of the random treasure distribution. | |
Spawns in a Sling as part of the random treasure distribution. | |
Spawns in a Spear as part of the random treasure distribution. | |
Spawns in a Specific Druid Weapon as part of the random treasure distribution. | |
Spawns in a Specific Exotic Item as part of the random treasure distribution. | |
Spawns in a Specific Heavy Armor as part of the random treasure distribution. | |
Spawns in a Specific Light Armor as part of the random treasure distribution. | |
Spawns in a Specific Martial Item as part of the random treasure distribution. | |
Spawns in a Specific Medium Armor as part of the random treasure distribution. | |
Spawns in a Specific Item as part of the random treasure distribution. | |
Spawns in a Specific Monk Weapon as part of the random treasure distribution. | |
Spawns in a Rod, Staff, or Wand as part of the random treasure distribution. | |
Spawns in a Simple Weapon as part of the random treasure distribution. | |
Spawns in a Specific Wizard Weapon as part of the random treasure distribution. | |
Spawns in a Staff as part of the random treasure distribution. | |
Randomly creates an item on an object. | |
Spawns in a Throwing Axe as part of the random treasure distribution. | |
Spawns in a Trap Kit as part of the random treasure distribution. | |
Spawns in a Two Bladed Sword as part of the random treasure distribution. | |
Spawns in a Warhammer as part of the random treasure distribution. | |
This function creates the item for the NWN Treasure Distribution System. | |
This Function is part of the random treasure distribution. | |
Generates boss-level treasure. | |
This function creates High Level Treasure | |
This script creates Low value treasure in the container | |
Spawns in treasure as part of the random treasure distribution. | |
Use the random treasure functions to generate appropriate treasure for the creature to drop. | |
This is the Main function in the NWN Treasure Distribution System | |
Determines if the PC carries the proper items to create a new item. | |
Checks if an itemproperty is valid. | |
Determines if items within a container are valid for combining into a new item. | |
Gets the tag of the material component required for crafting. | |
Gives a Luskan plot item to the PC speaker. | |
Gives the fetch item to the PC. | |
Gives the personal item of an assassination victim to the player. | |
Cycles through the players inventory looking for any item that has a certain Base Item Type. If the Base Item Type is Armor, make sure the AC matches. | |
Gives a creature all available proficiency feats. | |
Changes the color of an armor. | |
Converts a number into a damage bonus itemproperty constant. | |
Converts a number to a damage power constant | |
Returns a spell's corresponding itemproperty constant. | |
Returns the container used for item property and appearance modifications in the module | |
Checks if an item has a matching itemproperty. | |
Returns an itemproperty. | |
Checks the sequencer property of an item. | |
Copies and modifies an armor and returns it as an object. | |
Returns the next valid appearance type for an armor. | |
Returns the number of armor part variations for the specified part. | |
Returns a random valid armor appearance type of the appropriate part. | |
Returns a weapon's enhancement bonus. | |
Removes all itemproperties from an item. | |
Removes itemproperties of a given type, duration, and subtype from an item. | |
Safely add an itemproperty to an item. | |
Sets an enhancement bonus on a weapon. | |
Upgrades a weapon's enhancement bonus. | |
Copies itemproperties from one item to another. | |
Checks to see if the baseitem type matches the one in the array AND if the item is "magical" | |
Sets an ability bonus itemproperty. | |
Sets an armor class bonus itemproperty. | |
Sets an "armor class bonus against an alignment group" itemproperty. | |
Sets an "armor class bonus against damage type" itemproperty. | |
Sets an "armor class bonus against racial type" itemproperty. | |
Sets an "armor class bonus against specific alignment" itemproperty. | |
Returns a generic additional itemproperty. | |
Sets an itemproperty which modifies an arcane spell failure factor. | |
Sets an attack bonus itemproperty. | |
Sets an "attack bonus versus alignment group" itemproperty. | |
Sets an "attack bonus versus race" itemproperty. | |
Sets an "attack bonus versus specific alignment" itemproperty. | |
Sets an attack penalty itemproperty. | |
Sets a bonus feat itemproperty. | |
Sets a "bonus spell of a specified level" itemproperty. | |
Sets a saving throw bonus itemproperty. | |
Sets a "saving throw bonus" itemproperty. | |
Sets a "spell resistance bonus" itemproperty. | |
Sets a "cast spell" itemproperty. | |
Sets a "reduced weight container" itemproperty. | |
Sets a damage bonus itemproperty. | |
Sets a "damage bonus versus alignment group" itemproperty. | |
Sets a "damage bonus versus racial type" itemproperty. | |
Sets a "damage bonus versus specific alignment" itemproperty. | |
Sets a damage immunity itemproperty. | |
Sets a damage penalty itemproperty. | |
Sets a damage reduction itemproperty. | |
Sets a damage resistance itemproperty. | |
Sets a damage vulnerability itemproperty. | |
Sets a darkvision itemproperty. | |
Sets a decrease ability itemproperty. | |
Sets a "decrease armor class" itemproperty. | |
Sets a decrease skill item property. | |
Sets an enhancement bonus item property. | |
Sets an "enhancement bonus versus alignment group" itemproperty. | |
Sets an "enhancement bonus versus racial type" itemproperty. | |
Sets an "enhancement bonus versus specific alignment" itemproperty. | |
Sets an enhancement penalty ability bonus. | |
Sets an "extra melee damagetype" itemproperty. | |
Sets an "extra ranged damagetype" itemproperty. | |
Sets a free action (freedom of movement) itemproperty. | |
Sets a haste itemproperty. | |
Sets a healers' kit itemproperty. | |
Sets a holy avenger itemproperty. | |
Sets an immunity itemproperty. | |
Sets an "immunity to spell level" itemproperty. | |
Sets an improved evasion itemproperty. | |
Sets a keen itemproperty. | |
Sets a light itemproperty. | |
Sets an "only useable by alignment group" itemproperty. | |
Sets an "only useable by class" itemproperty. | |
Sets an "only useable by race" itemproperty. | |
Sets an "only useable by specific alignment" itemproperty. | |
Sets a massive criticals itemproperty. | |
Returns the itemproperty material. | |
Sets a mighty itemproperty. | |
Sets a monster damage itemproperty. | |
Sets a no damage itemproperty. | |
Sets an "on hit cast spell" item property. | |
Sets an OnHit itemproperty. | |
Sets an "on monster hit" itemproperty. | |
Sets a "reduced saving throw" item property. | |
Returns the itemproperty quality. | |
Sets a "reduced saving throw" itemproperty. | |
Sets a regeneration itemproperty. | |
Sets a skill bonus itemproperty. | |
Sets a special walk itemproperty. | |
Sets an "immunity against spell school" itemproperty. | |
Sets an "immunity to specific spell" itemproperty. | |
Sets a thieves' tools itemproperty. | |
Sets a trap itemproperty. | |
Sets a true seeing itemproperty. | |
Sets a turn resistance itemproperty. | |
Sets an unlimited ammo itemproperty. | |
Sets a vampiric regeneration itemproperty. | |
Allows a melee weapon have a certain glow. | |
Sets an increased weight itemproperty. | |
Sets a weight reduction itemproperty. | |
Determines which of a PCs three classes to use in the random treasure system. | |
Returns number of possible combinations | |
Determines whether the adventurer prefers using a weapon type. | |
Removes an itemproperty from an item. |
author:NWN Lexicon Group, editor: Mistress, contributors: motu99, Kolyana, Kookoo
Pages in category "Item Creation Functions"
The following 200 pages are in this category, out of 213 total.
(previous page) (next page)C
- CICraftCheckBrewPotion
- CICraftCheckScribeScroll
- CICraftScribeScroll
- CIGetCraftItemStructFrom2DA
- CIGetIsCraftFeatBaseItem
- CIGetIsSpellRestrictedFromCraftFeat
- CIGetSpellWasUsedForItemCreation
- CIUseCraftItemSkill
- CopyItem
- CopyItemAndModify
- CopyObject
- CraftBrewPotion
- CreateAmmo
- CreateAnimalPart
- CreateArcaneScroll
- CreateBastardSword
- CreateBattleAxe
- CreateBook
- CreateClub
- CreateColmarrPotion
- CreateDagger
- CreateDart
- CreateDireMace
- CreateDivineScroll
- CreateDoubleAxe
- CreateForgeItem
- CreateGem
- CreateGenericClassItem
- CreateGenericDruidWeapon
- CreateGenericExotic
- CreateGenericHeavyArmor
- CreateGenericLightArmor
- CreateGenericMartial
- CreateGenericMediumArmor
- CreateGenericMiscItem
- CreateGenericMonkWeapon
- CreateGenericRodStaffWand
- CreateGenericSimple
- CreateGenericWizardWeapon
- CreateGold
- CreateGreatAxe
- CreateGreatSword
- CreateHalberd
- CreateHandAxe
- CreateHealingKit
- CreateHeavyCrossbow
- CreateHeavyFlail
- CreateItemOnObject
- CreateJewel
- CreateJunk
- CreateKama
- CreateKatana
- CreateKit
- CreateKukri
- CreateLightCrossbow
- CreateLightFlail
- CreateLightHammer
- CreateLightMace
- CreateLockPick
- CreateLongbow
- CreateLongSword
- CreateMorningstar
- CreateObject
- CreateObjectVoid
- CreatePotion
- CreateRapier
- CreateScimitar
- CreateScythe
- CreateShortbow
- CreateShortsword
- CreateShuriken
- CreateSickle
- CreateSling
- CreateSpear
- CreateSpecificDruidWeapon
- CreateSpecificExotic
- CreateSpecificHeavyArmor
- CreateSpecificLightArmor
- CreateSpecificMartial
- CreateSpecificMediumArmor
- CreateSpecificMiscItem
- CreateSpecificMonkWeapon
- CreateSpecificRodStaffWand
- CreateSpecificSimple
- CreateSpecificWizardWeapon
- CreateStaff
- CreateTable2Item
- CreateThrowingAxe
- CreateTrapKit
- CreateTwoBladedSword
- CreateWarhammer
G
I
- IPCreateProficiencyFeatItemOnCreature
- IPDyeArmor
- IPGetDamageBonusConstantFromNumber
- IPGetDamagePowerConstantFromNumber
- IPGetIPConstCastSpellFromSpellID
- IPGetIPWorkContainer
- IPGetItemHasProperty
- IPGetItemPropertyByID
- IPGetItemSequencerProperty
- IPGetModifiedArmor
- IPGetNextArmorAppearanceType
- IPGetNumberOfAppearances
- IPGetRandomArmorAppearanceType
- IPGetWeaponEnhancementBonus
- IPRemoveAllItemProperties
- IPRemoveMatchingItemProperties
- IPSafeAddItemProperty
- IPSetWeaponEnhancementBonus
- IPUpgradeWeaponEnhancementBonus
- IPWildShapeCopyItemProperties
- IsValidBaseItem
- ItemPropertyAbilityBonus
- ItemPropertyACBonus
- ItemPropertyACBonusVsAlign
- ItemPropertyACBonusVsDmgType
- ItemPropertyACBonusVsRace
- ItemPropertyACBonusVsSAlign
- ItemPropertyAdditional
- ItemPropertyArcaneSpellFailure
- ItemPropertyAttackBonus
- ItemPropertyAttackBonusVsAlign
- ItemPropertyAttackBonusVsRace
- ItemPropertyAttackBonusVsSAlign
- ItemPropertyAttackPenalty
- ItemPropertyBonusFeat
- ItemPropertyBonusLevelSpell
- ItemPropertyBonusSavingThrow
- ItemPropertyBonusSavingThrowVsX
- ItemPropertyBonusSpellResistance
- ItemPropertyCastSpell
- ItemPropertyContainerReducedWeight
- ItemPropertyCustom
- ItemPropertyDamageBonus
- ItemPropertyDamageBonusVsAlign
- ItemPropertyDamageBonusVsRace
- ItemPropertyDamageBonusVsSAlign
- ItemPropertyDamageImmunity
- ItemPropertyDamagePenalty
- ItemPropertyDamageReduction
- ItemPropertyDamageResistance
- ItemPropertyDamageVulnerability
- ItemPropertyDarkvision
- ItemPropertyDecreaseAbility
- ItemPropertyDecreaseAC
- ItemPropertyDecreaseSkill
- ItemPropertyEnhancementBonus
- ItemPropertyEnhancementBonusVsAlign
- ItemPropertyEnhancementBonusVsRace
- ItemPropertyEnhancementBonusVsSAlign
- ItemPropertyEnhancementPenalty
- ItemPropertyExtraMeleeDamageType
- ItemPropertyExtraRangeDamageType
- ItemPropertyFreeAction
- ItemPropertyHaste
- ItemPropertyHealersKit
- ItemPropertyHolyAvenger
- ItemPropertyImmunityMisc
- ItemPropertyImmunityToSpellLevel
- ItemPropertyImprovedEvasion
- ItemPropertyKeen
- ItemPropertyLight
- ItemPropertyLimitUseByAlign
- ItemPropertyLimitUseByClass
- ItemPropertyLimitUseByRace
- ItemPropertyLimitUseBySAlign
- ItemPropertyMassiveCritical
- ItemPropertyMaterial
- ItemPropertyMaxRangeStrengthMod
- ItemPropertyMonsterDamage
- ItemPropertyNoDamage
- ItemPropertyOnHitCastSpell
- ItemPropertyOnHitProps
- ItemPropertyOnMonsterHitProperties
- ItemPropertyQuality
- ItemPropertyReducedSavingThrow
- ItemPropertyReducedSavingThrowVsX
- ItemPropertyRegeneration
- ItemPropertySkillBonus
- ItemPropertySpecialWalk
- ItemPropertySpellImmunitySchool
- ItemPropertySpellImmunitySpecific