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

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