177 lines
4.8 KiB
Text
177 lines
4.8 KiB
Text
[gd_scene load_steps=2 format=3 uid="uid://wvtkpsevhva0"]
|
|
|
|
[ext_resource type="Script" uid="uid://cy7cil87c8jlm" path="res://01 - Menus/04 - Modules/modules_skill.gd" id="1_5eik8"]
|
|
|
|
[node name="skill" type="Control"]
|
|
layout_mode = 3
|
|
anchors_preset = 0
|
|
script = ExtResource("1_5eik8")
|
|
|
|
[node name="ColorRect" type="ColorRect" parent="."]
|
|
visible = false
|
|
layout_mode = 0
|
|
offset_right = 1408.0
|
|
offset_bottom = 1280.0
|
|
|
|
[node name="cost" type="Node2D" parent="."]
|
|
unique_name_in_owner = true
|
|
|
|
[node name="body" type="LineEdit" parent="cost"]
|
|
unique_name_in_owner = true
|
|
offset_left = 64.0
|
|
offset_top = 64.0
|
|
offset_right = 206.0
|
|
offset_bottom = 128.0
|
|
theme_override_colors/font_color = Color(0.8509804, 0.29411766, 0.29411766, 1)
|
|
placeholder_text = "body"
|
|
|
|
[node name="communication" type="LineEdit" parent="cost"]
|
|
unique_name_in_owner = true
|
|
offset_left = 256.0
|
|
offset_top = 64.0
|
|
offset_right = 398.0
|
|
offset_bottom = 128.0
|
|
placeholder_text = "communication"
|
|
|
|
[node name="mind" type="LineEdit" parent="cost"]
|
|
unique_name_in_owner = true
|
|
offset_left = 64.0
|
|
offset_top = 160.0
|
|
offset_right = 206.0
|
|
offset_bottom = 224.0
|
|
placeholder_text = "mind"
|
|
|
|
[node name="soul" type="LineEdit" parent="cost"]
|
|
unique_name_in_owner = true
|
|
offset_left = 256.0
|
|
offset_top = 160.0
|
|
offset_right = 398.0
|
|
offset_bottom = 224.0
|
|
placeholder_text = "soul"
|
|
|
|
[node name="action" type="TextEdit" parent="."]
|
|
unique_name_in_owner = true
|
|
clip_contents = false
|
|
layout_mode = 0
|
|
offset_left = 64.0
|
|
offset_top = 320.0
|
|
offset_right = 960.0
|
|
offset_bottom = 576.0
|
|
placeholder_text = "action"
|
|
wrap_mode = 1
|
|
scroll_smooth = true
|
|
caret_blink = true
|
|
|
|
[node name="success" type="TextEdit" parent="."]
|
|
unique_name_in_owner = true
|
|
clip_contents = false
|
|
layout_mode = 0
|
|
offset_left = 64.0
|
|
offset_top = 608.0
|
|
offset_right = 960.0
|
|
offset_bottom = 864.0
|
|
placeholder_text = "success"
|
|
wrap_mode = 1
|
|
scroll_smooth = true
|
|
caret_blink = true
|
|
|
|
[node name="failure" type="TextEdit" parent="."]
|
|
unique_name_in_owner = true
|
|
clip_contents = false
|
|
layout_mode = 0
|
|
offset_left = 64.0
|
|
offset_top = 896.0
|
|
offset_right = 960.0
|
|
offset_bottom = 1152.0
|
|
placeholder_text = "failure"
|
|
wrap_mode = 1
|
|
scroll_smooth = true
|
|
caret_blink = true
|
|
|
|
[node name="difficulty" type="LineEdit" parent="."]
|
|
unique_name_in_owner = true
|
|
layout_mode = 0
|
|
offset_left = 576.0
|
|
offset_top = 64.0
|
|
offset_right = 718.0
|
|
offset_bottom = 128.0
|
|
placeholder_text = "difficulty"
|
|
|
|
[node name="duration" type="LineEdit" parent="."]
|
|
unique_name_in_owner = true
|
|
layout_mode = 0
|
|
offset_left = 832.0
|
|
offset_top = 64.0
|
|
offset_right = 974.0
|
|
offset_bottom = 128.0
|
|
placeholder_text = "duration"
|
|
|
|
[node name="ends_on" type="OptionButton" parent="."]
|
|
unique_name_in_owner = true
|
|
layout_mode = 0
|
|
offset_left = 1024.0
|
|
offset_top = 64.0
|
|
offset_right = 1344.0
|
|
offset_bottom = 128.0
|
|
selected = 0
|
|
item_count = 3
|
|
popup/item_0/id = 0
|
|
popup/item_1/text = "Ends on Sleep"
|
|
popup/item_1/id = 1
|
|
popup/item_2/text = "Ends on Rest"
|
|
popup/item_2/id = 2
|
|
|
|
[node name="challenge" type="OptionButton" parent="."]
|
|
unique_name_in_owner = true
|
|
layout_mode = 0
|
|
offset_left = 512.0
|
|
offset_top = 160.0
|
|
offset_right = 1344.0
|
|
offset_bottom = 224.0
|
|
selected = 0
|
|
item_count = 3
|
|
popup/item_0/id = 0
|
|
popup/item_1/text = "Throw 1 dice"
|
|
popup/item_1/id = 1
|
|
popup/item_2/text = "Throw x dice"
|
|
popup/item_2/id = 2
|
|
|
|
[node name="target" type="ItemList" parent="."]
|
|
unique_name_in_owner = true
|
|
clip_contents = false
|
|
layout_mode = 0
|
|
offset_left = 1024.0
|
|
offset_top = 896.0
|
|
offset_right = 1344.0
|
|
offset_bottom = 1152.0
|
|
mouse_filter = 2
|
|
select_mode = 2
|
|
item_count = 1
|
|
item_0/text = "target"
|
|
|
|
[node name="stat" type="ItemList" parent="."]
|
|
unique_name_in_owner = true
|
|
clip_contents = false
|
|
layout_mode = 0
|
|
offset_left = 1024.0
|
|
offset_top = 320.0
|
|
offset_right = 1344.0
|
|
offset_bottom = 864.0
|
|
mouse_filter = 2
|
|
select_mode = 2
|
|
|
|
[node name="http" type="HTTPRequest" parent="."]
|
|
unique_name_in_owner = true
|
|
use_threads = true
|
|
|
|
[connection signal="text_changed" from="cost/body" to="." method="_on_body_text_changed"]
|
|
[connection signal="text_changed" from="cost/communication" to="." method="_on_communication_text_changed"]
|
|
[connection signal="text_changed" from="cost/mind" to="." method="_on_mind_text_changed"]
|
|
[connection signal="text_changed" from="cost/soul" to="." method="_on_soul_text_changed"]
|
|
[connection signal="text_changed" from="action" to="." method="_on_action_text_changed"]
|
|
[connection signal="text_changed" from="success" to="." method="_on_success_text_changed"]
|
|
[connection signal="text_changed" from="failure" to="." method="_on_failure_text_changed"]
|
|
[connection signal="text_changed" from="difficulty" to="." method="_on_difficulty_text_changed"]
|
|
[connection signal="text_changed" from="duration" to="." method="_on_duration_text_changed"]
|
|
[connection signal="item_selected" from="ends_on" to="." method="_on_ends_on_item_selected"]
|
|
[connection signal="request_completed" from="http" to="." method="_on_http_request_completed"]
|