Smite vending machine (#34420)

* Added smite machine to YAML

* Added smite ads and inventory

* Added smite vendor sprites

* Changed the description of the machine to not repeat and ad line.

* Added newline to end of inventory .yml

* Corrected erroneous edit.

* Tweaked all sprites

* Added tesla toy to contraband. Reduced number of drinks available

* Reduced soda varieties but increased can numbers.

* Removed tesla toy from contraband inventory

* Removed speech component from vending machines that already inherit it

* Moved Sprite component to top of list

* Added Smite vendors to random spanwers

* Alphabetised spawn prototypes, commented where name is unclear
This commit is contained in:
Alpaccalypse
2025-01-15 18:20:01 +00:00
committed by GitHub
parent c4c00cdc7c
commit 3cac75f117
15 changed files with 150 additions and 39 deletions

View File

@@ -0,0 +1,12 @@
advertisement-smite-1 = SMITE! Ban your thirst!
advertisement-smite-2 = An eldritch blast of lemon and lime!
advertisement-smite-3 = Over 1 million drinks sold!
advertisement-smite-4 = SMITE! Roll 2d8 for FLAVOR.
advertisement-smite-5 = SMITE! Let's get that paperwork done!
advertisement-smite-6 = The janitor has it in for you!
advertisement-smite-7 = SMITE! It won't get you hammered.
advertisement-smite-8 = It's lemon-lime time!
thankyou-smite-1 = Smite makes right!
thankyou-smite-2 = You DEFINITELY wanted lemon-lime!
thankyou-smite-3 = The office won't know what hit them.
thankyou-smite-4 = Banish your thirst.

View File

@@ -0,0 +1,13 @@
- type: vendingMachineInventory
id: SmiteInventory
startingInventory:
DrinkLemonLimeCan: 4
DrinkLemonLimeCranberryCan: 2
DrinkColaCan: 2
DrinkSolDryCan: 2
contrabandInventory:
ToyHammer: 1
DrinkStarkistCan: 2
emaggedInventory:
DrinkNukieCan: 2
DrinkChangelingStingCan: 2

View File

@@ -88,6 +88,12 @@
prefix: advertisement-gibb-
count: 8
- type: localizedDataset
id: SmiteAds
values:
prefix: advertisement-smite-
count: 8
- type: localizedDataset
id: CondimentVendAds
values:

View File

@@ -46,6 +46,12 @@
prefix: thankyou-gibb-
count: 4
- type: localizedDataset
id: SmiteGoodbyes
values:
prefix: thankyou-smite-
count: 4
- type: localizedDataset
id: DiscountDansGoodbyes
values:

View File

@@ -11,24 +11,25 @@
state: any
- type: RandomSpawner
prototypes:
- VendingMachineChang
- VendingMachineCigs
- VendingMachineCoffee
- VendingMachineCola
- VendingMachineColaRed
- VendingMachineColaBlack
- VendingMachineCola #Robust Sofdrinks
- VendingMachineColaBlack #Robust Sofdrinks [Black]
- VendingMachineColaRed #Space Cola
- VendingMachineDiscount
- VendingMachineDonut
- VendingMachineDrGibb
- VendingMachinePwrGame
- VendingMachineShamblersJuice
- VendingMachineSmite
- VendingMachineSnack
- VendingMachineSnackBlue
- VendingMachineSnackGreen
- VendingMachineSnackOrange
- VendingMachineSnackTeal
- VendingMachineSovietSoda
- VendingMachineChang
- VendingMachineDonut
- VendingMachineShamblersJuice
- VendingMachinePwrGame
- VendingMachineDrGibb
- VendingMachineSoda
- VendingMachineStarkist
- VendingMachineSoda #Robust Sofdrinks [Soda]
- VendingMachineSovietSoda #Boda
- VendingMachineSpaceUp
- VendingMachineStarkist
chance: 1

View File

@@ -12,14 +12,15 @@
- type: RandomSpawner
prototypes:
- VendingMachineCoffee
- VendingMachineCola
- VendingMachineColaRed
- VendingMachineColaBlack
- VendingMachineSovietSoda
- VendingMachineShamblersJuice
- VendingMachinePwrGame
- VendingMachineCola #Robust Sofdrinks
- VendingMachineColaBlack #Robust Sofdrinks [Black]
- VendingMachineColaRed #Space Cola
- VendingMachineDrGibb
- VendingMachineSoda
- VendingMachineStarkist
- VendingMachinePwrGame
- VendingMachineShamblersJuice
- VendingMachineSmite
- VendingMachineSoda #Robust Sofdrinks [Soda]
- VendingMachineSovietSoda #Boda
- VendingMachineSpaceUp
- VendingMachineStarkist
chance: 1

View File

@@ -135,7 +135,6 @@
pack: CondimentVendAds
- type: SpeakOnUIClosed
pack: GenericVendGoodbyes
- type: Speech
- type: Transform
noRot: false
@@ -154,7 +153,6 @@
pack: AmmoVendAds
- type: SpeakOnUIClosed
pack: GenericVendGoodbyes
- type: Speech
- type: Sprite
sprite: Structures/Machines/VendingMachines/ammo.rsi
layers:
@@ -183,7 +181,6 @@
pack: BoozeOMatAds
- type: SpeakOnUIClosed
pack: BoozeOMatGoodbyes
- type: Speech
- type: Sprite
sprite: Structures/Machines/VendingMachines/boozeomat.rsi
layers:
@@ -218,7 +215,6 @@
pack: BruiseOMatAds
- type: SpeakOnUIClosed
pack: BruiseOMatGoodbyes
- type: Speech
- type: Sprite
sprite: Structures/Machines/VendingMachines/bruiseomat.rsi
layers:
@@ -318,7 +314,6 @@
pack: CigaretteMachineAds
- type: SpeakOnUIClosed
pack: CigaretteMachineGoodbyes
- type: Speech
- type: Sprite
sprite: Structures/Machines/VendingMachines/cigs.rsi
layers:
@@ -346,7 +341,6 @@
pack: ClothesMateAds
- type: SpeakOnUIClosed
pack: GenericVendGoodbyes
- type: Speech
- type: Sprite
sprite: Structures/Machines/VendingMachines/clothing.rsi
layers:
@@ -378,7 +372,6 @@
pack: ClothesMateAds
- type: SpeakOnUIClosed
pack: GenericVendGoodbyes
- type: Speech
- type: Sprite
sprite: Structures/Machines/VendingMachines/winterdrobe.rsi
layers:
@@ -417,7 +410,6 @@
pack: HotDrinksMachineAds
- type: SpeakOnUIClosed
pack: HotDrinksMachineGoodbyes
- type: Speech
- type: Sprite
sprite: Structures/Machines/VendingMachines/coffee.rsi
layers:
@@ -457,7 +449,6 @@
pack: RobustSoftdrinksAds
- type: SpeakOnUIClosed
pack: RobustSoftdrinksGoodbyes
- type: Speech
- type: Sprite
sprite: Structures/Machines/VendingMachines/cola.rsi
layers:
@@ -601,7 +592,6 @@
initialStockQuality: 0.33
- type: Advertise
pack: RobustSoftdrinksAds
- type: Speech
- type: Sprite
sprite: Structures/Machines/VendingMachines/shamblersjuice.rsi
layers:
@@ -638,7 +628,6 @@
pack: RobustSoftdrinksAds
- type: SpeakOnUIClosed
pack: GenericVendGoodbyes
- type: Speech
- type: Sprite
sprite: Structures/Machines/VendingMachines/pwrgame.rsi
layers:
@@ -675,7 +664,6 @@
pack: DrGibbAds
- type: SpeakOnUIClosed
pack: DrGibbGoodbyes
- type: Speech
- type: Sprite
sprite: Structures/Machines/VendingMachines/gib.rsi
layers:
@@ -691,6 +679,42 @@
energy: 1.6
color: "#D82929"
- type: entity
parent: VendingMachine
id: VendingMachineSmite
name: Smite Vendor
description: Popular with the administration.
components:
- type: Sprite
sprite: Structures/Machines/VendingMachines/smite.rsi
layers:
- state: "off"
map: [ "enum.VendingMachineVisualLayers.Base" ]
- state: "off"
map: [ "enum.VendingMachineVisualLayers.BaseUnshaded" ]
shader: unshaded
- state: panel
map: [ "enum.WiresVisualLayers.MaintenancePanel" ]
- type: VendingMachine
pack: SmiteInventory
dispenseOnHitChance: 0.25
dispenseOnHitThreshold: 2
offState: off
brokenState: broken
normalState: normal-unshaded
ejectState: eject-unshaded
denyState: deny-unshaded
ejectDelay: 1.9
initialStockQuality: 0.33
- type: Advertise
pack: SmiteAds
- type: SpeakOnUIClosed
pack: SmiteGoodbyes
- type: PointLight
radius: 1.5
energy: 1.6
color: "#00E645"
- type: entity
parent: VendingMachine
id: VendingMachineDinnerware
@@ -772,7 +796,6 @@
pack: DiscountDansAds
- type: SpeakOnUIClosed
pack: DiscountDansGoodbyes
- type: Speech
- type: Sprite
sprite: Structures/Machines/VendingMachines/discount.rsi
layers:
@@ -989,7 +1012,6 @@
pack: GetmoreChocolateCorpAds
- type: SpeakOnUIClosed
pack: GetmoreChocolateCorpGoodbyes
- type: Speech
- type: Sprite
sprite: Structures/Machines/VendingMachines/snack.rsi
layers:
@@ -1135,7 +1157,6 @@
pack: BodaAds
- type: SpeakOnUIClosed
pack: BodaGoodbyes
- type: Speech
- type: Sprite
sprite: Structures/Machines/VendingMachines/sovietsoda.rsi
layers:
@@ -1169,7 +1190,6 @@
pack: AutoDrobeAds
- type: SpeakOnUIClosed
pack: GenericVendGoodbyes
- type: Speech
- type: Sprite
sprite: Structures/Machines/VendingMachines/theater.rsi
layers:
@@ -1205,7 +1225,6 @@
pack: VendomatAds
- type: SpeakOnUIClosed
pack: GenericVendGoodbyes
- type: Speech
- type: Sprite
sprite: Structures/Machines/VendingMachines/vendomat.rsi
layers:
@@ -1238,7 +1257,6 @@
pack: VendomatAds
- type: SpeakOnUIClosed
pack: GenericVendGoodbyes
- type: Speech
- type: Sprite
sprite: Structures/Machines/VendingMachines/robotics.rsi
layers:
@@ -1337,7 +1355,6 @@
pack: ChangAds
- type: SpeakOnUIClosed
pack: ChangGoodbyes
- type: Speech
- type: Sprite
sprite: Structures/Machines/VendingMachines/changs.rsi
layers:
@@ -1403,7 +1420,6 @@
pack: DonutAds
- type: SpeakOnUIClosed
pack: DonutGoodbyes
- type: Speech
- type: Sprite
sprite: Structures/Machines/VendingMachines/donut.rsi
layers:

Binary file not shown.

After

Width:  |  Height:  |  Size: 511 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 436 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 888 B

View File

@@ -0,0 +1,56 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Created by Alpaccalypse for SS14",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "normal-unshaded",
"delays": [
[
2.5,
0.1,
3.4,
0.1
]
]
},
{
"name": "broken"
},
{
"name": "normal"
},
{
"name": "deny-unshaded",
"delays": [
[
0.1,
0.1,
0.1
]
]
},
{
"name": "eject-unshaded",
"delays": [
[
0.5,
0.1,
1.0,
0.1,
0.1
]
]
},
{
"name": "off"
},
{
"name": "panel"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 532 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 496 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 481 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 150 B