mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-10-07 14:57:25 +00:00
* Moved vendor thank you messages into AdvertisementPack, making them vendor-specific.
Wrote a few example messages.
* Only display thank yous when closing the UI after a purchase.
* Tweaked a few messages
* More custom messages
* Missed one
(cherry picked from commit eb9770efb9)
19 lines
538 B
C#
19 lines
538 B
C#
using Robust.Shared.Prototypes;
|
|
|
|
namespace Content.Server.Advertisements
|
|
{
|
|
[Serializable, Prototype("advertisementsPack")]
|
|
public sealed partial class AdvertisementsPackPrototype : IPrototype
|
|
{
|
|
[ViewVariables]
|
|
[IdDataField]
|
|
public string ID { get; private set; } = default!;
|
|
|
|
[DataField("advertisements")]
|
|
public List<string> Advertisements { get; private set; } = new();
|
|
|
|
[DataField("thankyous")]
|
|
public List<string> ThankYous { get; private set; } = new();
|
|
}
|
|
}
|