diff --git a/parts/upgrades/desert-card.png b/parts/upgrades/desert-card.png index 6da0bac..203e7b1 100644 Binary files a/parts/upgrades/desert-card.png and b/parts/upgrades/desert-card.png differ diff --git a/parts/upgrades/farm-card.png b/parts/upgrades/farm-card.png index 378253d..8f9e9b9 100644 Binary files a/parts/upgrades/farm-card.png and b/parts/upgrades/farm-card.png differ diff --git a/parts/upgrades/forest-card.png b/parts/upgrades/forest-card.png index 9396ab9..ae3c009 100644 Binary files a/parts/upgrades/forest-card.png and b/parts/upgrades/forest-card.png differ diff --git a/parts/upgrades/lake-card.png b/parts/upgrades/lake-card.png index ea9d8fb..2cfcd66 100644 Binary files a/parts/upgrades/lake-card.png and b/parts/upgrades/lake-card.png differ diff --git a/parts/upgrades/more-creature-resources-card.png b/parts/upgrades/more-creature-resources-card.png new file mode 100644 index 0000000..5f2d76b Binary files /dev/null and b/parts/upgrades/more-creature-resources-card.png differ diff --git a/parts/upgrades/more-creature-resources-card.png.import b/parts/upgrades/more-creature-resources-card.png.import new file mode 100644 index 0000000..a9eda33 --- /dev/null +++ b/parts/upgrades/more-creature-resources-card.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://c4b0ek0cyy8ei" +path="res://.godot/imported/more-creature-resources-card.png-8506657c0a8d79a84ffcf45aa0cdb4d5.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://parts/upgrades/more-creature-resources-card.png" +dest_files=["res://.godot/imported/more-creature-resources-card.png-8506657c0a8d79a84ffcf45aa0cdb4d5.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/parts/upgrades/more-creatures-card.png b/parts/upgrades/more-creatures-card.png new file mode 100644 index 0000000..9b6f37d Binary files /dev/null and b/parts/upgrades/more-creatures-card.png differ diff --git a/parts/upgrades/more-creatures-card.png.import b/parts/upgrades/more-creatures-card.png.import new file mode 100644 index 0000000..f73aa9c --- /dev/null +++ b/parts/upgrades/more-creatures-card.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://da1ql71wv8quk" +path="res://.godot/imported/more-creatures-card.png-0875d97be365fbdb17a2d2d0dc9e04dc.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://parts/upgrades/more-creatures-card.png" +dest_files=["res://.godot/imported/more-creatures-card.png-0875d97be365fbdb17a2d2d0dc9e04dc.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/src/build_window.gd b/src/build_window.gd index d2fc2b2..16734ce 100644 --- a/src/build_window.gd +++ b/src/build_window.gd @@ -91,6 +91,8 @@ func _update_card(index): choice = main.upgrade_pool.pop_back() card_data = Data.data.upgrades[choice] + cards[index].object.texture = Data.data.images["%s-card" % [choice]] + cost = card_data.cost for i in range(0, Persister.get_value(choice, PersisterEnums.Scope.UNKNOWN, 0)): cost += round(cost / 2) diff --git a/src/creature_window.gd b/src/creature_window.gd index 38956ed..aa791f2 100644 --- a/src/creature_window.gd +++ b/src/creature_window.gd @@ -53,7 +53,7 @@ func _generate_spawn_times(): spawn_times = [] for i in range(0, Persister.get_value("creature_amount")): - spawn_times.push_back(randi_range(2, 6 * 24 - 2)) + spawn_times.push_back(randi_range(10, 6 * 24 - 2 - 20)) func _on_timer_timeout() -> void: