Cargo Telepad (#2579)

* Cargo telepad

* fixes error

* more efficient tile lookup

Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
This commit is contained in:
GraniteSidewalk
2020-12-18 20:14:26 -06:00
committed by GitHub
parent 185923a7da
commit 89f8d0f34c
13 changed files with 262 additions and 53 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,26 @@
- type: entity
name: cargo telepad
id: cargoTelepad
description: "Temporary cargo delivery for developing Nanotrasen stations! Warning: destroying this while goods are in transit will lose them forever!"
placement:
mode: SnapgridCenter
components:
- type: Clickable
- type: InteractionOutline
- type: Physics
mass: 25
anchored: true
shapes:
- !type:PhysShapeAabb
bounds: "-0.45, -0.45, 0.00, 0.45"
layer: [ Passable ]
- type: Sprite
sprite: Constructible/Power/cargo_teleporter.rsi
state: pad-offline
- type: Destructible
deadThreshold: 75
resistances: metallicResistances
- type: Anchorable
- type: Pullable
- type: PowerReceiver
- type: CargoTelepad

View File

@@ -0,0 +1,45 @@
{
"version":1,
"size":{
"x":32,
"y":32
},
"license":"CC-BY-SA-3.0",
"copyright":"Taken from /vg/station at commit 5c50dee8fb2a55d6be3b3c9c90a782a618a5506e",
"states":[
{
"name":"pad-beam",
"directions":1,
"delays":[
[
0.1,
0.1,
0.1,
0.1,
0.1
]
]
},
{
"name":"pad-idle",
"directions":1,
"delays":[
[
0.2,
0.2,
0.2,
0.2
]
]
},
{
"name":"pad-offline",
"directions":1,
"delays":[
[
1.0
]
]
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 580 B