Skip to content

Commit

Permalink
new nuka cola and alcohol bottles. New vendors
Browse files Browse the repository at this point in the history
  • Loading branch information
Peptide90 committed Jun 26, 2024
1 parent afe7fed commit 672c866
Show file tree
Hide file tree
Showing 2 changed files with 75 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,8 @@
max: 1
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: Item
size: Small

- type: entity
parent: BrokenBottle
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,76 @@
components:
- type: VendingMachine
pack: NukaRadInventory
# Needs a run down variant of the sprite
# Needs a run down variant of the sprite


# Broken vendor as storage type
- type: entity
parent: VendingMachine
id: N14VendingMachineNukaColaNew
suffix: storage, empty
name: Nuka-Cola machine
description: A Pre-War vending machine that dispenses Nuka-Cola Corporation branded beverages.
components:
- type: Sprite
sprite: Nuclear14/Structures/Machines/VendingMachines/nukacola.rsi
layers:
- state: "off"
map: ["enum.VendingMachineVisualLayers.Base"]
- state: "off"
map: ["enum.VendingMachineVisualLayers.BaseUnshaded"]
shader: unshaded
- state: panel
map: ["enum.WiresVisualLayers.MaintenancePanel"]
- type: WiresVisuals
- type: PointLight
radius: 1.5
energy: 1.6
color: "#b34747"
- type: Storage
grid:
- 0,0,3,3
maxItemSize: Small
- type: UserInterface
interfaces:
- key: enum.StorageUiKey.Key
type: StorageBoundUserInterface
- type: ContainerContainer
containers:
storagebase: !type:Container
- type: Transform
anchored: true

- type: entity
parent: N14VendingMachineNukaColaNew
id: N14VendingMachineNukaColaNewFilled
suffix: storage, random
components:
- type: StorageFill
contents:
- id: N14DrinkNukaColaEmpty
prob: 0.3
- id: N14DrinkNukaColaBroken
prob: 0.3
- id: N14DrinkNukaCola
prob: 0.3
- id: N14DrinkNukaCola
prob: 0.3
- id: N14DrinkNukaCola
prob: 0.2
- id: N14DrinkNukaColaCherry
prob: 0.1
- id: N14DrinkNukaColaGrape
prob: 0.1
- id: N14DrinkNukaColaOrange
prob: 0.1
- id: N14DrinkNukaColaYellow
prob: 0.05
- id: N14DrinkNukaColaQuantum
prob: 0.05
- id: N14DrinkNukaColaQuartz
prob: 0.05
- id: N14DrinkNukaColaVictory
prob: 0.05
- id: N14DrinkNukaColaWild
prob: 0.05

0 comments on commit 672c866

Please sign in to comment.