Modifiers - IHateMyKite/UnforgivingDevices GitHub Wiki

Info

As of version 2.0b9, modifiers can be modified in game using mcm debug menu.
For that reason, here is a quick tutorial on how to correctly add modifiers.


Syntax

All modifiers are made from 2 parts. Modifier name, and parameters. Syntax is as follows

"modname";"param1,param2,..."

Every modifier can have the different number of parameters, and some have none. Adding more parameters will not cause issue, but having less parameters than minimum number will make modifier to not work properly.


Current list of modifiers:

DOR

Meaning: Destroy on remove
Function: Unlocking the device will also remove it from actor inventory.
Parameters: None
Example: DOR


Sentient

Meaning: Sentient
Function: Device have chance of activating itself when actor activate struggle minigame on the said device Parameters:
1 - Chance, Int in range 0-100
Example: Sentient;50 -> Results in 50% chance of device activating itself when actors try to struggle


Regen

Meaning: Regeneration
Function: Device slowly repairs itself
Parameters:
1 - Regeneration per day, Int
Example: Regen;240 -> Results in device repairing 240 durability per day, or 10 durability per hour


Loose

Meaning: Loose
Function: Device can be struggled from even when actor have tied hands
Parameters:
1 - Struggle effectivity, float in range 0.0-1.0
Example: Loose;0.8 -> Device can be struggled from with 80% effectivity


_HEAL

Meaning: Healer
Function: Device is slowly healing all other devices
Parameters:
1 - Regeneration per day, Int
Example: _HEAL;240 -> Results in device repairing all devices (itself included) by 240 durability per day, or 10 durability per hour


LootGold

Meaning: Gold Loot
Function: Device will reward actor with gold when unlocked
Parameters:
1 - Minimum gold rewarded, Int
2 - (optional) Maximum gold rewarded, Int, not filling this parameter will result in actor gaining fixed amount of gold
3 - (optional) Mode, Int, not filling this parameter will use mode 0

  • 0 - Value is not affected
  • 1 - Value is % increased based on actor LEVEL per parameter
  • 2 - Value is ABS increased based on actor LEVEL per parameter

4 - (optional) Mode parameter, Float, Parameter in case that Mode > 0

Example: LootGold;100,500 -> Actor will get random amount of gold in range 100-500
Example: LootGold;100,500,1,0.1 -> In case that actor have Level=10, then resulting gold will be in range 100*(1 + 10x0.1) - 500*(1 + 10x0.1) = 200 - 1000 Gold
Example: LootGold;100,500,2,10.0 -> In case that actor have Level=5, then resulting gold will be in range 100+(10x5) - 500+(10x5) = 150 - 550 Gold


MAH

Meaning: Hour manifest
Function: Device have chance to manifest other device every hour
Parameters:
1 - Chance, Int, range 1,100
2 - (optional) Number of devices manifested, Int, Not filling this will result in only 1 device being manifested
Example: MAH;10,2 -> Device have 10% chance of manifesting 2 devices every hour


MAO

Meaning: Orgasm manifest
Function: Device have chance to manifest other device when actor orgasms
Parameters:
1 - Chance, Int, range 1,100
2 - (optional) Number of devices manifested, Int, Not filling this will result in only 1 device being manifested
Example: MAH;10,2 -> Device have 10% chance of manifesting 2 devices when actor orgasms


_L_CHEAP

Meaning: Cheap Locks
Function: Device have chance of getting jammed locks every hour. Also have chance (1/10) of getting jammed locks when wearer is attacked.
Parameters:
1 - Chance, Int, range 1,100
Example: _L_CHEAP;50 -> Device have 50% chance of getting jammed lock every hour. There is also 5% chance of getting jammed lock when wearer is attacked