created basic building class

started building groups
temp ui placed
#11 #13 #6
This commit is contained in:
2024-02-09 12:16:51 -06:00
parent 33334f03e8
commit 78c4291b6a
10 changed files with 212 additions and 14 deletions

18
data/buildings/hub.tres Normal file
View File

@@ -0,0 +1,18 @@
[gd_resource type="Resource" script_class="Building" load_steps=5 format=3 uid="uid://c6vv3hyn5sd7o"]
[ext_resource type="Script" path="res://scripts/expansion_patterns/expansion_square_pattern.gd" id="1_attvt"]
[ext_resource type="Script" path="res://scripts/building.gd" id="1_ssd30"]
[ext_resource type="Resource" uid="uid://bpjj0x7jr1k6u" path="res://data/game_resources/carbon_resource.tres" id="2_d8jrj"]
[sub_resource type="Resource" id="Resource_nqpn0"]
script = ExtResource("1_attvt")
[resource]
script = ExtResource("1_ssd30")
corruption_pattern = SubResource("Resource_nqpn0")
atlas_texture_region = Vector2i(17, 7)
name = "Hub"
description = "Main cheap base that corrupts a square"
cost = {
ExtResource("2_d8jrj"): 50
}