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); var comp = EntityManager.AddComponent<GhostTakeoverAvailableComponent>(target.Owner);
comp.RoleName = EntityManager.GetComponent<MetaDataComponent>(target.Owner).EntityName; comp.RoleName = EntityManager.GetComponent<MetaDataComponent>(target.Owner).EntityName;
comp.RoleDescription = Loc.GetString("station-event-random-sentience-role-description", ("name", comp.RoleName)); 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) if (groups.Count == 0)

View File

@@ -28,3 +28,9 @@ station-event-random-sentience-announcement = Based on { $data }, we believe tha
## Ghost role description ## Ghost role description
station-event-random-sentience-role-description = You are a sentient { $name }, brought to life through space magic. 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: interactSuccessSound:
path: /Audio/Animals/fox_squeak.ogg path: /Audio/Animals/fox_squeak.ogg
- type: SentienceTarget - type: SentienceTarget
flavorKind: organic flavorKind: station-event-random-sentience-flavor-organic
- type: Bloodstream - type: Bloodstream
bloodMaxVolume: 50 bloodMaxVolume: 50
- type: ReplacementAccent - type: ReplacementAccent
@@ -199,7 +199,7 @@
- type: ReplacementAccent - type: ReplacementAccent
accent: chicken accent: chicken
- type: SentienceTarget - type: SentienceTarget
flavorKind: organic flavorKind: station-event-random-sentience-flavor-organic
- type: entity - type: entity
name: mallard duck #Quack name: mallard duck #Quack
@@ -250,7 +250,7 @@
- type: ReplacementAccent - type: ReplacementAccent
accent: duck accent: duck
- type: SentienceTarget - type: SentienceTarget
flavorKind: organic flavorKind: station-event-random-sentience-flavor-organic
- type: entity - type: entity
name: white duck #Quack name: white duck #Quack
@@ -682,7 +682,7 @@
- type: NameIdentifier - type: NameIdentifier
group: Monkey group: Monkey
- type: SentienceTarget - type: SentienceTarget
flavorKind: primate flavorKind: station-event-random-sentience-flavor-primate
- type: Inventory - type: Inventory
templateId: monkey templateId: monkey
- type: Fixtures - type: Fixtures
@@ -1539,7 +1539,7 @@
attributes: attributes:
gender: epicene gender: epicene
- type: SentienceTarget - type: SentienceTarget
flavorKind: corgi flavorKind: station-event-random-sentience-flavor-corgi
- type: Puller - type: Puller
- type: MobPrice - type: MobPrice
price: 200 price: 200

View File

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

View File

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