Add barebone nuke (#5242)

Co-authored-by: Alexander Evgrashin <evgrashin.adl@gmail.com>
This commit is contained in:
Alex Evgrashin
2021-11-11 04:29:11 +03:00
committed by GitHub
parent f7968cf865
commit b936ee6ad8
29 changed files with 1170 additions and 1 deletions

View 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

View File

@@ -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