Coordinates Disks & Shuttle FTL Travel (#23240)
* Adds the CentComm Disk and configures it to work with direct-use shuttles * Added functionality for drone shuttles (i.e. cargo shuttle) * Adds support for pods, and a disk console object for disks to be inserted into. Also sprites. * Added the disk to HoP's locker * Removed leftover logs & comments * Fix for integration test * Apply suggestions from code review (formatting & proper DataField) Co-authored-by: 0x6273 <0x40@keemail.me> * Fix integration test & changes based on code review * Includes Disk Cases to contain Coordinate Disks, which are now CDs instead of Floppy Disks * Check pods & non-evac shuttles for CentCom travel, even in FTL * Import * Remove CentCom travel restrictions & pod disk consoles * Major changes that changes the coordinates disk system to work with salvage expeditions * Missed CC diskcase removal * Fix build * Review suggestions and changes * Major additional changes after merge * Minor tag miss * Integration test fix * review --------- Co-authored-by: 0x6273 <0x40@keemail.me> Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
This commit is contained in:
19
Resources/Prototypes/Entities/Objects/Misc/cds.yml
Normal file
19
Resources/Prototypes/Entities/Objects/Misc/cds.yml
Normal file
@@ -0,0 +1,19 @@
|
||||
- type: entity
|
||||
name: coordinates disk
|
||||
parent: BaseItem
|
||||
id: CoordinatesDisk
|
||||
description: A disk containing the coordinates to a location in space. Necessary for any FTL-traversing vessel to reach their destination. Fits inside shuttle consoles.
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Objects/Misc/cd.rsi
|
||||
state: icon
|
||||
- type: StaticPrice
|
||||
price: 100
|
||||
- type: Tag
|
||||
tags:
|
||||
- CoordinatesDisk
|
||||
- type: DamageOtherOnHit
|
||||
damage:
|
||||
types:
|
||||
Slash: 1
|
||||
- type: ShuttleDestinationCoordinates
|
||||
21
Resources/Prototypes/Entities/Objects/Misc/diskcases.yml
Normal file
21
Resources/Prototypes/Entities/Objects/Misc/diskcases.yml
Normal file
@@ -0,0 +1,21 @@
|
||||
- type: entity
|
||||
name: diskcase
|
||||
parent: BaseStorageItem
|
||||
id: DiskCase
|
||||
description: Case for storing a coordinates disk.
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Objects/Misc/diskcases.rsi
|
||||
state: icon_base
|
||||
- type: Storage
|
||||
grid:
|
||||
- 0,0,0,1
|
||||
maxItemSize: Normal
|
||||
whitelist:
|
||||
tags:
|
||||
- Document
|
||||
- CoordinatesDisk
|
||||
storageOpenSound: /Audio/Machines/screwdriveropen.ogg
|
||||
storageCloseSound: /Audio/Machines/screwdriverclose.ogg
|
||||
storageInsertSound: /Audio/Items/crowbar.ogg
|
||||
storageRemoveSound: /Audio/Items/crowbar.ogg
|
||||
@@ -63,6 +63,22 @@
|
||||
color: "#43ccb5"
|
||||
- type: Rotatable
|
||||
rotateWhileAnchored: true
|
||||
- type: ItemSlots
|
||||
slots:
|
||||
disk_slot:
|
||||
name: Disk
|
||||
insertSound:
|
||||
path: /Audio/Machines/terminal_insert_disc.ogg
|
||||
ejectSound:
|
||||
path: /Audio/Machines/terminal_insert_disc.ogg
|
||||
whitelist:
|
||||
components:
|
||||
- ShuttleDestinationCoordinates
|
||||
- type: ContainerContainer
|
||||
containers:
|
||||
board: !type:Container
|
||||
ents: []
|
||||
disk_slot: !type:ContainerSlot {}
|
||||
|
||||
- type: entity
|
||||
parent: BaseComputerShuttle
|
||||
|
||||
@@ -418,6 +418,9 @@
|
||||
- type: Tag
|
||||
id: ConveyorAssembly
|
||||
|
||||
- type: Tag
|
||||
id: CoordinatesDisk
|
||||
|
||||
- type: Tag #Ohioans die happy
|
||||
id: Corn
|
||||
|
||||
|
||||
BIN
Resources/Textures/Objects/Misc/cd.rsi/icon.png
Normal file
BIN
Resources/Textures/Objects/Misc/cd.rsi/icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 361 B |
14
Resources/Textures/Objects/Misc/cd.rsi/meta.json
Normal file
14
Resources/Textures/Objects/Misc/cd.rsi/meta.json
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"version": 1,
|
||||
"license": "CC-BY-SA-3.0",
|
||||
"copyright": "Made by SlamBamActionman",
|
||||
"size": {
|
||||
"x": 32,
|
||||
"y": 32
|
||||
},
|
||||
"states": [
|
||||
{
|
||||
"name": "icon"
|
||||
}
|
||||
]
|
||||
}
|
||||
BIN
Resources/Textures/Objects/Misc/diskcases.rsi/icon_base.png
Normal file
BIN
Resources/Textures/Objects/Misc/diskcases.rsi/icon_base.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 240 B |
BIN
Resources/Textures/Objects/Misc/diskcases.rsi/icon_cargo.png
Normal file
BIN
Resources/Textures/Objects/Misc/diskcases.rsi/icon_cargo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 234 B |
BIN
Resources/Textures/Objects/Misc/diskcases.rsi/icon_cc.png
Normal file
BIN
Resources/Textures/Objects/Misc/diskcases.rsi/icon_cc.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 239 B |
20
Resources/Textures/Objects/Misc/diskcases.rsi/meta.json
Normal file
20
Resources/Textures/Objects/Misc/diskcases.rsi/meta.json
Normal file
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"version": 1,
|
||||
"license": "CC-BY-SA-3.0",
|
||||
"copyright": "Made by SlamBamActionman",
|
||||
"size": {
|
||||
"x": 32,
|
||||
"y": 32
|
||||
},
|
||||
"states": [
|
||||
{
|
||||
"name": "icon_base"
|
||||
},
|
||||
{
|
||||
"name": "icon_cc"
|
||||
},
|
||||
{
|
||||
"name": "icon_cargo"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user