Device Properties - IHateMyKite/UnforgivingDevices GitHub Wiki
PRO tip: If you can't see the whole table at once, you can press mouse wheel to be able to move the table from left to right etc..
Variable name | Type | Script | Meaning | Default | Range |
---|---|---|---|---|---|
DeviceInventory | Armor | UD_CustomDevice_RenderScript | This property needs to be allways presnet. Should be filled with the correct ID | ||
libs | Object (zadlibs) | UD_CustomDevice_RenderScript | Property filled with zadlibs (Quest zadQuest)- Allways needs to be filled, otherwise device will not work | ||
zad_deviceKey | Object (Key) | UD_CustomDevice_RenderScript | Device key, used for unlocking locks, If not filled, will be copied from ID | ||
UD_DeviceKeyword_Minor | Object (Keyword) | UD_CustomDevice_RenderScript | Optional minor keyword. Is only used by HB and hobble. For example, straitjacket should have main keyword as zad_DeviousHeavyBondage, and minor keyword as zad_DeviousStraitjacket. This variable is mainly used for playing correct struggle animation | ||
UD_Level | Int (bit coded) | UD_CustomDevice_RenderScript | Level of device. Devices health and lock difficulty increases with level. This value have also 3 special mods. -1 => will cause device level to be +- 25% same as level of wearer | -2 will cause device level to be +25% bigger then wearer level | -3 -||- -25% smaller | 1 | -10:1000 |
UD_durability_damage_base | Float (bit coded) | UD_CustomDevice_RenderScript | Base durability damage per second of device. This is not exact value of what will be used in minigame, but instead just base value which is then moded using other minigame values | 1.0 | 0.00:40.00, precision 0.01 |
UD_base_stat_drain | Float (bit coded) | UD_CustomDevice_RenderScript | How many stats are reduced per second of minigame. This is only base values, which is later moded with minigame values | 8.0 | 1.0:31.0, precision 1.0 |
UD_ResistMagicka | Float (bit coded) | UD_CustomDevice_RenderScript | Magick resistence of device. Reduces effectiveness of magick minigame | 0.0 | -5.0:5.23, precision 0.01 |
UD_ResistPhysical | Float (bit coded) | UD_CustomDevice_RenderScript | Physical resistence of device. Reduces effectiveness of normal and despair minigame | 0.0 | -5.0:5.23, precision 0.01 |
UD_WeaponHitResist | Float (bit coded) | UD_CustomDevice_RenderScript | Physical resistence of device when hit with weapon attack. If set to 5.23, it will be set on init to UD_PhysicalResist | 0.0 | -5.0:5.23, precision 0.01 |
UD_SpellHitResist | Float (bit coded) | UD_CustomDevice_RenderScript | UNUSED | 0.0 | -5.0:5.23, precision 0.01 |
UD_CutChance | Float (bit coded) | UD_CustomDevice_RenderScript | Have nothing to do with chance. Determinate how much cutting progress is added on every key press | 0.0 | 0.0:100.0, precision 1.0 |
UD_StruggleCritMul | Float (bit coded) | UD_CustomDevice_RenderScript | Crit multiplier. Determinate how much are crits effective | 3.75 | 0.0:255.0, precision 0.25 |
UD_StruggleCritDuration | Float (bit coded) | UD_CustomDevice_RenderScript | Crit duration | 1.0 | 0.5:1.2, precision 0.1 |
UD_StruggleCritChance | Int (bit coded) | UD_CustomDevice_RenderScrip | 15 | 0:100, precision 1 | |
UD_Cooldown | Int | UD_CustomDevice_RenderScrip | Device cooldown in minutes. This determinate how often will device activate itself. Setting this to 0 will prevent device from activating itself (can be still activated by other sentient devices) | 0 | |
UD_DefaultHealth | Float | UD_CustomDevice_RenderScrip | Device default health. It is used as base, which will be increased with device level. | 100 | |
UD_Modifiers | String Array | UD_CustomDevice_RenderScrip | Array of modifiers. More abut modifiers here https://github.com/IHateMyKite/UnforgivingDevices/wiki/Modifiers | none | |
UD_MessageDeviceInteraction | Object (Message) | UD_CustomDevice_RenderScrip | Message that is show when opening device menu. If not set, it will be set automatically by UD. | none | |
UD_MessageDeviceInteractionWH | Object (Message) | UD_CustomDevice_RenderScrip | Same as previous property, bu this one is opened when getting help from/helping NPC | none | |
UD_SpecialMenuInteraction | Object (Message) | UD_CustomDevice_RenderScrip | Message that is show when opening special menu. Is by default empty, and unused on base script. Have to be used by extending script | none | |
UD_SpecialMenuInteractionWH | Object (Message) | UD_CustomDevice_RenderScrip | Same as previous property, but opened when helper is present | ||
UD_OnDestroyItemList | Object (LeveledItem) | UD_CustomDevice_RenderScrip | LeveledItem list that is added to wearer when device is unlocked. Should be primarily used only when device have DestroyOnRemove flag, so it can't be used to generate items infinitely | none | |
UD_DeviceAbilities | Object array | UD_CustomDevice_RenderScrip | Array of abilities which will be added to wearer when device is equipped. Works as alternative to using enchantments. | none | |
UD_DeviceAbilities_Flags | Int array | UD_CustomDevice_RenderScrip | Flags for previous property. Every ability should have also flag (so both arrays have same length). Values: 0=Apply to both player and npc; 1=apply only to npc;2=apply only to player;3=do not apply (other script have to be used to determinate whne to use the ability) | none | |
UD_LockList | Int array | UD_CustomDevice_RenderScrip | Array of device locks. Locks should be generated with https://ihatemykite.github.io/LockBitcoder.html | none | |
UD_LockNameList | String array | UD_CustomDevice_RenderScrip | Array of locks names. Needs to have same length as lock array. | none |