diff --git a/Content.Shared/_Floof/Roles/Components/FoodCriticRoleComponent.cs b/Content.Shared/_Floof/Roles/Components/FoodCriticRoleComponent.cs new file mode 100644 index 00000000000..f6e1f900015 --- /dev/null +++ b/Content.Shared/_Floof/Roles/Components/FoodCriticRoleComponent.cs @@ -0,0 +1,9 @@ +using Robust.Shared.GameStates; + +namespace Content.Shared.Roles.Components; + +/// +/// Added to mind role entities to tag that they are a food critic. +/// +[RegisterComponent, NetworkedComponent] +public sealed partial class FoodCriticRoleComponent : BaseMindRoleComponent; diff --git a/Resources/Locale/en-US/_Floof/abilities/psionic.ftl b/Resources/Locale/en-US/_Floof/abilities/psionic.ftl index af735189fa3..e8931c42515 100644 --- a/Resources/Locale/en-US/_Floof/abilities/psionic.ftl +++ b/Resources/Locale/en-US/_Floof/abilities/psionic.ftl @@ -3,6 +3,12 @@ role-subtype-sample-collector = Sample Collector ghost-role-information-sample-collector-name = Sample Collector ghost-role-information-sample-collector-description = Purchase, and assist in the collection of, biological samples from station crew. +psionic-power-precognition-food-critic-result-message = You see a judge, not one of law, but of life, of sustainance. Have you done enough to make the lives of others fuller? Are you even capable of that? Its gaze makes you question your every competence. You are at its service and its mercy. +role-subtype-food-critic = Food Critic +ghost-role-information-food-critic-name = Food Critic +ghost-role-information-food-critic-description = Test the culinary prowess of HGI's service crew. Is the food here worth risking being eaten by the rat king? You'll be the judge of that. + + psionic-power-precognition-unknown-shuttle-casino = For a brief moment, you can hear the sound of slot machines and drinks clanking together. role-subtype-casino-manager = Casino Manager ghost-role-information-casino-manager-name = Casino Manager diff --git a/Resources/Prototypes/GameRules/events.yml b/Resources/Prototypes/GameRules/events.yml index b756fdb8333..8b46f47db06 100644 --- a/Resources/Prototypes/GameRules/events.yml +++ b/Resources/Prototypes/GameRules/events.yml @@ -26,6 +26,7 @@ - id: SpiderClownSpawn - id: SpiderSpawn - id: VentClog + - id: FoodCriticSpawn # Euphoria - Dunno where exactly to put this so it's here for now, this wasn't a thought-out decision to put it here specifically so if you feel like it should be somewhere else, be my guest. - type: entityTable id: BasicAntagEventsTable @@ -892,3 +893,4 @@ min: 1 max: 1 pickPlayer: false + diff --git a/Resources/Prototypes/_Floof/Gamerules/events.yml b/Resources/Prototypes/_Floof/Gamerules/events.yml new file mode 100644 index 00000000000..fb7eb323190 --- /dev/null +++ b/Resources/Prototypes/_Floof/Gamerules/events.yml @@ -0,0 +1,15 @@ +- type: entity + parent: BaseGameRule + id: FoodCriticSpawn + components: + - type: StationEvent + weight: 2 + duration: 1 + earliestStart: 5 + minimumPlayers: 20 + occursDuringRoundEnd: false + maxOccurrences: 1 + - type: PrecognitionResult + message: psionic-power-precognition-food-critic-result-message + - type: RandomSpawnRule + prototype: SpawnPointFoodCritic diff --git a/Resources/Prototypes/_Floof/Roles/Ghost/food_critic.yml b/Resources/Prototypes/_Floof/Roles/Ghost/food_critic.yml new file mode 100644 index 00000000000..3fc93e6f299 --- /dev/null +++ b/Resources/Prototypes/_Floof/Roles/Ghost/food_critic.yml @@ -0,0 +1,43 @@ +# Mind Role +- type: entity + parent: MindRoleGhostRoleFreeAgentHarmless + id: MindRoleFoodCritic + name: Food Critic Role + components: + - type: MindRole + subtype: role-subtype-food-critic + - type: FoodCriticRole + +# Starting Gear +- type: startingGear + id: FoodCriticGear + equipment: + id: VisitorPDA + ears: ClothingHeadsetService + #pocket1: EncryptionKeyTraffic # They do not need this IF they are not spawning on a ship. + jumpsuit: ClothingUniformSeniorBartender + shoes: ClothingShoesBootsLaceup + back: ClothingBackpack + +# Spawner +- type: entity + categories: [ Spawner ] + parent: MarkerBase + id: SpawnPointFoodCritic + name: ghost role spawn point + suffix: food critic + components: + - type: GhostRole + name: ghost-role-information-food-critic-name + description: ghost-role-information-food-critic-description + mindRoles: + - MindRoleFoodCritic + raffle: + settings: default + - type: GhostRoleCharacterSpawner + outfitPrototype: FoodCriticGear + - type: Sprite + sprite: Markers/jobs.rsi + layers: + - state: green + - sprite: Objects/Consumable/Food/burger.rsi diff --git a/Resources/Prototypes/_Floof/Roles/Ghost/sample_collector.yml b/Resources/Prototypes/_Floof/Roles/Ghost/sample_collector.yml index cd7ce9c35a3..51f272926cf 100644 --- a/Resources/Prototypes/_Floof/Roles/Ghost/sample_collector.yml +++ b/Resources/Prototypes/_Floof/Roles/Ghost/sample_collector.yml @@ -8,7 +8,7 @@ subtype: role-subtype-sample-collector - type: SampleCollectorRole -# Startine Gear +# Starting Gear - type: startingGear id: SampleCollectorGear equipment: