Add AdvertiseComponent and add it to vending machines (#3756)

* WIP AdvertiseComponent

* Add AdvertiseComponent and add it to vending machines

* Add snacks.yml

* Capitalise C in cigarette machine

* Update Content.Server/GameObjects/Components/AdvertiseComponent.cs

Co-authored-by: Pieter-Jan Briers <pieterjan.briers@gmail.com>

* Update Content.Server/GameObjects/Components/AdvertiseComponent.cs

Co-authored-by: Pieter-Jan Briers <pieterjan.briers@gmail.com>

* Fix most problems

* Add localisation + exception for illegal prototype values

* Add ads for smart fridge, discount dan's, youtool and mining

* Oops

* Fix style

* Make dependencies local

* Remove some ads, increase wait

* Increase wait, allow full initial wait width

* Fix error

* Update sovietsoda.ftl

* Update sovietsoda.ftl

Co-authored-by: Pieter-Jan Briers <pieterjan.briers@gmail.com>
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
This commit is contained in:
Visne
2021-04-21 12:00:14 +02:00
committed by GitHub
parent 2250926457
commit 75a8833b2c
58 changed files with 558 additions and 59 deletions

View File

@@ -0,0 +1,8 @@
advertisement-discount-1 = Discount Dan, he's the man!
advertisement-discount-2 = There ain't nothing better in this world than a bite of mystery.
advertisement-discount-3 = Don't listen to those other machines, buy my product!
advertisement-discount-4 = Quantity over Quality!
advertisement-discount-5 = Don't listen to those eggheads at the CDC, buy now!
advertisement-discount-6 = Discount Dan's: We're good for you! Nope, couldn't say it with a straight face.
advertisement-discount-7 = Discount Dan's: Only the best quality produ-*BZZT
advertisement-discount-8 = Discount Dan(tm) is not responsible for any damages caused by misuse of his product.