Improve prestige and add ascension as currency
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
[resource]
|
||||
script = ExtResource("3_t5xb7")
|
||||
id = &"farm_auto_flux"
|
||||
target_ids = Array[StringName]([&"farm"])
|
||||
text = "Farm Dynamo"
|
||||
max_level = 10
|
||||
unlock_goal = ExtResource("4_r8eth")
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
[resource]
|
||||
script = ExtResource("3_y6252")
|
||||
id = &"forestry_auto_flux"
|
||||
target_ids = Array[StringName]([&"forestry"])
|
||||
text = "Forest Dynamo
|
||||
"
|
||||
max_level = 10
|
||||
|
||||
@@ -28,9 +28,9 @@ shape = SubResource("RectangleShape2D_82rmq")
|
||||
|
||||
[node name="GeneratorContainer" parent="." unique_id=1451609580 node_paths=PackedStringArray("_generator") instance=ExtResource("5_82rmq")]
|
||||
visible = false
|
||||
offset_left = 48.0
|
||||
offset_left = 138.0
|
||||
offset_top = -100.0
|
||||
offset_right = 312.0
|
||||
offset_right = 402.0
|
||||
offset_bottom = 110.0
|
||||
_generator = NodePath("../CurrencyGenerator")
|
||||
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
[gd_resource type="Resource" script_class="CurrencyGeneratorData" format=3 uid="uid://d08h51y0pnsnf"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dnhocfsuvmeyb" path="res://core/generator/generator_buff_data.gd" id="1_cl7uf"]
|
||||
[ext_resource type="Resource" uid="uid://cg7os1rfknw05" path="res://docs/gyms/tiny_sword/buffs/farm_auto_flux_buff.tres" id="2_bbypn"]
|
||||
[ext_resource type="Resource" uid="uid://dfxk30o34qe2s" path="res://docs/gyms/tiny_sword/currencies/worker.tres" id="3_bbypn"]
|
||||
[ext_resource type="Script" uid="uid://b00tqsuhxdy0d" path="res://core/generator/currency_generator_data.gd" id="4_0kvfm"]
|
||||
[ext_resource type="Resource" uid="uid://cts0407h130d6" path="res://docs/gyms/tiny_sword/goals/gold_total_1300_goal.tres" id="5_qiy1b"]
|
||||
@@ -15,11 +13,7 @@ starts_available = false
|
||||
initial_owned = 1
|
||||
purchase_currency = ExtResource("3_bbypn")
|
||||
unlock_goal = ExtResource("5_qiy1b")
|
||||
unlock_goal_behavior = 1
|
||||
initial_cost = 1.0
|
||||
coefficient = 1.0
|
||||
initial_time = 3.0
|
||||
initial_revenue = 60.0
|
||||
initial_productivity = 20.0
|
||||
buffs = Array[ExtResource("1_cl7uf")]([ExtResource("2_bbypn")])
|
||||
metadata/_custom_type_script = "uid://b00tqsuhxdy0d"
|
||||
|
||||
@@ -27,9 +27,8 @@ position = Vector2(0.5, -2.5)
|
||||
shape = SubResource("RectangleShape2D_v4aq3")
|
||||
|
||||
[node name="GeneratorContainer" parent="." unique_id=1451609580 node_paths=PackedStringArray("_generator") instance=ExtResource("5_rh3m6")]
|
||||
visible = false
|
||||
offset_left = 48.0
|
||||
offset_left = 128.0
|
||||
offset_top = -100.0
|
||||
offset_right = 312.0
|
||||
offset_right = 392.0
|
||||
offset_bottom = 110.0
|
||||
_generator = NodePath("../CurrencyGenerator")
|
||||
|
||||
11
docs/gyms/tiny_sword/currencies/ascension.tres
Normal file
11
docs/gyms/tiny_sword/currencies/ascension.tres
Normal file
@@ -0,0 +1,11 @@
|
||||
[gd_resource type="Resource" script_class="Currency" format=3 uid="uid://bfrb0ayrljac2"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://d3nymghus6x3" path="res://sandbox/tiny_swords/UI Elements/UI Elements/Icons/Icon_03.png" id="1_icon"]
|
||||
[ext_resource type="Script" uid="uid://dtgqjf3bl7pm8" path="res://core/currency/currency.gd" id="2_script"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("2_script")
|
||||
id = &"ascension"
|
||||
display_name = "Ascension"
|
||||
icon = ExtResource("1_icon")
|
||||
metadata/_custom_type_script = "uid://dtgqjf3bl7pm8"
|
||||
@@ -6,8 +6,9 @@
|
||||
[ext_resource type="Resource" uid="uid://dfxk30o34qe2s" path="res://docs/gyms/tiny_sword/currencies/worker.tres" id="3_7hx6u"]
|
||||
[ext_resource type="Resource" uid="uid://bxg2au0ijp242" path="res://docs/gyms/tiny_sword/currencies/food.tres" id="4_c77gh"]
|
||||
[ext_resource type="Resource" uid="uid://bgsk8h4w80h45" path="res://docs/gyms/tiny_sword/currencies/wood.tres" id="5_gyp05"]
|
||||
[ext_resource type="Resource" uid="uid://bfrb0ayrljac2" path="res://docs/gyms/tiny_sword/currencies/ascension.tres" id="6_ascension"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("2_hmju3")
|
||||
currencies = Array[ExtResource("1_501l6")]([ExtResource("2_ucsji"), ExtResource("3_7hx6u"), ExtResource("4_c77gh"), ExtResource("5_gyp05")])
|
||||
currencies = Array[ExtResource("1_501l6")]([ExtResource("2_ucsji"), ExtResource("3_7hx6u"), ExtResource("4_c77gh"), ExtResource("5_gyp05"), ExtResource("6_ascension")])
|
||||
metadata/_custom_type_script = "uid://621tus0uvbrd"
|
||||
|
||||
@@ -6,5 +6,4 @@
|
||||
script = ExtResource("1_3tg3a")
|
||||
id = &"ascension"
|
||||
prestige_currency_id = &"ascension"
|
||||
source_currency_id = &"gold"
|
||||
threshold_exponent = 6
|
||||
basis = 3
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
[ext_resource type="PackedScene" uid="uid://cf01wvy3f17i" path="res://docs/gyms/tiny_sword/buildings/forestry/forestry.tscn" id="11_pyqyw"]
|
||||
[ext_resource type="Resource" uid="uid://bgsk8h4w80h45" path="res://docs/gyms/tiny_sword/currencies/wood.tres" id="12_l6a68"]
|
||||
[ext_resource type="PackedScene" uid="uid://rejxvjwybkll" path="res://sandbox/tiny_swords/Terrain/Resources/Wood/Trees/tree_1.tscn" id="14_0cs5o"]
|
||||
[ext_resource type="Resource" uid="uid://bfrb0ayrljac2" path="res://docs/gyms/tiny_sword/currencies/ascension.tres" id="15_ascension"]
|
||||
|
||||
[node name="TinySwords" type="Node" unique_id=498237642]
|
||||
|
||||
@@ -115,9 +116,17 @@ offset_bottom = 125.0
|
||||
currency = ExtResource("12_l6a68")
|
||||
game_state = NodePath("../..")
|
||||
|
||||
[node name="AscensionCurrencyTile" parent="LevelGameState/UI" unique_id=5000000001 node_paths=PackedStringArray("game_state") instance=ExtResource("7_0cs5o")]
|
||||
layout_mode = 0
|
||||
offset_top = 125.0
|
||||
offset_right = 160.0
|
||||
offset_bottom = 156.0
|
||||
currency = ExtResource("15_ascension")
|
||||
game_state = NodePath("../..")
|
||||
|
||||
[node name="GoalsDebugUI" parent="LevelGameState/UI" unique_id=1494700185 instance=ExtResource("10_qifrv")]
|
||||
layout_mode = 1
|
||||
offset_left = 1067.0
|
||||
offset_top = 817.0
|
||||
offset_left = 1275.0
|
||||
offset_top = 4.0
|
||||
offset_right = 1913.0
|
||||
offset_bottom = 1076.0
|
||||
offset_bottom = 263.0
|
||||
|
||||
Reference in New Issue
Block a user