conforms file names to consistant standard
This commit is contained in:
13
towers/overclock_tower/overclock_tower.gd
Normal file
13
towers/overclock_tower/overclock_tower.gd
Normal file
@@ -0,0 +1,13 @@
|
||||
class_name OverclockTower
|
||||
extends Tower
|
||||
|
||||
func shoot(count: int) -> void:
|
||||
#affector.apply_effect(effect, target_finder.targets)
|
||||
for tower: TowerBase in get_tree().get_nodes_in_group("TowerBases"):
|
||||
if tower.tower and tower.tower.stats != stats:
|
||||
if tower.global_position.distance_to(global_position) <= target_range:
|
||||
tower.tower.small_speed_buff_timer += time_between_shots
|
||||
animator.play("shoot")
|
||||
audio_player.play()
|
||||
if is_multiplayer_authority():
|
||||
networked_shoot.rpc()
|
||||
1
towers/overclock_tower/overclock_tower.gd.uid
Normal file
1
towers/overclock_tower/overclock_tower.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://c4bu4hlgifqom
|
||||
25
towers/overclock_tower/tower.tscn
Normal file
25
towers/overclock_tower/tower.tscn
Normal file
@@ -0,0 +1,25 @@
|
||||
[gd_scene format=3 uid="uid://d3qabcosmk2q5"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://kioik38usbqj" path="res://scenes/towers/area_tower.tscn" id="1_85dnw"]
|
||||
[ext_resource type="Script" uid="uid://c4bu4hlgifqom" path="res://towers/overclock_tower/overclock_tower.gd" id="2_uhx1y"]
|
||||
[ext_resource type="Script" uid="uid://djp7tepdsda8w" path="res://scripts/effect.gd" id="3_gt5qf"]
|
||||
[ext_resource type="Script" uid="uid://chy7bx8dlwgs0" path="res://scripts/status_effects/status_effect.gd" id="4_d15h4"]
|
||||
|
||||
[sub_resource type="Resource" id="Resource_50mhx"]
|
||||
script = ExtResource("3_gt5qf")
|
||||
metadata/_custom_type_script = "uid://djp7tepdsda8w"
|
||||
|
||||
[node name="Tower" unique_id=884557637 instance=ExtResource("1_85dnw")]
|
||||
script = ExtResource("2_uhx1y")
|
||||
turns_to_aim = false
|
||||
effect = SubResource("Resource_50mhx")
|
||||
|
||||
[node name="Pitch" parent="." index="1" unique_id=1225654056]
|
||||
visible = false
|
||||
|
||||
[node name="Yaw" parent="." index="2" unique_id=1867477]
|
||||
visible = false
|
||||
|
||||
[node name="CSGBox3D" type="CSGBox3D" parent="." index="7" unique_id=916805543]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.51387, 0)
|
||||
size = Vector3(1, 2.02774, 1)
|
||||
16
towers/overclock_tower/tower_stats.tres
Normal file
16
towers/overclock_tower/tower_stats.tres
Normal file
@@ -0,0 +1,16 @@
|
||||
[gd_resource type="Resource" script_class="CardText" format=3 uid="uid://v13yoous66bc"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://bsuinotkvh7eu" path="res://scripts/resources/feature.gd" id="1_0swcp"]
|
||||
[ext_resource type="Script" uid="uid://dg7gxxqfqxcmc" path="res://scripts/resources/cassette_text.gd" id="2_fax6y"]
|
||||
[ext_resource type="Resource" uid="uid://dfup264h2pun7" path="res://scripts/features/heavy_rounds/heavy_rounds_feature.tres" id="2_v0e26"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("2_fax6y")
|
||||
attributes = Dictionary[String, float]({
|
||||
"Damage": 0.0,
|
||||
"Fire Delay": 0.0,
|
||||
"Range": 4.0
|
||||
})
|
||||
features = Array[ExtResource("1_0swcp")]([ExtResource("2_v0e26")])
|
||||
text = "DESC_TOWER_SPEED_INCREASER"
|
||||
metadata/_custom_type_script = "uid://dg7gxxqfqxcmc"
|
||||
Reference in New Issue
Block a user