Added building structure

Created harvester building
added harvester particles
added nearest resource func
This commit is contained in:
2024-03-11 07:56:22 -05:00
parent d74bfda9a3
commit 4b362fabed
9 changed files with 70 additions and 20 deletions

View File

@@ -0,0 +1,18 @@
[gd_resource type="Resource" load_steps=5 format=3 uid="uid://d38xgwstvtcm4"]
[ext_resource type="Texture2D" uid="uid://n806c03hgaq1" path="res://assets/scifi_tilesheet@2.png" id="1_m1sbx"]
[ext_resource type="Script" path="res://data/buildings/basic/harvester/harvester.gd" id="3_fy2m4"]
[ext_resource type="Resource" uid="uid://bpjj0x7jr1k6u" path="res://data/game_resources/carbon/carbon_resource.tres" id="3_xlnq5"]
[sub_resource type="AtlasTexture" id="AtlasTexture_mgt0w"]
atlas = ExtResource("1_m1sbx")
region = Rect2(1088, 128, 64, 64)
[resource]
script = ExtResource("3_fy2m4")
atlas_texture = SubResource("AtlasTexture_mgt0w")
name = "Harvester"
description = "Harvests nearby resources"
cost = {
ExtResource("3_xlnq5"): 100
}