Shayan's Subrace Engine features several scripting enhancements.
| Attributes | Values |
|---|
| rdfs:label
| - Scripts (Shayan's Subrace Engine)
|
| rdfs:comment
| - Shayan's Subrace Engine features several scripting enhancements.
|
| param3desc
| - This is the spell resistance members of this subrace achieve at the maximum achievable level.
- This indicates when the temporary stat modifier is active. It gets the value TIME_DAY or TIME_NIGHT .
- This is the ResRef of the skin item that will be equipped on PCs of this subrace. This skin will have all the subrace traits, such as ability modifiers, base feats, etc. Specifying "none" or "" will disable this for this subrace.
- This should either be one of TIME_DAY, TIME_NIGHT, and TIME_BOTH or one of TIME_SPECIAL_APPEARANCE_NORMAL and TIME_SPECIAL_APPEARANCE_SUBRACE . In case of a conflict, appearance-based restrictions have priority.
- This is an APPEARANCE_TYPE_* constant indicating the appearance for male members of this subrace.
|
| dcterms:subject
| |
| param7desc
| - If this is TRUE, the subrace will be underground sensitive.
- This indicates if the stat modifier is active in artificial areas.
|
| param5desc
| - This indicates the level at which this appearance setting becomes effective.
- This indicates if the stat modifier is active in exterior areas.
- If this is TRUE, the subrace will be light sensitive.
|
| param6desc
| - This is the amount of divine damage members of this subrace suffer for each round spent in sunlight. A negative value will cause regeneration in sunlight instead of damage.
- This indicates if the stat modifier is active in natural areas.
|
| param7default
| |
| param5default
| - 1(xsd:integer)
- TRUE
- FALSE
|
| param6default
| |
| returns
| |
| Name
| - AddAdditionalBaseRaceToSubrace
- CreateCustomStats
- CreateSubrace
- CreateSubraceAlignmentRestriction
- CreateSubraceAppearance
- CreateSubraceClassRestriction
- CreateSubraceSpellResistance
- CreateTemporaryStatModifier
- SubraceRestrictUseOfItems
|
| param
| - float ABModifier
- float ACModifier
- float CharismaModifier
- float ConstitutionModifier
- float DexterityModifier
- float IntelligenceModifier
- float StrengthModifier
- float WisdomModifier
- int AdditionalBaseRace
- int Allow
- int AppearanceChangeTime
- int CanBeAlignment_Chaotic
- int CanBeAlignment_Evil
- int CanBeAlignment_Good
- int CanBeAlignment_Lawful
- int CanBeAlignment_Neutral1
- int CanBeAlignment_Neutral2
- int CanBe_Barbarian
- int CanBe_Bard
- int CanBe_Cleric
- int CanBe_Druid
- int CanBe_Fighter
- int CanBe_Monk
- int CanBe_Paladin
- int CanBe_Ranger
- int CanBe_Rogue
- int CanBe_Sorcerer
- int CanBe_Wizard
- int DamageTakenWhileInLight
- int DamageTakenWhileInUnderground
- int ECL
- int FemaleAppearance
- int InAbovegroundArea
- int InArtificialArea
- int InExteriorArea
- int InInteriorArea
- int InNaturalArea
- int InUndergroundArea
- int IsLightSensitive
- int IsUndead
- int IsUndergroundSensitive
- int ItemType
- int Level
- int MaleAppearance
- int PrestigiousSubrace
- int Race
- int SpellResistanceBase
- int SpellResistanceMax
- int StatModifierType
- int TimeOfDay
- int TimeToApply
- string HideResRef
- string UniqueItemResref
- string subrace
- struct SubraceStats Stats
|
| param2default
| |
| param2desc
| - This indicates the modifiers that will be in place. It can be obtained from the function .
- This is a bit-field formed by combining ITEM_TYPE_* constants with .
- This is the additional race that qualifies for the subrace. It must be either or a constant for a playable race.
- This indicates the time of day the appearance changes. Using TIME_BOTH or TIME_NONE indicates when a member of this subrace is forced to have the specified appearance. Using TIME_DAY or TIME_NIGHT indicates when a member of this subrace reverts to the normal appearance.
- This is the spell resistance given to members of this subrace at level 1.
- This is what a player will have to type into the subrace field to get this subrace. It must not have spaces . This is not case sensitive.
|
| param1desc
| - This should be the subrace name used in .
- This is the base race from which the subrace is created. It must be either or a constant for a playable race. Additional races can be specified by calling AddAdditionalBaseRaceToSubrace afterwards.
- This is either or , indicating whether the rest of the parameters are percentage or fixed modifiers.
|
| param3default
| |