Warning
There are some non-default behaviors currently here.
Itemprop¶
-
AbilityScore
(ability, mod)¶ Create Ability bonus/penalty item property.
Parameters: - ability (int) – ABILITY_*
- mod (int) – bonus: [1, 12], Penalty [-12, -1]
-
ArmorClass
(value)¶ Create AC item property
Parameters: - value (int) – Bonus: [1,20] Penalty [-20, -1]
-
Additional
(addition)¶ Creates additional item property
Parameters: - addition (int) – IP_CONST_ADDITIONAL_*
-
ArcaneSpellFailure
(value)¶ Create arcane spell failure item property
Parameters: - value (int) – [1-100]
-
AttackModifier
(value)¶ Creatures attack modifier item property
Parameters: - value (int) – Amount attack bonus is modified.
-
BonusFeat
(feat)¶ Item Property Bonus Feat
Parameters: - feat (int) – IP_CONST_FEAT_*
-
BonusLevelSpell
(class, level)¶ Creates a “bonus spell of a specified level” itemproperty.
Parameters: - class (int) – solstice.class constant
- level (int) – [0, 9]
-
CastSpell
(spell, uses)¶ Creates a “cast spell” itemproperty.
Parameters: - spell (int) – IP_CONST_CASTSPELL_*
- uses (int) – IP_CONST_CASTSPELL_NUMUSES_*
-
ContainerReducedWeight
(amount)¶ Create a “reduced weight container” itemproperty.
Parameters: - amount (int) – IP_CONST_CONTAINERWEIGHTRED_*
-
DamageBonus
(damage_type, damage)¶ Creates a damage bonus itemproperty.
Parameters: - damage_type (int) – DAMAGE_INDEX_*
- damage (int) – DAMAMGE_BONUS_*
-
DamageRange
(damage_type, min, max)¶ Creates a damage range itemproperty.
Parameters: - damage_type (int) – DAMAGE_INDEX_*
- min (int) – Minimum damage.
- max (int) – Maximum damage.
-
DamageImmunity
(damage_type, amount)¶ Creates a damage immunity itemproperty.
Note
If you are using CEP and CEP is set to true in your global options then you can pass values 1-100, otherwise you will have to pass the item property constants.
Parameters: - damage_type (int) – DAMAGE_INDEX_*
- amount (int) – Amount.
-
DamagePenalty
(amount)¶ Creates a damage penalty itemproperty.
Parameters: - amount (int) – [1,5]
-
DamageReduction
(enhancement, soak)¶ Creates a damage reduction itemproperty.
Note
If you are using CEP then values can be passed for the soak parameter rather than IP_CONST_SOAK_*. The value must be a multiple of 5 and in the range [5, 100]
Parameters: - enhancement (int) – [1,20]
- soak (int) – Amount soaked.
-
DamageResistance
(damage_type, amount)¶ Creates damage resistance item property.
If you are using CEP then values can be passed for the amount parameter rather than IP_CONST_RESIST_*. The value must be a multiple of 5 and in the range [5, 100]
Parameters: - damage_type (int) – DAMAGE_INDEX_*
- amount (int) – Resist value.
-
DamageVulnerability
(damage_type, amount)¶ Creates damage vulnerability item property.
If you are using CEP and CEP is set to true in your global options then you can pass values 1-100, otherwise you will have to pass the item property constants.
Parameters: - damage_type (int) – DAMAGE_INDEX_*
- amount (int) – Amount.
-
Darkvision
()¶ Creates Darkvision Item Property
-
EnhancementModifier
(amount)¶ Item Property Enhancement Bonus
Parameters: - amount (int) – If greater than 0 enhancment bonus, else penalty
-
ExtraDamageType
(damage_type, is_ranged)¶ Creates an “extra damage type” item property.
Parameters: - damage_type (int) – DAMAGE_INDEX_*
- is_ranged (boolean) – ExtraRangedDamge if true, melee if false.
-
Freedom
()¶ Creates a free action (freedom of movement) itemproperty.
-
Haste
()¶ Creates haste item property.
-
HealersKit
(modifier)¶ Creates a healers’ kit item property.
Parameters: - modifier (int) – [1,12]
-
HolyAvenger
()¶ Creates Holy Avenger item propety.
-
ImmunityMisc
(immumity_type)¶ Creates immunity item property
Parameters: - immumity_type (int) – IMMUNITY_TYPE_*
-
ImprovedEvasion
()¶ Creates Improved evasion item property.
-
Keen
()¶ Creates keen item property
-
Light
(brightness, color)¶ Creates a light item property.
Parameters: - brightness (int) – IP_CONST_LIGHTBRIGHTNESS_*
- color (int) – IP_CONST_LIGHTCOLOR_*
-
LimitUseByClass
(class)¶ Creates a class use limitation item property
Parameters: - class (int) – CLASS_TYPE_*
-
LimitUseByRace
(race)¶ Creates a race use limitation item property
Parameters: - race (int) – RACIAL_TYPE_*
-
MassiveCritical
(damage)¶ Creates a massive criticals item property.
Parameters: - damage (int) – DAMAGE_BONUS_*
-
Material
(material)¶ Creates material item property
Parameters: - material (int) – The material type should be [0, 77] based on iprp_matcost.2da.
-
Mighty
(value)¶ Creates a mighty item property.
Parameters: - value (int) – [1,20]
-
MonsterDamage
(damage)¶ Creates Monster Damage effect.
Parameters: - damage (int) – IP_CONST_MONSTERDAMAGE_*
-
NoDamage
()¶ Creates no damage item property
-
OnHitCastSpell
(spell, level)¶ Creates an “on hit cast spell” item property.
Parameters: - spell (int) – IP_CONST_ONHIT_CASTSPELL_*
- level (int) – Level spell is cast at.
-
OnHitMonster
(prop, special)¶ Creates on monster hit item property.
Warning
Item property is bugged. See NWN Lexicon.
Parameters: - prop (int) – IP_CONST_ONMONSTERHIT_*
- special (int) – Unknown
-
OnHitProps
(prop, dc, special)¶ Creates an OnHit itemproperty.
Parameters: - prop (int) – IP_CONST_ONHIT_*
- dc (int) – IP_CONST_ONHIT_SAVEDC_*
- special (int) – Meaning varies with type. (Default: 0)
-
Quality
(quality)¶ Creates quality item property
Parameters: - quality (int) – IP_CONST_QUALITY_*
-
Regeneration
(amount)¶ Creates a regeneration item property.
Parameters: - amount (int) – 1, 20]
-
SavingThrow
(save_type, amount)¶ Creates saving throw bonus item property
Parameters: - save_type (int) – SAVING_THROW_*
- amount (int) – 1,20] or [-20, -1]
-
SavingThrowVersus
(save_type, amount)¶ Creates saving throw bonus vs item property
Parameters: - save_type (int) – SAVING_THROW_VS_*
- amount (int) – 1,20] or [-20, -1]
-
SkillModifier
(skill, amount)¶ Creates skill modifier item property
Parameters: - skill (int) – solstice.skill type constant.
- amount (int) – 1, 50] or [-10, -1]
-
SpecialWalk
([walk])¶ Creates a special walk itemproperty.
Parameters: - walk (int) – Only 0 is a valid argument
-
SpellImmunityLevel
(level)¶ Create an “immunity to spell level” item property.
Parameters: - level (int) – Spell level [1,9]
-
SpellImmunitySpecific
(spell)¶ Creates an “immunity to specific spell” itemproperty.
Parameters: - spell (int) – IP_CONST_IMMUNITYSPELL_*
-
SpellImmunitySchool
(school)¶ Creates an “immunity against spell school” itemproperty.
Parameters: - school (int) – IP_CONST_SPELLSCHOOL_*
-
SpellResistance
(amount)¶ Creates a spell resistince item property
Parameters: - amount (int) – IP_CONST_SPELLRESISTANCEBONUS_*
-
ThievesTools
(modifier)¶ Creates a thieves tool item property
Parameters: - modifier (int) – [1, 12]
-
Trap
(level, trap_type)¶ Creates a trap item property
Parameters: - level (int) – IP_CONST_TRAPSTRENGTH_*
- trap_type (int) – IP_CONST_TRAPTYPE_*
-
TrueSeeing
()¶ Creates true seeing item property
-
TurnResistance
(modifier)¶ Creates a turn resistance item property.
Parameters: - modifier (int) – [1, 50]
-
UnlimitedAmmo
([ammo])¶ Creates an unlimited ammo itemproperty.
Parameters: - ammo (int) – IP_CONST_UNLIMITEDAMMO_* (Default: IP_CONST_UNLIMITEDAMMO_BASIC)
-
VampiricRegeneration
(amount)¶ Creates vampiric regeneration effect.
Parameters: - amount (int) – [1,20]
-
VisualEffect
(effect)¶ Creates a visual effect item property
Parameters: - effect (int) – IP_CONST_VISUAL_*
-
WeightIncrease
(amount)¶ Item Property Weight Increase
Parameters: - amount (int) – IP_CONST_WEIGHTINCREASE_*
-
WeightReduction
(amount)¶ Item Property Weight Reuction
Parameters: - amount (int) – IP_CONST_REDUCEDWEIGHT_*