Storage Component (toolboxes, backpacks, etc) (#57)

* Fix
Finish and update submodule
Comments code, changes network messages
FIXES THE USE INTERACTION SO YOU CAN ACTUALLY ACTIVATE THINGS NOW
Need engine commits
We'll figure out what to do about this shit later eh mates? Maybe have a script in the build process that automatically moves them over to godot/scenes
Changes some prototypes and fixes stuff
Fixes some more bugs, makes storage values show up properly
Part 3
Part 2
Storage Take 1

* Doneso
This commit is contained in:
clusterfack
2018-04-22 06:11:38 -05:00
committed by Pieter-Jan Briers
parent 74193d1182
commit ea05c593aa
22 changed files with 1044 additions and 54 deletions

View File

@@ -4,6 +4,7 @@
components:
- type: Transform
- type: Item
Size: 5
- type: Clickable
- type: BoundingBox
- type: Physics
@@ -18,6 +19,10 @@
sprite: Items/toolbox_r.png
- type: Icon
icon: Items/toolbox_r.png
- type: Storage
Capacity: 60
- type: Item
Size: 9999
- type: entity
name: "Mechanical Toolbox With Handle"
@@ -28,6 +33,10 @@
sprite: Items/toolbox_b.png
- type: Icon
icon: Items/toolbox_b.png
- type: Storage
Capacity: 60
- type: Item
Size: 9999
- type: entity
name: "Electrical Toolbox With Handle"
@@ -38,6 +47,10 @@
sprite: Items/toolbox_y.png
- type: Icon
icon: Items/toolbox_y.png
- type: Storage
Capacity: 60
- type: Item
Size: 9999
- type: entity
name: "Extra-Grip™ Mop"
@@ -48,6 +61,8 @@
sprite: Items/mop.png
- type: Icon
icon: Items/mop.png
- type: Item
Size: 10
#handheld lights
- type: entity

View File

@@ -8,6 +8,8 @@
- type: Icon
icon: Objects/gun.png
- type: HitscanWeapon
- type: Item
Size: 24
- type: entity
name: GUN
@@ -19,3 +21,6 @@
- type: Icon
icon: Objects/projectileweapon.png
- type: ProjectileWeapon
- type: Item
Size: 24