Add barebone nuke (#5242)
Co-authored-by: Alexander Evgrashin <evgrashin.adl@gmail.com>
This commit is contained in:
40
Resources/Prototypes/Entities/Objects/Devices/nuke.yml
Normal file
40
Resources/Prototypes/Entities/Objects/Devices/nuke.yml
Normal file
@@ -0,0 +1,40 @@
|
||||
- type: entity
|
||||
parent: BaseStructureDynamic
|
||||
id: NuclearBomb
|
||||
name: nuclear fission explosive
|
||||
description: You probably shouldn't stick around to see if this is armed.
|
||||
components:
|
||||
- type: Transform
|
||||
anchored: true
|
||||
- type: Sprite
|
||||
sprite: Objects/Devices/nuke.rsi
|
||||
netsync: false
|
||||
state: nuclearbomb_base
|
||||
- type: Physics
|
||||
bodyType: Dynamic
|
||||
fixtures:
|
||||
- shape:
|
||||
!type:PhysShapeCircle
|
||||
radius: 0.45
|
||||
mass: 150
|
||||
layer:
|
||||
- SmallImpassable
|
||||
mask:
|
||||
- VaultImpassable
|
||||
- type: Nuke
|
||||
- type: InteractionOutline
|
||||
- type: ItemSlots
|
||||
slots:
|
||||
DiskSlot:
|
||||
name: Disk
|
||||
insertSound:
|
||||
path: /Audio/Machines/terminal_insert_disc.ogg
|
||||
ejectSound:
|
||||
path: /Audio/Machines/terminal_insert_disc.ogg
|
||||
whitelist:
|
||||
tags:
|
||||
- NukeDisk
|
||||
- type: UserInterface
|
||||
interfaces:
|
||||
- key: enum.NukeUiKey.Key
|
||||
type: NukeBoundUserInterface
|
||||
@@ -36,6 +36,17 @@
|
||||
# something happened, so that ought to override this either way.
|
||||
- state: paper_words
|
||||
|
||||
- type: entity
|
||||
parent: PaperWritten
|
||||
id: NukeCodePaper
|
||||
name: nuclear authentication codes
|
||||
components:
|
||||
- type: NukeCodePaper
|
||||
- type: Paper
|
||||
content: |
|
||||
[color=red]TOP SECRET![/color]
|
||||
Nuclear device activation code:
|
||||
|
||||
- type: entity
|
||||
name: pen
|
||||
parent: BaseItem
|
||||
|
||||
Reference in New Issue
Block a user