Add dicebag and game vending machine (#6415)
Co-authored-by: fishfish458 <fishfish458>
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
- type: advertisementsPack
|
||||
id: GoodCleanFunAds
|
||||
advertisements:
|
||||
- advertisement-goodcleanfun-1
|
||||
- advertisement-goodcleanfun-2
|
||||
- advertisement-goodcleanfun-3
|
||||
- advertisement-goodcleanfun-4
|
||||
- advertisement-goodcleanfun-5
|
||||
- advertisement-goodcleanfun-6
|
||||
- advertisement-goodcleanfun-7
|
||||
- advertisement-goodcleanfun-8
|
||||
@@ -0,0 +1,13 @@
|
||||
- type: vendingMachineInventory
|
||||
id: GoodCleanFunInventory
|
||||
name: Good Clean Fun
|
||||
animationDuration: 1.3
|
||||
spriteName: games
|
||||
startingInventory:
|
||||
DiceBag: 4
|
||||
Paper: 8
|
||||
d6Dice: 8
|
||||
ChessBoard: 1
|
||||
BackgammonBoard: 1
|
||||
ParchisBoard: 1
|
||||
CheckerBoard: 1
|
||||
@@ -9,12 +9,17 @@
|
||||
- type: Sprite
|
||||
sprite: Objects/Fun/dice.rsi
|
||||
noRot: true # If their sprites rotate, the number becomes even more illegible than usual.
|
||||
- type: Tag
|
||||
tags:
|
||||
- Dice
|
||||
- type: Item
|
||||
size: 2
|
||||
|
||||
- type: entity
|
||||
parent: BaseDice
|
||||
id: d100Dice
|
||||
name: d100
|
||||
description: A die with one hundred sides! Probably not fairly weighted...
|
||||
description: A die with ten sides. Works better for d100 rolls than a golf ball.
|
||||
components:
|
||||
- type: Dice
|
||||
sides: 100
|
||||
|
||||
38
Resources/Prototypes/Entities/Objects/Fun/dice_bag.yml
Normal file
38
Resources/Prototypes/Entities/Objects/Fun/dice_bag.yml
Normal file
@@ -0,0 +1,38 @@
|
||||
- type: entity
|
||||
parent: BaseItem
|
||||
id: DiceBag
|
||||
name: bag of dice
|
||||
description: Contains all the luck you'll ever need.
|
||||
components:
|
||||
- type: StorageFill
|
||||
contents:
|
||||
- id: d4Dice
|
||||
- id: d6Dice
|
||||
- id: d8Dice
|
||||
- id: d10Dice
|
||||
- id: d12Dice
|
||||
- id: d20Dice
|
||||
- id: d100Dice
|
||||
- type: Sprite
|
||||
netsync: false
|
||||
sprite: Objects/Fun/dice.rsi
|
||||
state: dicebag
|
||||
- type: Item
|
||||
- type: Storage
|
||||
capacity: 18
|
||||
size: 5
|
||||
whitelist:
|
||||
tags:
|
||||
- Dice
|
||||
|
||||
- type: entity
|
||||
parent: DiceBag
|
||||
id: MagicDiceBag
|
||||
name: bag of dice
|
||||
components:
|
||||
- type: Sprite
|
||||
netsync: false
|
||||
sprite: Objects/Fun/dice.rsi
|
||||
state: magicdicebag
|
||||
- type: Storage
|
||||
capacity: 30
|
||||
@@ -170,7 +170,7 @@
|
||||
radius: 1
|
||||
energy: 1.3
|
||||
color: "#ffb0b0"
|
||||
|
||||
|
||||
- type: entity
|
||||
parent: VendingMachine
|
||||
id: VendingMachineChapel
|
||||
@@ -809,3 +809,35 @@
|
||||
radius: 1.5
|
||||
energy: 1.6
|
||||
color: "#d4ab33"
|
||||
|
||||
- type: entity
|
||||
parent: VendingMachine
|
||||
id: VendingMachineGames
|
||||
name: Good Clean Fun
|
||||
description: Vends things that the Captain and Head of Personnel are probably not going to appreciate you fiddling with instead of your job...
|
||||
components:
|
||||
- type: VendingMachine
|
||||
pack: GoodCleanFunInventory
|
||||
- type: Advertise
|
||||
pack: GoodCleanFunAds
|
||||
- type: Sprite
|
||||
sprite: Structures/Machines/VendingMachines/games.rsi
|
||||
layers:
|
||||
- state: "off"
|
||||
map: ["enum.VendingMachineVisualLayers.Unlit"]
|
||||
- state: "off"
|
||||
map: ["enum.VendingMachineVisualLayers.BaseUnshaded"]
|
||||
shader: unshaded
|
||||
- state: panel
|
||||
map: ["enum.WiresVisualLayers.MaintenancePanel"]
|
||||
- type: Appearance
|
||||
visuals:
|
||||
- type: VendingMachineVisualizer
|
||||
normalUnshaded: true
|
||||
ejectUnshaded: true
|
||||
broken: true
|
||||
- type: WiresVisualizer
|
||||
- type: PointLight
|
||||
radius: 1.5
|
||||
energy: 1.6
|
||||
color: "#326e3f"
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
- type: Tag
|
||||
id: Brutepack
|
||||
|
||||
|
||||
- type: Tag
|
||||
id: BodyBag
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
|
||||
- type: Tag
|
||||
id: CaptainSabre
|
||||
|
||||
|
||||
- type: Tag
|
||||
id: Cartridge
|
||||
|
||||
@@ -99,6 +99,9 @@
|
||||
- type: Tag
|
||||
id: Debug
|
||||
|
||||
- type: Tag
|
||||
id: Dice
|
||||
|
||||
- type: Tag
|
||||
id: Document
|
||||
|
||||
@@ -251,7 +254,7 @@
|
||||
|
||||
- type: Tag
|
||||
id: Taser
|
||||
|
||||
|
||||
- type: Tag
|
||||
id: Trash
|
||||
|
||||
|
||||
Reference in New Issue
Block a user