Localize sentience event target flavors (#11726)

This commit is contained in:
Morb
2022-11-09 02:36:13 +03:00
committed by GitHub
parent dce05efec4
commit 65e6744e3e
5 changed files with 14 additions and 8 deletions

View File

@@ -34,7 +34,7 @@ public sealed class RandomSentience : StationEventSystem
var comp = EntityManager.AddComponent<GhostTakeoverAvailableComponent>(target.Owner);
comp.RoleName = EntityManager.GetComponent<MetaDataComponent>(target.Owner).EntityName;
comp.RoleDescription = Loc.GetString("station-event-random-sentience-role-description", ("name", comp.RoleName));
groups.Add(target.FlavorKind);
groups.Add(Loc.GetString(target.FlavorKind));
}
if (groups.Count == 0)

View File

@@ -28,3 +28,9 @@ station-event-random-sentience-announcement = Based on { $data }, we believe tha
## Ghost role description
station-event-random-sentience-role-description = You are a sentient { $name }, brought to life through space magic.
# Flavors
station-event-random-sentience-flavor-mechanical = mechanical
station-event-random-sentience-flavor-organic = organic
station-event-random-sentience-flavor-corgi = corgi
station-event-random-sentience-flavor-primate = primate

View File

@@ -48,7 +48,7 @@
interactSuccessSound:
path: /Audio/Animals/fox_squeak.ogg
- type: SentienceTarget
flavorKind: organic
flavorKind: station-event-random-sentience-flavor-organic
- type: Bloodstream
bloodMaxVolume: 50
- type: ReplacementAccent
@@ -199,7 +199,7 @@
- type: ReplacementAccent
accent: chicken
- type: SentienceTarget
flavorKind: organic
flavorKind: station-event-random-sentience-flavor-organic
- type: entity
name: mallard duck #Quack
@@ -250,7 +250,7 @@
- type: ReplacementAccent
accent: duck
- type: SentienceTarget
flavorKind: organic
flavorKind: station-event-random-sentience-flavor-organic
- type: entity
name: white duck #Quack
@@ -682,7 +682,7 @@
- type: NameIdentifier
group: Monkey
- type: SentienceTarget
flavorKind: primate
flavorKind: station-event-random-sentience-flavor-primate
- type: Inventory
templateId: monkey
- type: Fixtures
@@ -1539,7 +1539,7 @@
attributes:
gender: epicene
- type: SentienceTarget
flavorKind: corgi
flavorKind: station-event-random-sentience-flavor-corgi
- type: Puller
- type: MobPrice
price: 200

View File

@@ -151,7 +151,7 @@
graph: CleanBot
node: bot
- type: SentienceTarget
flavorKind: mechanical
flavorKind: station-event-random-sentience-flavor-mechanical
- type: SolutionContainerManager
solutions:
drainBuffer:

View File

@@ -68,7 +68,7 @@
priority: Low
- type: Actions
- type: SentienceTarget
flavorKind: mechanical
flavorKind: station-event-random-sentience-flavor-mechanical
- type: StaticPrice
price: 200
- type: Appearance