|
|
|
|
[gd_scene load_steps=8 format=3 uid="uid://b2iq5inxeoe82"]
|
|
|
|
|
|
|
|
|
|
[ext_resource type="Texture2D" uid="uid://dedauf4ntkthu" path="res://icon.svg" id="1_d15px"]
|
|
|
|
|
[ext_resource type="Script" path="res://Test Scenes/Player.gd" id="2_8b3bs"]
|
|
|
|
|
[ext_resource type="PackedScene" uid="uid://ch1sc85jxy1r7" path="res://Systems/Combat/Combatant.tscn" id="4_w3vb5"]
|
|
|
|
|
[ext_resource type="PackedScene" uid="uid://bbbyup8pp6uam" path="res://Systems/Combat/Actions/Standard Actions/attack.tscn" id="5_17k7n"]
|
|
|
|
|
[ext_resource type="PackedScene" uid="uid://b0swegor2jejg" path="res://Systems/Combat/player_combatant_controller.tscn" id="6_fabcu"]
|
|
|
|
|
[ext_resource type="Script" path="res://Systems/Combat/Scripts/combat_stats.gd" id="7_ynhjd"]
|
|
|
|
|
|
|
|
|
|
[sub_resource type="Resource" id="Resource_28c5l"]
|
|
|
|
|
script = ExtResource("7_ynhjd")
|
|
|
|
|
MaxHP = 10
|
|
|
|
|
MaxPhysicalStamina = 10
|
|
|
|
|
MaxMentalStamina = 10
|
|
|
|
|
Strength = 1
|
|
|
|
|
Wisdom = 1
|
|
|
|
|
Constitution = 1
|
|
|
|
|
Willpower = 1
|
|
|
|
|
Speed = 1
|
|
|
|
|
Focus = 1
|
|
|
|
|
Accuracy = 1
|
|
|
|
|
Agility = 1
|
|
|
|
|
|
|
|
|
|
[node name="Player" type="Sprite2D"]
|
|
|
|
|
position = Vector2(553, 219)
|
|
|
|
|
texture = ExtResource("1_d15px")
|
|
|
|
|
script = ExtResource("2_8b3bs")
|
|
|
|
|
|
|
|
|
|
[node name="Combatant" parent="." node_paths=PackedStringArray("Controller") instance=ExtResource("4_w3vb5")]
|
|
|
|
|
Controller = NodePath("PlayerCombatantController")
|
|
|
|
|
Stats = SubResource("Resource_28c5l")
|
|
|
|
|
|
|
|
|
|
[node name="Actions" type="Node" parent="Combatant"]
|
|
|
|
|
|
|
|
|
|
[node name="attack" parent="Combatant/Actions" instance=ExtResource("5_17k7n")]
|
|
|
|
|
|
|
|
|
|
[node name="PlayerCombatantController" parent="Combatant" instance=ExtResource("6_fabcu")]
|
|
|
|
|
Name = "TEST_DUDE"
|
|
|
|
|
TeamPosition = 1
|
|
|
|
|
|
|
|
|
|
[connection signal="atb_update" from="Combatant" to="Combatant/PlayerCombatantController" method="on_atb_update"]
|
|
|
|
|
[connection signal="action_finished" from="Combatant/Actions/attack" to="." method="action_done"]
|