トップ 新規 差分 一覧 ソース 検索 ヘルプ PDF RSS ログイン

categoryfunction.itemcreation

掲示板(停止中) | About | Reference | Lyceum(スクリプト入門) | Resources | Contributors | LexiconJP-OLD | NWN Builders

Item 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

NameBrief Description
ActionCreateこの関数はアクションキューにCreateObjectをスタックさせるために使います。
AddItemPropertyアイテムにアイテムプロパティを付加します。
CopyItemアイテムを複製します。
CopyItemAndModifyCopies an item、making a single modification to it
CopyObject指定されたオブジェクトを複製します。
CreateAmmo財宝分配システムの一部として、そのクラスに適切な弾薬を生成します。
CreateAnimalPart動物の死骸の中に動物の体の一部を作成します。
CreateArcaneScroll財宝の一部としてスクロールを作成します。
CreateBastardSwordコンテナ用の財宝としてバスタードソードを作成します。
CreateBattleAxeランダム財宝分配システムの一部として、クラスに適した魔法の武器を生成します。
CreateBook財宝分配システムの一部として、ランダムな本を作成します。
CreateClubランダム財宝分配システムの一部として、クラスに適切な魔法の武器を生成します。
CreateColmarrPotionコルマール(NWN公式キャンペーンに出てくるNPC)の機械用にポーションを作成します。
CreateDagger財宝分配システムの一部として、コンテナの中に魔法のダガーを作成するために使われます。
CreateDartランダム財宝分配システムの一部として、クラスに適した魔法の武器を生成します。
CreateDireMace?Spawns in a Dire Mace as part of the random treasure distribution.
CreateDivineScroll?Creates a gem as part of the treasure
CreateDoubleAxe?Spawns in a magical Double Axe as part of the random treasure distribution.
CreateForgeItemUsed to create magic items at a forge container.
CreateGemCreates a Gem as part of the NWN treasure distribution system
CreateGenericClassItemCreates a treasure item for wizards、sorcerers、clerics、monks、rogues and bards
CreateGenericDruidWeapon?Creates an appropriate druid weapon that fits the level of the PC、 and places it in/on an object.
CreateGenericExotic?Creates an appropriate exotic weapon that fits the level of the PC、 and places it in/on an object.
CreateGenericHeavyArmor?Spawns in a Piece of Generic Heavy Armor as part of the random treasure distribution.
CreateGenericLightArmorSpawns in a piece of generic light armor as part of the random treasure distribution.
CreateGenericMartial?Spawns in a generic weapon as part of the random treasure distribution.
CreateGenericMediumArmorSpawns in a piece of generic armor as part of the random treasure distribution.
CreateGenericMiscItemSpawns in a generic item as part of the random treasure distribution.
CreateGenericMonkWeapon?Creates an appropriate monk weapon that fits the level of the PC、 and places it in/on an object.
CreateGenericRodStaffWandSpawns in a generic Rod、 Staff or Wand as part of the random treasure distribution.
CreateGenericSimple?Spawns in a Generic Simple Weapon as part of the random treasure distribution.
CreateGenericWizardWeapon?Creates an appropriate wizard weapon that fits the level of the PC、 and places it in/on an object.
CreateGold?Spawns in Gold as part of the random treasure distribution.
CreateGreatAxe?Spawns in a Great Axe as part of the random treasure distribution.
CreateGreatSwordSpawns in a Great Sword as part of the random treasure distribution.
CreateHalberd?Spawns in a Halberd as part of the random treasure distribution.
CreateHandAxe?Spawns in a Hand Axe as part of the random treasure distribution.
CreateHealingKitSpawns in a Healing Kit as part of the random treasure distribution.
CreateHeavyCrossbow?Spawns in a Heavy Crossbow as part of the random treasure distribution.
CreateHeavyFlail?Spawns in a Heavy Flail as part of the random treasure distribution.
CreateItemOnObjectCreate a specific item in an objects inventory
CreateJewelCreates a Jewel in the container as part of the NWN trasure distribution system
CreateJunk?Creates random items for the container treasure.
CreateKama?Spawns in a Kama as part of the random treasure distribution.
CreateKatana?Spawns in a Katana as part of the random treasure distribution.
CreateKit?Spawns in a Kit as part of the random treasure distribution.
CreateKukri?Spawns in a Kukri as part of the random treasure distribution.
CreateLightCrossbow?Spawns in a Light Crossbow as part of the random treasure distribution.
CreateLightFlail?Spawns in a Light Flail as part of the random treasure distribution.
CreateLightHammer?Spawns in a Light Hammer as part of the random treasure distribution.
CreateLightMace?Spawns in a Light Mace as part of the random treasure distribution.
CreateLockPickSpawns in a Lock Pick as part of the random treasure distribution.
CreateLongbowSpawns in a Longbow as part of the random treasure distribution.
CreateLongSwordSpawns in a Long Sword as part of the random treasure distribution.
CreateMorningstar?Spawns in a Morningstar as part of the random treasure distribution.
CreateObjectCreate an object of a specified type at a given location
CreateObjectVoidSimiliar to CreateObject() but does not return the object created.
CreatePotionCreates a random potion in a container as part of the treasure system.
CreateRapier?Spawns in a Rapier as part of the random treasure distribution.
CreateScimitar?Spawns in a Scimitar as part of the random treasure distribution.
CreateScythe?Spawns in a Scythe as part of the random treasure distribution.
CreateShortbow?Spawns in a Shortbow as part of the random treasure distribution.
CreateShortswordSpawns in a Shortsword as part of the random treasure distribution.
CreateShuriken?Spawns in a Shuriken as part of the random treasure distribution.
CreateSickle?Spawns in a Sickle as part of the random treasure distribution.
CreateSlingSpawns in a Sling as part of the random treasure distribution.
CreateSpear?Spawns in a Spear as part of the random treasure distribution.
CreateSpecificDruidWeaponSpawns in a Specific Druid Weapon as part of the random treasure distribution.
CreateSpecificExotic?Spawns in a Specific Exotic Item as part of the random treasure distribution.
CreateSpecificHeavyArmor?Spawns in a Specific Heavy Armor as part of the random treasure distribution.
CreateSpecificLightArmorSpawns in a Specific Light Armor as part of the random treasure distribution.
CreateSpecificMartial?Spawns in a Specific Martial Item as part of the random treasure distribution.
CreateSpecificMediumArmorSpawns in a Specific Medium Armor as part of the random treasure distribution.
CreateSpecificMiscItemSpawns in a Specific Item as part of the random treasure distribution.
CreateSpecificMonkWeapon?Spawns in a Specific Monk Weapon as part of the random treasure distribution.
CreateSpecificRodStaffWand?Spawns in a Rod、Staff、or Wand as part of the random treasure distribution.
CreateSpecificSimple?Spawns in a Simple Weapon as part of the random treasure distribution.
CreateSpecificWizardWeaponSpawns in a Specific Wizard Weapon as part of the random treasure distribution.
CreateStaff?Spawns in a Staff as part of the random treasure distribution.
CreateTable2ItemRandomly creates an item on an object.
CreateThrowingAxe?Spawns in a Throwing Axe as part of the random treasure distribution.
CreateTrapKit?Spawns in a Trap Kit as part of the random treasure distribution.
CreateTwoBladedSwordSpawns in a Two Bladed Sword as part of the random treasure distribution.
CreateWarhammer?Spawns in a Warhammer as part of the random treasure distribution.
dbCreateItemOnObjectThis function creates the item for the NWN Treasure Distribution System.
GenerateBookTreasureThis Function is part of the random treasure distribution.
GenerateBossTreasure?Generates boss-level treasure.
GenerateHighTreasure?This function creates High Level Treasure
GenerateLowTreasureThis script creates Low value treasure in the container
GenerateMediumTreasureSpawns in treasure as part of the random treasure distribution.
GenerateNPCTreasure?Use the random treasure functions to generate appropriate treasure for the creature to drop.
GenerateTreasureThis is the Main function in the NWN Treasure Distribution System
GetBackpackMatchDetermines if the PC carries the proper items to create a new item.
GetIsItemPropertyValidChecks if an itemproperty is valid.
GetIsValidCombinationDetermines if items within a container are valid for combining into a new item.
Give2Q4PlotItemGives a Luskan plot item to the PC speaker.
GiveFetchItemToPC?Gives the fetch item to the PC.
GivePlayerPersonalItem?Gives the personal item of an assassination victim to the player.
HasAnyItemOfBaseTypeCycles 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.
IPCreateProficiencyFeatItemOnCreatureGives a creature all available proficiency feats.
IPDyeArmorChanges the color of an armor.
IPGetDamageBonusConstantFromNumberConverts a number into a damage bonus itemproperty constant.
IPGetDamagePowerConstantFromNumberConverts a number to a damage power constant
IPGetIPConstCastSpellFromSpellIDReturns a spell's corresponding itemproperty constant.
IPGetIPWorkContainerReturns the container used for item property and appearance modifications in the module
IPGetItemHasPropertyChecks if an item has a matchine itemproperty.
IPGetItemPropertyByIDReturns an itemproperty.
IPGetItemSequencerPropertyChecks the sequencer property of an item.
IPGetModifiedArmorCopies and modifies an armor and returns it as an object.
IPGetNextArmorAppearanceTypeReturns the next valid appearance type for an armor.
IPGetNumberOfAppearancesReturns the number of armor part variations for the specified part.
IPGetRandomArmorAppearanceTypeReturns a random valid armor apperance type of the appropriate part.
IPGetWeaponEnhancementBonusReturns a weapon's enhancement bonus.
IPRemoveAllItemPropertiesRemoves all itemproperties from an item.
IPRemoveMatchingItemPropertiesRemoves itemproperties of a given type、duration、and subtype from an item.
IPSafeAddItemPropertySafely add an itemproperty to an item.
IPSetWeaponEnhancementBonusSets an enhancement bonus on a weapon.
IPUpgradeWeaponEnhancementBonusUpgrades a weapon's enhancement bonus.
IPWildShapeCopyItemPropertiesCopies itemproperties from one item to another.
IsValidBaseItemChecks to see if the baseitem type matches the one in the array AND if the item is magical
ItemPropertyAbilityBonusSets an ability bonus itemproperty.
ItemPropertyACBonusSets an armor class bonus itemproperty.
ItemPropertyACBonusVsAlignSets an armor class bonus against an alignment group itemproperty.
ItemPropertyACBonusVsDmgType?Sets an armor class bonus against damage type itemproperty.
ItemPropertyACBonusVsRaceSets an armor class bonus against racial type itemproperty.
ItemPropertyACBonusVsSAlignSets an armor class bonus against specific alignment itemproperty.
ItemPropertyArcaneSpellFailureSets an itemproperty which modifies an arcane spell failure factor.
ItemPropertyAttackBonusSets an attack bonus itemproperty.
ItemPropertyAttackBonusVsAlignSets an attack bonus versus alignment group itemproperty.
ItemPropertyAttackBonusVsRace?Sets an attack bonus versus race itemproperty.
ItemPropertyAttackBonusVsSAlignSets an attack bonus versus specific alignment itemproperty.
ItemPropertyAttackPenaltySets an attack penalty itemproperty.
ItemPropertyBonusFeat?Sets a bonus feat itemproperty.
ItemPropertyBonusLevelSpellSets a bonus spell of a specified level itemproperty.
ItemPropertyBonusSavingThrow?Sets a saving throw bonus itemproperty.
ItemPropertyBonusSavingThrowVsX?Sets a saving throw bonus itemproperty.
ItemPropertyBonusSpellResistanceSets a spell resistance bonus itemproperty.
ItemPropertyCastSpellSets a cast spell itemproperty.
ItemPropertyContainerReducedWeightSets a reduced weight container itemproperty.
ItemPropertyDamageBonusSets a damage bonus itemproperty.
ItemPropertyDamageBonusVsAlign?Sets a damage bonus versus alignment group itemproperty.
ItemPropertyDamageBonusVsRace?Sets a damage bonus versus racial type itemproperty.
ItemPropertyDamageBonusVsSAlign?Sets a damage bonus versus specific alignment itemproperty.
ItemPropertyDamageImmunity?Sets a damage immunity itemproperty.
ItemPropertyDamagePenaltySets a damage penalty itemproperty.
ItemPropertyDamageReductionSets a damage reduction itemproperty.
ItemPropertyDamageResistance?Sets a damage resistance itemproperty.
ItemPropertyDamageVulnerability?Sets a damage vulnerability itemproperty.
ItemPropertyDarkvisionSets a darkvision itemproperty.
ItemPropertyDecreaseAbility?Sets a decrease ability itemproperty.
ItemPropertyDecreaseACSets a decrease armor class itemproperty.
ItemPropertyDecreaseSkill?Sets a decrease skill item property.
ItemPropertyEnhancementBonusSets an enhancement bonus item property.
ItemPropertyEnhancementBonusVsAlignSets an enhancement bonus versus alignment group itemproperty.
ItemPropertyEnhancementBonusVsRace?Sets an enhancement bonus versus racial type itemproperty.
ItemPropertyEnhancementBonusVsSAlign?Sets an enhancement bonus versus specific alignment itemproperty.
ItemPropertyEnhancementPenaltySets an enhancement penalty ability bonus.
ItemPropertyExtraMeleeDamageType?Sets an extra melee damagetype itemproperty.
ItemPropertyExtraRangeDamageType?Sets an extra ranged damagetype itemproperty.
ItemPropertyFreeAction?Sets a free action (freedom of movement) itemproperty.
ItemPropertyHasteSets a haste itemproperty.
ItemPropertyHealersKitSets a healers' kit itemproperty.
ItemPropertyHolyAvengerSets a holy avenger itemproperty.
ItemPropertyImmunityMiscSets an immunity itemproperty.
ItemPropertyImmunityToSpellLevel?Sets an immunity to spell level itemproperty.
ItemPropertyImprovedEvasionSets an improved evasion itemproperty.
ItemPropertyKeen?Sets a keen itemproperty.
ItemPropertyLight?Sets a light itemproperty.
ItemPropertyLimitUseByAlign?Sets an only useable by alignment group itemproperty.
ItemPropertyLimitUseByClass?Sets an only useable by class itemproperty.
ItemPropertyLimitUseByRace?Sets an only useable by race itemproperty.
ItemPropertyLimitUseBySAlignSets an only useable by specific alignment itemproperty.
ItemPropertyMassiveCritical?Sets a massive criticals itemproperty.
ItemPropertyMaxRangeStrengthMod?Sets a mighty itemproperty.
ItemPropertyMonsterDamage?Sets a monster damage itemproperty.
ItemPropertyNoDamage?Sets a no damage itemproperty.
ItemPropertyOnHitCastSpellSets an on hit cast spell item property.
ItemPropertyOnHitPropsSets an OnHit itemproperty.
ItemPropertyOnMonsterHitProperties?Sets an on monster hit itemproperty.
ItemPropertyReducedSavingThrow?Sets a reduced saving throw item property.
ItemPropertyReducedSavingThrowVsX?Sets a reduced saving throw itemproperty.
ItemPropertyRegenerationSets a regeneration itemproperty.
ItemPropertySkillBonus?Sets a skill bonus itemproperty.
ItemPropertySpecialWalk?Sets a special walk itemproperty.
ItemPropertySpellImmunitySchool?Sets an immunity against spell school itemproperty.
ItemPropertySpellImmunitySpecificSets an immunity to specific spell itemproperty.
ItemPropertyThievesTools?Sets a thieves' tools itemproperty.
ItemPropertyTrapSets a trap itemproperty.
ItemPropertyTrueSeeing?Sets a true seeing itemproperty.
ItemPropertyTurnResistance?Sets a turn resistance itemproperty.
ItemPropertyUnlimitedAmmo?Sets an unlimited ammo itemproperty.
ItemPropertyVampiricRegenerationSets a vampiric regeneration itemproperty.
ItemPropertyVisualEffectAllows a melee weapon have a certain glow.
ItemPropertyWeightIncreaseSets an increased weight itemproperty.
ItemPropertyWeightReductionSets a weight reduction itemproperty.
nDetermineClassToUseDetermines which of a PCs three classes to use in the random treasure system.
nNumberOfCombosReturns number of possible combinations
Prefers冒険者が武器タイプを使用することを好むかどうか得ます。
RemoveItemPropertyアイテムからアイテムプロパティを取り除きます。

See Also

Function Categories