Adds basic wire object (#6)
* Adds basic wire object * Tests out the entity parenting system
This commit is contained in:
parent
6d28ce7641
commit
eee05e1451
4 changed files with 25 additions and 0 deletions
25
Resources/Prototypes/Entities/Power.yml
Normal file
25
Resources/Prototypes/Entities/Power.yml
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
- type: entity
|
||||
id: Wire
|
||||
name: Wire
|
||||
components:
|
||||
- type: Transform
|
||||
- type: Clickable
|
||||
- type: Sprite
|
||||
drawdepth: FloorPlaceable
|
||||
color: Red
|
||||
sprites:
|
||||
- eightdirwire
|
||||
|
||||
- type: Icon
|
||||
icon: eightdirwire
|
||||
|
||||
snap:
|
||||
- Wire
|
||||
|
||||
- type: entity
|
||||
parent: Wire
|
||||
id: BlueWire
|
||||
name: BlueWire
|
||||
components:
|
||||
- type: Sprite
|
||||
color: Blue
|
||||
BIN
Resources/textures/Objects/eightdirwire.png
Normal file
BIN
Resources/textures/Objects/eightdirwire.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 389 B |
Loading…
Add table
Reference in a new issue