Фикс дерьма (#289)

* init

* upd

* upd contraband

* upd

* translate my burger

* upd

* ntrep jucket upd

* fix

* upd

* steal objective fix

* upd

* fix

* fix

* fix2

* Я идиот кстати

* ты серьезно? Доебалось до 2х скоб

* upd
This commit is contained in:
Rinary 2024-08-16 00:40:49 +03:00 committed by GitHub
parent 279846e1ad
commit d91fe7fe98
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 7 additions and 7 deletions

View file

@ -79,8 +79,8 @@ public sealed class StealConditionSystem : EntitySystem
var locale = $"objective-{Regex.Replace(group.Name, @"[*?!'%\s]", string.Empty).ToLower()}";
if (Loc.GetString(locale) == locale)
{
Logger.Error($"Steal item {locale} doesn't have locale");
var locale = group.Name;
Logger.Error($"Steal item objective-{Regex.Replace(group.Name, @"[*?!'%\s]", string.Empty).ToLower()} doesn't have locale");
locale = group.Name;
}
var title =condition.Comp.OwnerText == null
? Loc.GetString(condition.Comp.ObjectiveNoOwnerText, ("itemName", Loc.GetString(locale)))

View file

@ -4,7 +4,7 @@
categories: [ HideSpawnMenu ]
components:
- type: ShowJobIcons
- type: ShowMindShieldIcons
# - type: ShowMindShieldIcons Sunrise-Edit
- type: ShowCriminalRecordIcons
- type: entity

View file

@ -314,7 +314,7 @@
- type: AccessReader
access: [["Command"], ["Research"]]
- type: ShowJobIcons
- type: ShowMindShieldIcons
# - type: ShowMindShieldIcons Sunrise-Edit
- type: BorgCrewManifestViewer # Sunrise-Edit
@ -354,7 +354,7 @@
radius: 6
energy: 3
- type: ShowJobIcons
- type: ShowMindShieldIcons
# - type: ShowMindShieldIcons Sunrise-Edit
- type: ShowCriminalRecordIcons
- type: MobThresholds
thresholds:

View file

@ -32,7 +32,7 @@
sprite: _Sunrise/Clothing/Eyes/Glasses/blueshield_sunglasses.rsi
- type: FlashImmunity
- type: ShowJobIcons
- type: ShowMindShieldIcons
# - type: ShowMindShieldIcons
- type: ShowCriminalRecordIcons
- type: ShowHealthBars
damageContainers:
@ -75,7 +75,7 @@
sprite: _Sunrise/Clothing/Eyes/Glasses/sunhudskill.rsi
- type: FlashImmunity
- type: ShowJobIcons
- type: ShowMindShieldIcons
# - type: ShowMindShieldIcons
- type: ShowCriminalRecordIcons
- type: Tag
tags: