enabled enforced static typing
This commit is contained in:
17
PCs/Mechanic/ClassCards/GlueLauncher/card_glue_launcher.tres
Normal file
17
PCs/Mechanic/ClassCards/GlueLauncher/card_glue_launcher.tres
Normal file
@ -0,0 +1,17 @@
|
||||
[gd_resource type="Resource" script_class="Card" load_steps=6 format=3 uid="uid://fwsg5av1egp2"]
|
||||
|
||||
[ext_resource type="Script" path="res://Scripts/Resources/card.gd" id="1_tdu8a"]
|
||||
[ext_resource type="Resource" uid="uid://boj1ho5x0sxtq" path="res://PCs/Mechanic/ClassCards/GlueLauncher/weapon_stats.tres" id="3_dukui"]
|
||||
[ext_resource type="Resource" uid="uid://bvkwgmbxje0dp" path="res://PCs/Mechanic/ClassCards/GlueLauncher/tower_stats.tres" id="3_e5fta"]
|
||||
[ext_resource type="PackedScene" uid="uid://bb44pintbwdcf" path="res://PCs/Mechanic/ClassCards/GlueLauncher/tower_glue_launcher.tscn" id="4_xcrut"]
|
||||
[ext_resource type="PackedScene" uid="uid://takm6diuy71m" path="res://PCs/Mechanic/ClassCards/GlueLauncher/weapon_glue_launcher.tscn" id="5_l3c38"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_tdu8a")
|
||||
rarity = 1
|
||||
faction = 0
|
||||
turret_scene = ExtResource("4_xcrut")
|
||||
weapon_scene = ExtResource("5_l3c38")
|
||||
weapon_stats = ExtResource("3_dukui")
|
||||
tower_stats = ExtResource("3_e5fta")
|
||||
display_name = "Glue Launcher"
|
BIN
PCs/Mechanic/ClassCards/GlueLauncher/glue_gun.png
Normal file
BIN
PCs/Mechanic/ClassCards/GlueLauncher/glue_gun.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.3 KiB |
34
PCs/Mechanic/ClassCards/GlueLauncher/glue_gun.png.import
Normal file
34
PCs/Mechanic/ClassCards/GlueLauncher/glue_gun.png.import
Normal file
@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://oblavj8vj30n"
|
||||
path="res://.godot/imported/glue_gun.png-a2acb2baa6297047565493c79f3e6176.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://PCs/Mechanic/ClassCards/GlueLauncher/glue_gun.png"
|
||||
dest_files=["res://.godot/imported/glue_gun.png-a2acb2baa6297047565493c79f3e6176.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=true
|
||||
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=0
|
BIN
PCs/Mechanic/ClassCards/GlueLauncher/glue_launcher_model.res
Normal file
BIN
PCs/Mechanic/ClassCards/GlueLauncher/glue_launcher_model.res
Normal file
Binary file not shown.
BIN
PCs/Mechanic/ClassCards/GlueLauncher/gluegun.glb
Normal file
BIN
PCs/Mechanic/ClassCards/GlueLauncher/gluegun.glb
Normal file
Binary file not shown.
47
PCs/Mechanic/ClassCards/GlueLauncher/gluegun.glb.import
Normal file
47
PCs/Mechanic/ClassCards/GlueLauncher/gluegun.glb.import
Normal file
@ -0,0 +1,47 @@
|
||||
[remap]
|
||||
|
||||
importer="scene"
|
||||
importer_version=1
|
||||
type="PackedScene"
|
||||
uid="uid://dd2lht485rtdu"
|
||||
path="res://.godot/imported/gluegun.glb-a62ec3086901b47fbe2d5360451456ee.scn"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://PCs/Mechanic/ClassCards/GlueLauncher/gluegun.glb"
|
||||
dest_files=["res://.godot/imported/gluegun.glb-a62ec3086901b47fbe2d5360451456ee.scn"]
|
||||
|
||||
[params]
|
||||
|
||||
nodes/root_type="Node3D"
|
||||
nodes/root_name="Scene Root"
|
||||
nodes/apply_root_scale=true
|
||||
nodes/root_scale=1.0
|
||||
meshes/ensure_tangents=true
|
||||
meshes/generate_lods=true
|
||||
meshes/create_shadow_meshes=true
|
||||
meshes/light_baking=1
|
||||
meshes/lightmap_texel_size=0.2
|
||||
meshes/force_disable_compression=false
|
||||
skins/use_named_skins=true
|
||||
animation/import=true
|
||||
animation/fps=30
|
||||
animation/trimming=false
|
||||
animation/remove_immutable_tracks=true
|
||||
import_script/path=""
|
||||
_subresources={
|
||||
"meshes": {
|
||||
"gluegun_Cube": {
|
||||
"generate/lightmap_uv": 0,
|
||||
"generate/lods": 0,
|
||||
"generate/shadow_meshes": 0,
|
||||
"lods/normal_merge_angle": 60.0,
|
||||
"lods/normal_split_angle": 25.0,
|
||||
"save_to_file/enabled": false,
|
||||
"save_to_file/make_streamable": "",
|
||||
"save_to_file/path": "res://glue_launcher_model.res"
|
||||
}
|
||||
}
|
||||
}
|
||||
gltf/naming_version=0
|
||||
gltf/embedded_image_handling=1
|
BIN
PCs/Mechanic/ClassCards/GlueLauncher/glueguntex.png
Normal file
BIN
PCs/Mechanic/ClassCards/GlueLauncher/glueguntex.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 11 KiB |
34
PCs/Mechanic/ClassCards/GlueLauncher/glueguntex.png.import
Normal file
34
PCs/Mechanic/ClassCards/GlueLauncher/glueguntex.png.import
Normal file
@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://ukdbh416xfrl"
|
||||
path="res://.godot/imported/glueguntex.png-07f9d2cd55a7bc474ea1c2a9c9004c28.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://PCs/Mechanic/ClassCards/GlueLauncher/glueguntex.png"
|
||||
dest_files=["res://.godot/imported/glueguntex.png-07f9d2cd55a7bc474ea1c2a9c9004c28.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=true
|
||||
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=0
|
BIN
PCs/Mechanic/ClassCards/GlueLauncher/shot1.wav
Normal file
BIN
PCs/Mechanic/ClassCards/GlueLauncher/shot1.wav
Normal file
Binary file not shown.
24
PCs/Mechanic/ClassCards/GlueLauncher/shot1.wav.import
Normal file
24
PCs/Mechanic/ClassCards/GlueLauncher/shot1.wav.import
Normal file
@ -0,0 +1,24 @@
|
||||
[remap]
|
||||
|
||||
importer="wav"
|
||||
type="AudioStreamWAV"
|
||||
uid="uid://v3j5lw827y85"
|
||||
path="res://.godot/imported/shot1.wav-cb885b12e493666bc374ac80b2b48618.sample"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://PCs/Mechanic/ClassCards/GlueLauncher/shot1.wav"
|
||||
dest_files=["res://.godot/imported/shot1.wav-cb885b12e493666bc374ac80b2b48618.sample"]
|
||||
|
||||
[params]
|
||||
|
||||
force/8_bit=false
|
||||
force/mono=false
|
||||
force/max_rate=false
|
||||
force/max_rate_hz=44100
|
||||
edit/trim=false
|
||||
edit/normalize=false
|
||||
edit/loop_mode=0
|
||||
edit/loop_begin=0
|
||||
edit/loop_end=-1
|
||||
compress/mode=0
|
@ -0,0 +1,7 @@
|
||||
class_name GlueLauncherTower extends StatusApplyingTower
|
||||
|
||||
|
||||
func build_status_object() -> StatusEffect:
|
||||
var status: StatusSlow = StatusSlow.new()
|
||||
status.stats = status_stats
|
||||
return status
|
@ -0,0 +1,29 @@
|
||||
[gd_scene load_steps=8 format=3 uid="uid://bb44pintbwdcf"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://dxwtlvv632ae8" path="res://Scenes/Towers/status_applying_tower.tscn" id="1_r1dvg"]
|
||||
[ext_resource type="Script" path="res://PCs/Mechanic/ClassCards/GlueLauncher/tower_glue_launcher.gd" id="2_ot8fu"]
|
||||
[ext_resource type="Resource" uid="uid://d0643gfp52x3s" path="res://Resources/StatusEffects/sticky.tres" id="3_ibb53"]
|
||||
[ext_resource type="Resource" uid="uid://bvkwgmbxje0dp" path="res://PCs/Mechanic/ClassCards/GlueLauncher/tower_stats.tres" id="4_etcd4"]
|
||||
[ext_resource type="ArrayMesh" uid="uid://cehyrhbd7pu83" path="res://PCs/Mechanic/ClassCards/GlueLauncher/glue_launcher_model.res" id="5_dsftx"]
|
||||
[ext_resource type="AudioStream" uid="uid://v3j5lw827y85" path="res://PCs/Mechanic/ClassCards/GlueLauncher/shot1.wav" id="6_lntow"]
|
||||
|
||||
[sub_resource type="AudioStreamRandomizer" id="AudioStreamRandomizer_r4ak7"]
|
||||
random_pitch = 1.1
|
||||
streams_count = 1
|
||||
stream_0/stream = ExtResource("6_lntow")
|
||||
stream_0/weight = 1.0
|
||||
|
||||
[node name="GlueLauncherTower" instance=ExtResource("1_r1dvg")]
|
||||
script = ExtResource("2_ot8fu")
|
||||
status_stats = ExtResource("3_ibb53")
|
||||
stats = ExtResource("4_etcd4")
|
||||
|
||||
[node name="Pitch" parent="." index="1"]
|
||||
visible = false
|
||||
|
||||
[node name="Yaw" parent="." index="2"]
|
||||
transform = Transform3D(0.3, 0, 0, 0, 0.3, 0, 0, 0, 0.3, 0, 0.484804, 0)
|
||||
mesh = ExtResource("5_dsftx")
|
||||
|
||||
[node name="AudioStreamPlayer3D" parent="Yaw" index="0"]
|
||||
stream = SubResource("AudioStreamRandomizer_r4ak7")
|
25
PCs/Mechanic/ClassCards/GlueLauncher/tower_stats.tres
Normal file
25
PCs/Mechanic/ClassCards/GlueLauncher/tower_stats.tres
Normal file
@ -0,0 +1,25 @@
|
||||
[gd_resource type="Resource" script_class="CardText" load_steps=6 format=3 uid="uid://bvkwgmbxje0dp"]
|
||||
|
||||
[ext_resource type="Script" path="res://Scripts/Resources/stat_attribute.gd" id="1_ytycf"]
|
||||
[ext_resource type="Script" path="res://Scripts/Resources/card_text.gd" id="2_226sm"]
|
||||
|
||||
[sub_resource type="Resource" id="Resource_gbocu"]
|
||||
script = ExtResource("1_ytycf")
|
||||
key = "Damage"
|
||||
value = 0.0
|
||||
|
||||
[sub_resource type="Resource" id="Resource_6a2im"]
|
||||
script = ExtResource("1_ytycf")
|
||||
key = "Range"
|
||||
value = 10.0
|
||||
|
||||
[sub_resource type="Resource" id="Resource_7npe0"]
|
||||
script = ExtResource("1_ytycf")
|
||||
key = "Fire Delay"
|
||||
value = 2.0
|
||||
|
||||
[resource]
|
||||
script = ExtResource("2_226sm")
|
||||
target_type = 1
|
||||
attributes = Array[ExtResource("1_ytycf")]([SubResource("Resource_gbocu"), SubResource("Resource_6a2im"), SubResource("Resource_7npe0")])
|
||||
text = "Fires every /Fire Delay\\s, making the target Sticky at a range of /Range\\m"
|
@ -0,0 +1,7 @@
|
||||
class_name GlueLauncherWeapon extends StatusApplyingWeapon
|
||||
|
||||
|
||||
func build_status_object() -> StatusEffect:
|
||||
var status: StatusSlow = StatusSlow.new()
|
||||
status.stats = status_stats
|
||||
return status
|
@ -0,0 +1,29 @@
|
||||
[gd_scene load_steps=9 format=3 uid="uid://takm6diuy71m"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://nrdexcyatika" path="res://Scenes/Weapons/status_applying_weapon.tscn" id="1_7v0k2"]
|
||||
[ext_resource type="Script" path="res://PCs/Mechanic/ClassCards/GlueLauncher/weapon_glue_launcher.gd" id="2_12ex2"]
|
||||
[ext_resource type="Resource" uid="uid://d0643gfp52x3s" path="res://Resources/StatusEffects/sticky.tres" id="3_xtk6n"]
|
||||
[ext_resource type="Resource" uid="uid://boj1ho5x0sxtq" path="res://PCs/Mechanic/ClassCards/GlueLauncher/weapon_stats.tres" id="4_c3ve8"]
|
||||
[ext_resource type="Texture2D" uid="uid://oblavj8vj30n" path="res://PCs/Mechanic/ClassCards/GlueLauncher/glue_gun.png" id="5_obawu"]
|
||||
[ext_resource type="AudioStream" uid="uid://v3j5lw827y85" path="res://PCs/Mechanic/ClassCards/GlueLauncher/shot1.wav" id="6_6qk7c"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_ehcsl"]
|
||||
atlas = ExtResource("5_obawu")
|
||||
region = Rect2(0, 0, 64, 64)
|
||||
|
||||
[sub_resource type="AudioStreamRandomizer" id="AudioStreamRandomizer_cc15t"]
|
||||
random_pitch = 1.1
|
||||
streams_count = 1
|
||||
stream_0/stream = ExtResource("6_6qk7c")
|
||||
stream_0/weight = 1.0
|
||||
|
||||
[node name="GlueLauncherWeapon" instance=ExtResource("1_7v0k2")]
|
||||
script = ExtResource("2_12ex2")
|
||||
status_stats = ExtResource("3_xtk6n")
|
||||
stats = ExtResource("4_c3ve8")
|
||||
|
||||
[node name="Sprite3D" parent="." index="0"]
|
||||
texture = SubResource("AtlasTexture_ehcsl")
|
||||
|
||||
[node name="AudioStreamPlayer3D" parent="." index="5"]
|
||||
stream = SubResource("AudioStreamRandomizer_cc15t")
|
30
PCs/Mechanic/ClassCards/GlueLauncher/weapon_stats.tres
Normal file
30
PCs/Mechanic/ClassCards/GlueLauncher/weapon_stats.tres
Normal file
@ -0,0 +1,30 @@
|
||||
[gd_resource type="Resource" script_class="CardText" load_steps=7 format=3 uid="uid://boj1ho5x0sxtq"]
|
||||
|
||||
[ext_resource type="Script" path="res://Scripts/Resources/stat_attribute.gd" id="1_8ysxs"]
|
||||
[ext_resource type="Script" path="res://Scripts/Resources/card_text.gd" id="2_nlx26"]
|
||||
|
||||
[sub_resource type="Resource" id="Resource_gbocu"]
|
||||
script = ExtResource("1_8ysxs")
|
||||
key = "Damage"
|
||||
value = 0.0
|
||||
|
||||
[sub_resource type="Resource" id="Resource_6a2im"]
|
||||
script = ExtResource("1_8ysxs")
|
||||
key = "Range"
|
||||
value = 13.0
|
||||
|
||||
[sub_resource type="Resource" id="Resource_7npe0"]
|
||||
script = ExtResource("1_8ysxs")
|
||||
key = "Fire Delay"
|
||||
value = 0.5
|
||||
|
||||
[sub_resource type="Resource" id="Resource_o1b5x"]
|
||||
script = ExtResource("1_8ysxs")
|
||||
key = "Energy"
|
||||
value = 8.0
|
||||
|
||||
[resource]
|
||||
script = ExtResource("2_nlx26")
|
||||
target_type = 0
|
||||
attributes = Array[ExtResource("1_8ysxs")]([SubResource("Resource_gbocu"), SubResource("Resource_6a2im"), SubResource("Resource_7npe0"), SubResource("Resource_o1b5x")])
|
||||
text = "Fires every /Fire Delay\\s, making the target Sticky at a range of /Range\\m"
|
Reference in New Issue
Block a user