équilibrage général du jeu
This commit is contained in:
parent
099f8bb1be
commit
bb24efe46b
@ -35,7 +35,8 @@ func set_charged(_charged = true):
|
||||
%AnimationPlayer.play_backwards("charged")
|
||||
|
||||
func setup_machine_sprite():
|
||||
%Base.self_modulate = Machine.get_level_color(level)
|
||||
# %Base.self_modulate = Machine.get_level_color(level)
|
||||
pass
|
||||
|
||||
func interact_text():
|
||||
return "Recharge " + str(get_energy_production()) + " energy"
|
||||
|
||||
@ -7,5 +7,5 @@
|
||||
script = ExtResource("1_ctita")
|
||||
name = "Solar Pannel"
|
||||
scene = ExtResource("1_naexs")
|
||||
description = "Produce energy evry 2 days. When charged, can be used to recharge energy."
|
||||
description = "Produce energy every 2 days. When charged, can be used to recharge energy."
|
||||
metadata/_custom_type_script = "uid://bhncww816fjsb"
|
||||
|
||||
@ -8,7 +8,8 @@
|
||||
|
||||
[sub_resource type="Resource" id="Resource_5hyy8"]
|
||||
script = ExtResource("1_cf34j")
|
||||
produce_types_path = Array[String](["uid://cxrc5wchpqm18", "uid://b04vho33bl52b", "uid://dsctivn1vrem2", "uid://b04vho33bl52b"])
|
||||
produce_types_path = Array[String](["uid://cxrc5wchpqm18", "uid://b04vho33bl52b", "uid://dsctivn1vrem2", "uid://c5oxxif3h5yxo"])
|
||||
produce_number = Array[int]([1, 0])
|
||||
metadata/_custom_type_script = "uid://ceqx5va1ormau"
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_my6by"]
|
||||
@ -18,7 +19,7 @@ region = Rect2(610, 315, 124, 180)
|
||||
[resource]
|
||||
script = ExtResource("1_ipcpv")
|
||||
name = "Champ"
|
||||
description = "When mature, produce one seed every day."
|
||||
description = "When mature, can produce one seed every day."
|
||||
growing_time = 1
|
||||
seed_texture = SubResource("AtlasTexture_my6by")
|
||||
growing_texture = ExtResource("2_l2hi3")
|
||||
|
||||
@ -7,10 +7,12 @@ var item2: Item
|
||||
func show_rewards():
|
||||
get_tree().paused = true
|
||||
%AnimationPlayer.play("show")
|
||||
get_tree().paused = true
|
||||
|
||||
func hide_rewards():
|
||||
get_tree().paused = false
|
||||
%AnimationPlayer.play_backwards("show")
|
||||
get_tree().paused = false
|
||||
|
||||
func _on_planet_quota_reward_asked(_planet:Planet, _item1:Item, _item2:Item):
|
||||
planet = _planet
|
||||
|
||||
@ -1,9 +1,14 @@
|
||||
[gd_scene load_steps=4 format=3 uid="uid://fh3dsuvn5h78"]
|
||||
[gd_scene load_steps=5 format=3 uid="uid://fh3dsuvn5h78"]
|
||||
|
||||
[ext_resource type="Theme" uid="uid://bgcmd213j6gk1" path="res://gui/ressources/default_theme.tres" id="1_ga3ae"]
|
||||
[ext_resource type="Texture2D" uid="uid://bsgmxvuphn73c" path="res://common/icons/arrow-narrow-down.svg" id="2_kc1j1"]
|
||||
[ext_resource type="Script" uid="uid://r6hgefyycute" path="res://gui/game/tutorial/in_game_indicator/scripts/in_game_indicator.gd" id="2_kij5i"]
|
||||
|
||||
[sub_resource type="LabelSettings" id="LabelSettings_kc1j1"]
|
||||
shadow_size = 3
|
||||
shadow_color = Color(0, 0, 0, 0.75686276)
|
||||
shadow_offset = Vector2(0, 0)
|
||||
|
||||
[node name="InGameIndicator" type="CenterContainer"]
|
||||
modulate = Color(0.91, 0.6521667, 0, 1)
|
||||
offset_right = 150.0
|
||||
@ -24,6 +29,7 @@ unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(150, 0)
|
||||
layout_mode = 2
|
||||
text = "Text and a very very very long text"
|
||||
label_settings = SubResource("LabelSettings_kc1j1")
|
||||
horizontal_alignment = 1
|
||||
autowrap_mode = 3
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user