started research skills

This commit is contained in:
2024-03-29 10:25:53 -05:00
parent f57f7f5540
commit 39157dded2
29 changed files with 1282 additions and 19 deletions

View File

@@ -0,0 +1,18 @@
[gd_resource type="Resource" script_class="Research" load_steps=5 format=3 uid="uid://ddsmk1qmb2ohf"]
[ext_resource type="Texture2D" uid="uid://n806c03hgaq1" path="res://assets/scifi_tilesheet@2.png" id="1_i07ie"]
[ext_resource type="Script" path="res://data/research/research.gd" id="1_swmp6"]
[ext_resource type="Resource" uid="uid://bpjj0x7jr1k6u" path="res://data/game_resources/carbon/carbon_resource.tres" id="2_gc3ag"]
[sub_resource type="AtlasTexture" id="AtlasTexture_1i8g4"]
atlas = ExtResource("1_i07ie")
region = Rect2(320, 384, 64, 64)
[resource]
script = ExtResource("1_swmp6")
atlas_texture = SubResource("AtlasTexture_1i8g4")
name = "Gems"
description = "Allows the gathering of Gems"
cost = {
ExtResource("2_gc3ag"): 10
}

View File

@@ -0,0 +1,8 @@
class_name Research
extends Resource
@export var atlas_texture: AtlasTexture
@export var name: String
@export var description: String
@export var cost: Dictionary
@export var world_scene: PackedScene