Fix master (#26501)

* Fix master

* this

* messages

* Fix missing verb name parrot

* Fix messagePack for blockgame and spacevillain

---------

Co-authored-by: ShadowCommander <10494922+ShadowCommander@users.noreply.github.com>
This commit is contained in:
metalgearsloth
2024-03-28 22:12:36 +11:00
committed by GitHub
parent 794a447bb7
commit bbe08c0bfb
6 changed files with 38 additions and 32 deletions

View File

@@ -1,6 +1,8 @@
using Content.Server.Power.Components; using Content.Server.Power.Components;
using Content.Shared.UserInterface; using Content.Shared.UserInterface;
using Content.Server.Advertise; using Content.Server.Advertise;
using Content.Server.Advertise.Components;
using Content.Server.Advertise.EntitySystems;
using Content.Shared.Arcade; using Content.Shared.Arcade;
using Robust.Server.GameObjects; using Robust.Server.GameObjects;
using Robust.Shared.Player; using Robust.Shared.Player;
@@ -96,7 +98,7 @@ public sealed class BlockGameArcadeSystem : EntitySystem
component.Player = null; component.Player = null;
if (component.ShouldSayThankYou && TryComp<AdvertiseComponent>(uid, out var advertise)) if (component.ShouldSayThankYou && TryComp<AdvertiseComponent>(uid, out var advertise))
{ {
_advertise.SayThankYou(uid, advertise); _advertise.SayAdvertisement(uid, advertise);
component.ShouldSayThankYou = false; component.ShouldSayThankYou = false;
} }
} }

View File

@@ -1,6 +1,8 @@
using Content.Server.Power.Components; using Content.Server.Power.Components;
using Content.Shared.UserInterface; using Content.Shared.UserInterface;
using Content.Server.Advertise; using Content.Server.Advertise;
using Content.Server.Advertise.Components;
using Content.Server.Advertise.EntitySystems;
using static Content.Shared.Arcade.SharedSpaceVillainArcadeComponent; using static Content.Shared.Arcade.SharedSpaceVillainArcadeComponent;
using Robust.Server.GameObjects; using Robust.Server.GameObjects;
using Robust.Shared.Audio; using Robust.Shared.Audio;
@@ -121,7 +123,7 @@ public sealed partial class SpaceVillainArcadeSystem : EntitySystem
if (ent.Comp.ShouldSayThankYou && TryComp<AdvertiseComponent>(ent.Owner, out var advertise)) if (ent.Comp.ShouldSayThankYou && TryComp<AdvertiseComponent>(ent.Owner, out var advertise))
{ {
_advertise.SayThankYou(ent.Owner, advertise); _advertise.SayAdvertisement(ent.Owner, advertise);
ent.Comp.ShouldSayThankYou = false; ent.Comp.ShouldSayThankYou = false;
} }
} }

View File

@@ -131,6 +131,7 @@ chat-speech-verb-monkey-2 = screeches
chat-speech-verb-name-cluwne = Cluwne chat-speech-verb-name-cluwne = Cluwne
chat-speech-verb-name-parrot = Parrot
chat-speech-verb-parrot-1 = squawks chat-speech-verb-parrot-1 = squawks
chat-speech-verb-parrot-2 = tweets chat-speech-verb-parrot-2 = tweets
chat-speech-verb-parrot-3 = chirps chat-speech-verb-parrot-3 = chirps

View File

@@ -1,6 +1,6 @@
- type: advertisementsPack - type: messagePack
id: BlockGameAds id: BlockGameAds
advertisements: messages:
- advertisement-block-game-1 - advertisement-block-game-1
- advertisement-block-game-2 - advertisement-block-game-2
- advertisement-block-game-3 - advertisement-block-game-3
@@ -14,16 +14,16 @@
- advertisement-block-game-11 - advertisement-block-game-11
- advertisement-block-game-12 - advertisement-block-game-12
- advertisement-block-game-13 - advertisement-block-game-13
thankyous: # thankyous:
- thankyou-block-game-1 # - thankyou-block-game-1
- thankyou-block-game-2 # - thankyou-block-game-2
- thankyou-block-game-3 # - thankyou-block-game-3
- thankyou-block-game-4 # - thankyou-block-game-4
- thankyou-block-game-5 # - thankyou-block-game-5
- thankyou-block-game-6 # - thankyou-block-game-6
- thankyou-block-game-7 # - thankyou-block-game-7
- thankyou-block-game-8 # - thankyou-block-game-8
- thankyou-block-game-9 # - thankyou-block-game-9
- thankyou-block-game-10 # - thankyou-block-game-10
- thankyou-block-game-11 # - thankyou-block-game-11
- thankyou-block-game-12 # - thankyou-block-game-12

View File

@@ -1,6 +1,6 @@
- type: advertisementsPack - type: messagePack
id: SpaceVillainAds id: SpaceVillainAds
advertisements: messages:
- advertisement-space-villain-1 - advertisement-space-villain-1
- advertisement-space-villain-2 - advertisement-space-villain-2
- advertisement-space-villain-3 - advertisement-space-villain-3
@@ -16,16 +16,16 @@
- advertisement-space-villain-13 - advertisement-space-villain-13
- advertisement-space-villain-14 - advertisement-space-villain-14
- advertisement-space-villain-15 - advertisement-space-villain-15
thankyous: # thankyous:
- thankyou-space-villain-1 # - thankyou-space-villain-1
- thankyou-space-villain-2 # - thankyou-space-villain-2
- thankyou-space-villain-3 # - thankyou-space-villain-3
- thankyou-space-villain-4 # - thankyou-space-villain-4
- thankyou-space-villain-5 # - thankyou-space-villain-5
- thankyou-space-villain-6 # - thankyou-space-villain-6
- thankyou-space-villain-7 # - thankyou-space-villain-7
- thankyou-space-villain-8 # - thankyou-space-villain-8
- thankyou-space-villain-9 # - thankyou-space-villain-9
- thankyou-space-villain-10 # - thankyou-space-villain-10
- thankyou-space-villain-11 # - thankyou-space-villain-11
- thankyou-space-villain-12 # - thankyou-space-villain-12

View File

@@ -133,6 +133,7 @@
- type: speechVerb - type: speechVerb
id: Parrot id: Parrot
name: chat-speech-verb-name-parrot
speechVerbStrings: speechVerbStrings:
- chat-speech-verb-parrot-1 - chat-speech-verb-parrot-1
- chat-speech-verb-parrot-2 - chat-speech-verb-parrot-2