two buildings working!
created research building base
This commit is contained in:
1
data/buildings/basic/researcher/researcher.gd
Normal file
1
data/buildings/basic/researcher/researcher.gd
Normal file
@@ -0,0 +1 @@
|
||||
extends Building
|
||||
18
data/buildings/basic/researcher/researcher_building.tres
Normal file
18
data/buildings/basic/researcher/researcher_building.tres
Normal file
@@ -0,0 +1,18 @@
|
||||
[gd_resource type="Resource" load_steps=5 format=3 uid="uid://bibep1rd0jml2"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://n806c03hgaq1" path="res://assets/scifi_tilesheet@2.png" id="1_kruad"]
|
||||
[ext_resource type="Resource" uid="uid://bpjj0x7jr1k6u" path="res://data/game_resources/carbon/carbon_resource.tres" id="2_hybxl"]
|
||||
[ext_resource type="Script" path="res://data/buildings/basic/researcher/researcher.gd" id="3_h2kjx"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_ejp6g"]
|
||||
atlas = ExtResource("1_kruad")
|
||||
region = Rect2(1024, 128, 64, 64)
|
||||
|
||||
[resource]
|
||||
script = ExtResource("3_h2kjx")
|
||||
atlas_texture = SubResource("AtlasTexture_ejp6g")
|
||||
name = "Researcher"
|
||||
description = "Research new buildings and technologies"
|
||||
cost = {
|
||||
ExtResource("2_hybxl"): 6000
|
||||
}
|
||||
Reference in New Issue
Block a user