This commit is contained in:
Rendo 2025-11-27 14:55:33 +05:00
commit 6b939d241c
12 changed files with 128 additions and 68 deletions

15
scenes/weapons/bomb.tscn Normal file
View file

@ -0,0 +1,15 @@
[gd_scene load_steps=3 format=3 uid="uid://bxdatd1ilfgmc"]
[ext_resource type="Script" uid="uid://e6lqknfl4ngt" path="res://scripts/weapon_system/weapon_substate_machine.gd" id="1_krsgt"]
[ext_resource type="Script" uid="uid://rx78vdadldm7" path="res://scripts/weapon_system/bomb/bomb_state.gd" id="2_870cc"]
[node name="Bomb" type="Node" node_paths=PackedStringArray("enter_state")]
script = ExtResource("1_krsgt")
animation_prefix = &"baked_bomb_"
max_ammo = 1
can_be_previous = false
enter_state = NodePath("Main")
metadata/_custom_type_script = "uid://e6lqknfl4ngt"
[node name="Main" type="Node" parent="."]
script = ExtResource("2_870cc")