depleted ammo destruction
This commit is contained in:
parent
7c7f68b6f5
commit
900502ec8a
12 changed files with 68 additions and 2068 deletions
|
|
@ -1,7 +1,9 @@
|
|||
[gd_scene load_steps=3 format=3 uid="uid://bxdatd1ilfgmc"]
|
||||
[gd_scene load_steps=5 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"]
|
||||
[ext_resource type="Script" uid="uid://rx78vdadldm7" path="res://scripts/weapon_system/bomb/bomb_main_state.gd" id="2_870cc"]
|
||||
[ext_resource type="Script" uid="uid://cx7j3kr1laq3s" path="res://scripts/weapon_system/bomb/bomb_idle_state.gd" id="3_1x0so"]
|
||||
[ext_resource type="Script" uid="uid://dmyir46aricwi" path="res://scripts/weapon_system/bomb/bomb_intro_state.gd" id="4_fv3ha"]
|
||||
|
||||
[node name="Bomb" type="Node" node_paths=PackedStringArray("enter_state")]
|
||||
script = ExtResource("1_krsgt")
|
||||
|
|
@ -9,12 +11,18 @@ animation_prefix = &"baked_bomb_"
|
|||
droppable = &"uid://cxdgk74ln5xpn"
|
||||
visibility_target = &"bomb"
|
||||
max_ammo = 1
|
||||
ammo_mags = 0
|
||||
can_be_previous = false
|
||||
destroy_when_empty = true
|
||||
enter_state = NodePath("Main")
|
||||
slot = &"bomb"
|
||||
enter_state = NodePath("Intro")
|
||||
metadata/_custom_type_script = "uid://e6lqknfl4ngt"
|
||||
|
||||
[node name="Main" type="Node" parent="."]
|
||||
[node name="Plant" type="Node" parent="."]
|
||||
script = ExtResource("2_870cc")
|
||||
|
||||
[node name="Idle" type="Node" parent="."]
|
||||
script = ExtResource("3_1x0so")
|
||||
|
||||
[node name="Intro" type="Node" parent="."]
|
||||
script = ExtResource("4_fv3ha")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue