Separated mana modifiers (#1001)

* brainrot

* Update test_armor.yml
This commit is contained in:
Link
2025-03-11 10:23:09 +03:00
committed by GitHub
parent 540def6650
commit 0168dbabbb
3 changed files with 10 additions and 6 deletions

View File

@@ -32,9 +32,9 @@ public sealed partial class CP14MagicManacostModifySystem : EntitySystem
args,
ent.Comp,
markup,
Loc.GetString("armor-examinable-verb-text"),
"/Textures/Interface/VerbIcons/dot.svg.192dpi.png",
Loc.GetString("armor-examinable-verb-message"));
Loc.GetString("cp14-magic-examinable-verb-text"),
"/Textures/Interface/VerbIcons/bubbles.svg.192dpi.png",
Loc.GetString("cp14-magic-examinable-verb-message"));
}
private FormattedMessage GetMagicClothingExamine(CP14MagicManacostModifyComponent comp)
@@ -60,7 +60,7 @@ public sealed partial class CP14MagicManacostModifySystem : EntitySystem
var plus = modifier.Value > 1 ? "+" : "";
var indexedType = _proto.Index(modifier.Key);
msg.AddMarkupOrThrow($"[color={indexedType.Color.ToHex()}]{Loc.GetString(indexedType.Name)}[/color]: {plus}{(modifier.Value - 1)*100}%");
msg.AddMarkupOrThrow($"- [color={indexedType.Color.ToHex()}]{Loc.GetString(indexedType.Name)}[/color]: {plus}{(modifier.Value - 1)*100}%");
}
return msg;

View File

@@ -1,3 +1,5 @@
cp14-magic-examinable-verb-text = Magic
cp14-magic-examinable-verb-message = Magical properties.
cp14-clothing-magic-examine = Changes the manacost of the following magic types:
cp14-clothing-magic-global = All types
cp14-clothing-magic-global = - All types

View File

@@ -1,3 +1,5 @@
cp14-magic-examinable-verb-text = Магия
cp14-magic-examinable-verb-message = Магические свойства.
cp14-clothing-magic-examine = Изменяет количество затрачиваемой маны на использование заклинаний следующих направлений:
cp14-clothing-magic-global = Всех направлений
cp14-clothing-magic-global = - Всех направлений