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

View File

@@ -1,6 +1,8 @@
using Content.Server.Power.Components;
using Content.Shared.UserInterface;
using Content.Server.Advertise;
using Content.Server.Advertise.Components;
using Content.Server.Advertise.EntitySystems;
using static Content.Shared.Arcade.SharedSpaceVillainArcadeComponent;
using Robust.Server.GameObjects;
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))
{
_advertise.SayThankYou(ent.Owner, advertise);
_advertise.SayAdvertisement(ent.Owner, advertise);
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-parrot = Parrot
chat-speech-verb-parrot-1 = squawks
chat-speech-verb-parrot-2 = tweets
chat-speech-verb-parrot-3 = chirps

View File

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

View File

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

View File

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