Added decent remix system

This commit is contained in:
2025-08-23 20:27:22 +10:00
parent 57a57d2b91
commit 16c92a4903
68 changed files with 885 additions and 678 deletions

View File

@@ -0,0 +1,6 @@
class_name ExtendedBarrelFeature
extends Feature
func attach_to_tower(tower_stats: CardText) -> void:
tower_stats.set_attribute("Range", tower_stats.get_attribute("Range") * (1.0 + (strength / 100.0)))

View File

@@ -0,0 +1 @@
uid://dwff1058vp6af

View File

@@ -0,0 +1,12 @@
[gd_resource type="Resource" script_class="ExtendedBarrelFeature" load_steps=3 format=3 uid="uid://bij61ul87ka0r"]
[ext_resource type="Script" uid="uid://dwff1058vp6af" path="res://Scripts/Features/ExtendedBarrel/extended_barrel.gd" id="1_5j68e"]
[ext_resource type="Texture2D" uid="uid://dixdtcy64v4s0" path="res://Scripts/Features/ExtendedBarrel/extended_barrel_icon.png" id="1_grhjs"]
[resource]
script = ExtResource("1_5j68e")
display_name = "FEATURE_NAME_EXTENDED_BARREL"
description = "FEATURE_DESC_EXTENDED_BARREL"
icon = ExtResource("1_grhjs")
strength = 30.0
metadata/_custom_type_script = "uid://dwff1058vp6af"

Binary file not shown.

After

Width:  |  Height:  |  Size: 728 B

View File

@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://dixdtcy64v4s0"
path="res://.godot/imported/extended_barrel_icon.png-1c0812e89e02473dd1787f3bd00ca247.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Scripts/Features/ExtendedBarrel/extended_barrel_icon.png"
dest_files=["res://.godot/imported/extended_barrel_icon.png-1c0812e89e02473dd1787f3bd00ca247.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

Binary file not shown.

After

Width:  |  Height:  |  Size: 816 B

View File

@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://dykfm5ad0mxfw"
path="res://.godot/imported/HeavyRounds_icon.png-ce2bc40148089de1cb95a58f0513c8cb.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Scripts/Features/HeavyRounds/HeavyRounds_icon.png"
dest_files=["res://.godot/imported/HeavyRounds_icon.png-ce2bc40148089de1cb95a58f0513c8cb.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

View File

@@ -0,0 +1,10 @@
class_name HeavyRoundsFeature
extends Feature
func attach_to_tower(tower_stats: CardText) -> void:
tower_stats.set_attribute("Damage", tower_stats.get_attribute("Damage") * (1.0 + (strength / 100.0)))
func attach_to_weapon(weapon_stats: CardText) -> void:
weapon_stats.set_attribute("Damage", weapon_stats.get_attribute("Damage") * (1.0 + (strength / 100.0)))

View File

@@ -0,0 +1 @@
uid://uabrepvb5cur

View File

@@ -0,0 +1,12 @@
[gd_resource type="Resource" script_class="HeavyRoundsFeature" load_steps=3 format=3 uid="uid://dfup264h2pun7"]
[ext_resource type="Texture2D" uid="uid://dykfm5ad0mxfw" path="res://Scripts/Features/HeavyRounds/HeavyRounds_icon.png" id="1_drp05"]
[ext_resource type="Script" uid="uid://uabrepvb5cur" path="res://Scripts/Features/HeavyRounds/heavy_rounds.gd" id="1_hyapt"]
[resource]
script = ExtResource("1_hyapt")
display_name = "FEATURE_NAME_HEAVY_ROUNDS"
description = "FEATURE_DESC_HEAVY_ROUNDS"
icon = ExtResource("1_drp05")
strength = 15.0
metadata/_custom_type_script = "uid://uabrepvb5cur"

View File

@@ -0,0 +1,6 @@
class_name RadarFeature
extends Feature
func attach_to_tower(tower_stats: CardText) -> void:
tower_stats.target_type.append(Data.TargetType.AIR)

View File

@@ -0,0 +1 @@
uid://b8tigm0aru8nu

View File

@@ -0,0 +1,11 @@
[gd_resource type="Resource" script_class="RadarFeature" load_steps=3 format=3 uid="uid://nh7g23b3rnvr"]
[ext_resource type="Texture2D" uid="uid://cps7onfe2s1gi" path="res://Scripts/Features/Radar/radar_icon.png" id="1_tw681"]
[ext_resource type="Script" uid="uid://b8tigm0aru8nu" path="res://Scripts/Features/Radar/radar.gd" id="2_f4mox"]
[resource]
script = ExtResource("2_f4mox")
display_name = "FEATURE_NAME_RADAR"
description = "FEATURE_DESC_RADAR"
icon = ExtResource("1_tw681")
metadata/_custom_type_script = "uid://b8tigm0aru8nu"

Binary file not shown.

After

Width:  |  Height:  |  Size: 802 B

View File

@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://cps7onfe2s1gi"
path="res://.godot/imported/radar_icon.png-3ea7bb6ea2b253a4a5535d5dd7d1158e.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Scripts/Features/Radar/radar_icon.png"
dest_files=["res://.godot/imported/radar_icon.png-3ea7bb6ea2b253a4a5535d5dd7d1158e.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