* 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
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();
|
|
}
|
|
}
|