Module:Constants: Difference between revisions

Fixed True -> true
(Attempt to rewrite getModifierText so that we only need one row for pairs, not two. We'll see what breaks.)
(Fixed True -> true)
Line 12: Line 12:
   ["GlobalMasteryXP"] = { text = "{V}% Global Mastery XP" },
   ["GlobalMasteryXP"] = { text = "{V}% Global Mastery XP" },
   ["ChanceRandomPotionHerblore"] = { text = "{V}% chance to gain a second potion of a random tier" },
   ["ChanceRandomPotionHerblore"] = { text = "{V}% chance to gain a second potion of a random tier" },
   ["FlatPrayerCostReduction"] = { text = "{V} Prayer Point Cost for Prayers", inverseSign = True },
   ["FlatPrayerCostReduction"] = { text = "{V} Prayer Point Cost for Prayers", inverseSign = true },
   ["MinEarthSpellDmg"] = { text = "{VX} Min Earth Spell Dmg" },
   ["MinEarthSpellDmg"] = { text = "{VX} Min Earth Spell Dmg" },
   ["SlayerTaskLength"] = { text = "{V}% Slayer Task Length/Qty" },
   ["SlayerTaskLength"] = { text = "{V}% Slayer Task Length/Qty" },
Line 31: Line 31:
   ["SlayerXP"] = { text = "{V}% Slayer XP" },
   ["SlayerXP"] = { text = "{V}% Slayer XP" },
   ["PotionChargesFlat"] = { text = "{V} Charges per Potion" },
   ["PotionChargesFlat"] = { text = "{V} Charges per Potion" },
   ["SkillInterval"] = { text = "{VMS1}s {SV0} Interval", isIncreaseNegative = True },
   ["SkillInterval"] = { text = "{VMS1}s {SV0} Interval", isIncreaseNegative = true },
   ["BankSpace"] = { text = "{V} Bank Space" },
   ["BankSpace"] = { text = "{V} Bank Space" },
   ["MinHitBasedOnMaxHit"] = { text = "{V}% of Maximum Hit added to Minimum Hit" },
   ["MinHitBasedOnMaxHit"] = { text = "{V}% of Maximum Hit added to Minimum Hit" },
Line 39: Line 39:
   ["ChanceToDoubleOres"] = { text = "{V}% Chance to Double Ores in Mining" },
   ["ChanceToDoubleOres"] = { text = "{V}% Chance to Double Ores in Mining" },
   ["MaxStamina"] = { text = "{V} Max Stamina" },
   ["MaxStamina"] = { text = "{V} Max Stamina" },
   ["MonsterRespawnTimer"] = { text = "{VMS}s Monster Respawn Timer", isIncreaseNegative = True },
   ["MonsterRespawnTimer"] = { text = "{VMS}s Monster Respawn Timer", isIncreaseNegative = true },
   ["SkillPreservationChance"] = { text = "{V1}% Chance to Preserve Resources in {SV0}" },
   ["SkillPreservationChance"] = { text = "{V1}% Chance to Preserve Resources in {SV0}" },
   ["DamageToCombatAreaMonsters"] = { text = "{V}% Damage To Combat Area Monsters" },
   ["DamageToCombatAreaMonsters"] = { text = "{V}% Damage To Combat Area Monsters" },
Line 51: Line 51:
   ["GPFromMonsters"] = { text = "{V}% GP From Monsters" },
   ["GPFromMonsters"] = { text = "{V}% GP From Monsters" },
   ["MagicEvasion"] = { text = "{V}% Magic Evasion" },
   ["MagicEvasion"] = { text = "{V}% Magic Evasion" },
   ["PlayerAttackSpeedPercent"] = { text = "{V}% Player Attack Speed", isIncreaseNegative = True },
   ["PlayerAttackSpeedPercent"] = { text = "{V}% Player Attack Speed", isIncreaseNegative = true },
   ["PreservationChance"] = { text = "{V}% Chance to Preserve Resources" },
   ["PreservationChance"] = { text = "{V}% Chance to Preserve Resources" },
   ["DamageReduction"] = { text = "{V}% Damage Reduction" },
   ["DamageReduction"] = { text = "{V}% Damage Reduction" },
Line 65: Line 65:
   ["SlayerAreaEffectNegationFlat"] = { text = "{V}% Flat Slayer Area Effect Negation" },
   ["SlayerAreaEffectNegationFlat"] = { text = "{V}% Flat Slayer Area Effect Negation" },
   ["MagicAccuracyBonus"] = { text = "{V}% Magic Accuracy Bonus" },
   ["MagicAccuracyBonus"] = { text = "{V}% Magic Accuracy Bonus" },
   ["SkillIntervalPercent"] = { text = "{V1}% {SV0} Interval", isIncreaseNegative = True },
   ["SkillIntervalPercent"] = { text = "{V1}% {SV0} Interval", isIncreaseNegative = true },
   ["GlobalSkillXP"] = { text = "{V}% Global Skill XP" },
   ["GlobalSkillXP"] = { text = "{V}% Global Skill XP" },
   ["MeleeAccuracyBonus"] = { text = "{V}% Melee Accuracy Bonus" },
   ["MeleeAccuracyBonus"] = { text = "{V}% Melee Accuracy Bonus" },
Line 80: Line 80:
   ["RangedAccuracyBonus"] = { text = "{V} Ranged Accuracy Bonus" },
   ["RangedAccuracyBonus"] = { text = "{V} Ranged Accuracy Bonus" },
   ["AutoEatThreshold"] = { text = "{V}% Auto Eat Threshold" },
   ["AutoEatThreshold"] = { text = "{V}% Auto Eat Threshold" },
   ["PlayerAttackSpeed"] = { text = "{VMS}s Player Attack Speed", isIncreaseNegative = True },
   ["PlayerAttackSpeed"] = { text = "{VMS}s Player Attack Speed", isIncreaseNegative = true },
   ["freeBonfires"] = { text = "+ Automatically relight bonfires for free" },
   ["freeBonfires"] = { text = "+ Automatically relight bonfires for free" },
   ["AutoEatHPLimit"] = { text = "{V}% Auto Eat HP Limit" },
   ["AutoEatHPLimit"] = { text = "{V}% Auto Eat HP Limit" },
Line 96: Line 96:
   ["SeeingGoldChance"] = { text = "{V}% chance for Silver Ore to also produce a Gold Bar when smithed" },
   ["SeeingGoldChance"] = { text = "{V}% chance for Silver Ore to also produce a Gold Bar when smithed" },
   ["ElementalRuneGain"] = { text = "{V} runes received when generating random elemental runes" },
   ["ElementalRuneGain"] = { text = "{V} runes received when generating random elemental runes" },
   ["StaminaCost"] = { text = "{V} Stamina Cost per action", isIncreaseNegative = True },
   ["StaminaCost"] = { text = "{V} Stamina Cost per action", isIncreaseNegative = true },
   ["GPFromSales"] = { text = "{V}% GP From Sales" },
   ["GPFromSales"] = { text = "{V}% GP From Sales" },
   ["MaxHitFlat"] = { text = "{VX} Max Hit" },
   ["MaxHitFlat"] = { text = "{VX} Max Hit" },