Added basic build menu and placement

This commit is contained in:
2024-03-06 09:25:28 -06:00
parent abde90e75f
commit ca8cfee1e8
25 changed files with 377 additions and 27 deletions

View File

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