Construction System. (#87)

* Construction WiP

* Construction kinda works!

* Lots more construction work.

* It mostly works!
This commit is contained in:
Pieter-Jan Briers
2018-08-02 08:29:55 +02:00
committed by GitHub
parent f051078c79
commit d7074bf74f
72 changed files with 1925 additions and 245 deletions

View File

@@ -0,0 +1,22 @@
- type: entity
name: spooky ghost
id: constructionghost
components:
- type: Transform
- type: Sprite
color: '#3F38'
- type: ConstructionGhost
- type: BoundingBox
- type: Clickable
baseshader: unshaded
selectionshader: selection_outline_unshaded
- type: entity
name: somebody-messed-up frame
id: structureconstructionframe
components:
- type: Transform
- type: Sprite
- type: Construction
- type: BoundingBox
- type: Clickable

View File

@@ -0,0 +1,60 @@
- type: entity
name: Material Stack
id: MaterialStack
parent: BaseItem
components:
- type: Stack
- type: Material
- type: entity
name: Steel Sheet
id: MetalStack
parent: MaterialStack
components:
- type: Material
materials:
- key: enum.MaterialKeys.Stack
mat: steel
- type: Stack
stacktype: enum.StackType.Metal
- type: Sprite
texture: Objects/sheet_metal.png
- type: Icon
texture: Objects/sheet_metal.png
- type: entity
id: SteelSheet1
name: Steel Sheet 1
parent: MetalStack
components:
- type: Stack
count: 1
- type: entity
name: Glass Sheet
id: GlassStack
parent: MaterialStack
components:
- type: Material
materials:
- key: enum.MaterialKeys.Stack
mat: glass
- type: Stack
stacktype: enum.StackType.Glass
- type: Sprite
texture: Objects/sheet_glass.png
- type: Icon
texture: Objects/sheet_glass.png
- type: entity
name: Cable Coil
id: CableStack
parent: BaseItem
components:
- type: Stack
stacktype: enum.StackType.Cable
- type: Sprite
texture: Objects/cable_coil.png
color: red
- type: Icon
texture: Objects/cable_coil.png

View File

@@ -10,6 +10,7 @@
- left
- right
- type: Inventory
- type: Constructor
- type: entity
id: MobObserver

View File

@@ -114,6 +114,13 @@
visuals:
- type: SmesVisualizer2D
- type: entity
id: smes_dry
parent: SMES
components:
- type: PowerStorage
charge: 0
- type: entity
id: WiredMachine
name: WiredMachine

View File

@@ -26,3 +26,15 @@
- type: Item
Size: 24
- type: entity
name: Spear
parent: BaseItem
id: Spear
components:
- type: Sprite
texture: Objects/spear.png
- type: Icon
texture: Objects/spear.png
- type: MeleeWeapon
- type: Item
Size: 24