Fix research xp generation
This commit is contained in:
13
docs/gyms/tiny_sword/research/farm_research.tres
Normal file
13
docs/gyms/tiny_sword/research/farm_research.tres
Normal file
@@ -0,0 +1,13 @@
|
||||
[gd_resource type="Resource" script_class="ResearchData" format=3 uid="uid://50yq2hl3wfwq"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://bgtt3wu43tajh" path="res://icon.svg" id="1_supp3"]
|
||||
[ext_resource type="Script" uid="uid://m7baywrfnpn0" path="res://core/research/research_data.gd" id="2_rgx73"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("2_rgx73")
|
||||
id = &"farm_research"
|
||||
generator_id = &"farm"
|
||||
name = "Farm Research"
|
||||
description = "Research that improves farm production"
|
||||
icon = ExtResource("1_supp3")
|
||||
metadata/_custom_type_script = "uid://m7baywrfnpn0"
|
||||
13
docs/gyms/tiny_sword/research/forestry_research.tres
Normal file
13
docs/gyms/tiny_sword/research/forestry_research.tres
Normal file
@@ -0,0 +1,13 @@
|
||||
[gd_resource type="Resource" script_class="ResearchData" format=3 uid="uid://cvow4sj6a5h23"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://bgtt3wu43tajh" path="res://icon.svg" id="1_qvnpw"]
|
||||
[ext_resource type="Script" uid="uid://m7baywrfnpn0" path="res://core/research/research_data.gd" id="2_6lndp"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("2_6lndp")
|
||||
id = &"forestry_research"
|
||||
generator_id = &"forestry"
|
||||
name = "Forestry Research"
|
||||
description = "Research that improves forestry production"
|
||||
icon = ExtResource("1_qvnpw")
|
||||
metadata/_custom_type_script = "uid://m7baywrfnpn0"
|
||||
@@ -5,14 +5,9 @@
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_yn72k")
|
||||
id = &"gold_research"
|
||||
id = &"gold_mine_research"
|
||||
generator_id = &"goldmine"
|
||||
name = "Gold Mine Research"
|
||||
description = "Research that improves gold mine production"
|
||||
icon = ExtResource("1_2tci1")
|
||||
xp_per_currency_produced = 0.01
|
||||
base_xp_required = 100.0
|
||||
xp_growth_multiplier = 1.5
|
||||
base_multiplier = 1.0
|
||||
multiplier_per_level = 0.1
|
||||
metadata/_custom_type_script = "uid://m7baywrfnpn0"
|
||||
|
||||
@@ -3,8 +3,10 @@
|
||||
[ext_resource type="Script" uid="uid://m7baywrfnpn0" path="res://core/research/research_data.gd" id="1_wscpr"]
|
||||
[ext_resource type="Resource" uid="uid://dif6w6kesmw6u" path="res://docs/gyms/tiny_sword/research/gold_mine_research.tres" id="2_migxn"]
|
||||
[ext_resource type="Script" uid="uid://d2v6t6w2todfy" path="res://core/research/research_catalogue.gd" id="2_yh8dx"]
|
||||
[ext_resource type="Resource" uid="uid://50yq2hl3wfwq" path="res://docs/gyms/tiny_sword/research/farm_research.tres" id="3_pdfmu"]
|
||||
[ext_resource type="Resource" uid="uid://cvow4sj6a5h23" path="res://docs/gyms/tiny_sword/research/forestry_research.tres" id="4_jnaqq"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("2_yh8dx")
|
||||
research_entries = Array[ExtResource("1_wscpr")]([ExtResource("2_migxn")])
|
||||
research_entries = Array[ExtResource("1_wscpr")]([ExtResource("2_migxn"), ExtResource("3_pdfmu"), ExtResource("4_jnaqq")])
|
||||
metadata/_custom_type_script = "uid://d2v6t6w2todfy"
|
||||
|
||||
Reference in New Issue
Block a user