Conveyor
This commit is contained in:
parent
cb9aef6761
commit
222960a824
19 changed files with 282 additions and 22 deletions
|
@ -1,7 +1,17 @@
|
|||
[gd_scene load_steps=4 format=3 uid="uid://b0h8dd82b3ox5"]
|
||||
[gd_scene load_steps=8 format=3 uid="uid://b0h8dd82b3ox5"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://dinyjq8853usn" path="res://sprites/atlasses/Popekko.png" id="1_kqxj7"]
|
||||
[ext_resource type="Script" uid="uid://bbd7o2st8kmgl" path="res://scripts/structure.gd" id="1_y326v"]
|
||||
[ext_resource type="Script" uid="uid://bd4ojfqrl8idm" path="res://scripts/inventory/inventory_slot.gd" id="2_54w8r"]
|
||||
[ext_resource type="Script" uid="uid://v0hkuo3gda1b" path="res://scripts/inventory/conveyor_inventory.gd" id="3_ruvuk"]
|
||||
[ext_resource type="Script" uid="uid://bp341eiwvfvyl" path="res://scripts/structures/conveyor.gd" id="5_54w8r"]
|
||||
|
||||
[sub_resource type="Resource" id="Resource_t4je2"]
|
||||
resource_local_to_scene = true
|
||||
script = ExtResource("3_ruvuk")
|
||||
capacity = 4
|
||||
pop_treshold = null
|
||||
metadata/_custom_type_script = "uid://v0hkuo3gda1b"
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_uvy8r"]
|
||||
atlas = ExtResource("1_kqxj7")
|
||||
|
@ -9,6 +19,11 @@ region = Rect2(16, 0, 16, 16)
|
|||
|
||||
[node name="Conveyor" type="Node2D" groups=["buildings"]]
|
||||
script = ExtResource("1_y326v")
|
||||
inventory = SubResource("Resource_t4je2")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
texture = SubResource("AtlasTexture_uvy8r")
|
||||
|
||||
[node name="Conveyor" type="Node2D" parent="."]
|
||||
z_index = 1
|
||||
script = ExtResource("5_54w8r")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue