235 lines
6.3 KiB
Text
235 lines
6.3 KiB
Text
[gd_scene load_steps=7 format=2]
|
|
|
|
[ext_resource path="res://scripts/UI/PreyLister.gd" type="Script" id=1]
|
|
[ext_resource path="res://fonts/title.tres" type="DynamicFont" id=2]
|
|
[ext_resource path="res://UI_themes/main.tres" type="Theme" id=3]
|
|
[ext_resource path="res://scripts/preyMenu.gd" type="Script" id=4]
|
|
[ext_resource path="res://scripts/UI/gotoscenebutton.gd" type="Script" id=5]
|
|
[ext_resource path="res://scripts/link.gd" type="Script" id=6]
|
|
|
|
[node name="Control" type="Control"]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
theme = ExtResource( 3 )
|
|
script = ExtResource( 4 )
|
|
__meta__ = {
|
|
"_edit_lock_": true,
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="ColorRect" type="ColorRect" parent="."]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
color = Color( 0.356863, 0, 0, 1 )
|
|
__meta__ = {
|
|
"_edit_lock_": true,
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="Label" type="Label" parent="."]
|
|
anchor_right = 1.0
|
|
margin_bottom = 64.0
|
|
custom_fonts/font = ExtResource( 2 )
|
|
text = "Prey Manager"
|
|
align = 1
|
|
valign = 1
|
|
__meta__ = {
|
|
"_edit_lock_": true,
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="Button" type="Button" parent="."]
|
|
margin_right = 12.0
|
|
margin_bottom = 23.0
|
|
text = "Back"
|
|
script = ExtResource( 5 )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
default = true
|
|
|
|
[node name="export2" type="LinkButton" parent="."]
|
|
visible = false
|
|
anchor_left = 1.0
|
|
anchor_right = 1.0
|
|
margin_left = -96.4949
|
|
margin_top = 10.3826
|
|
margin_right = -8.49487
|
|
margin_bottom = 34.3826
|
|
grow_horizontal = 0
|
|
grow_vertical = 0
|
|
size_flags_vertical = 4
|
|
custom_colors/font_color_focus = Color( 1, 0.627451, 0.627451, 1 )
|
|
custom_colors/font_color = Color( 0.74902, 0.776471, 1, 1 )
|
|
text = "Download More Prey"
|
|
underline = 1
|
|
script = ExtResource( 6 )
|
|
__meta__ = {
|
|
"_editor_description_": "hidden for now because the process to get the prey in the game on mobile is annoying."
|
|
}
|
|
|
|
[node name="pm" type="VBoxContainer" parent="."]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
margin_left = 8.0
|
|
margin_top = 72.0
|
|
margin_right = -8.0
|
|
margin_bottom = -8.0
|
|
__meta__ = {
|
|
"_edit_lock_": true,
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="List" type="ItemList" parent="pm"]
|
|
margin_right = 944.0
|
|
margin_bottom = 606.0
|
|
size_flags_vertical = 3
|
|
script = ExtResource( 1 )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="opts" type="HBoxContainer" parent="pm"]
|
|
margin_top = 610.0
|
|
margin_right = 944.0
|
|
margin_bottom = 640.0
|
|
|
|
[node name="remove" type="Button" parent="pm/opts"]
|
|
margin_right = 85.0
|
|
margin_bottom = 30.0
|
|
hint_tooltip = "Remove until game restarts."
|
|
disabled = true
|
|
text = "Remove"
|
|
|
|
[node name="delete" type="Button" parent="pm/opts"]
|
|
margin_left = 89.0
|
|
margin_right = 254.0
|
|
margin_bottom = 30.0
|
|
hint_tooltip = "Delete prey permanently from disk."
|
|
disabled = true
|
|
text = "Delete From Disk"
|
|
|
|
[node name="save" type="Button" parent="pm/opts"]
|
|
margin_left = 258.0
|
|
margin_right = 385.0
|
|
margin_bottom = 30.0
|
|
hint_tooltip = "Delete prey permanently from disk."
|
|
disabled = true
|
|
text = "Save To Disk"
|
|
|
|
[node name="edit" type="Button" parent="pm/opts"]
|
|
margin_left = 389.0
|
|
margin_right = 435.0
|
|
margin_bottom = 30.0
|
|
size_flags_horizontal = 0
|
|
disabled = true
|
|
text = "Edit"
|
|
|
|
[node name="copy" type="Button" parent="pm/opts"]
|
|
margin_left = 439.0
|
|
margin_right = 495.0
|
|
margin_bottom = 30.0
|
|
disabled = true
|
|
text = "Copy"
|
|
|
|
[node name="export" type="Button" parent="pm/opts"]
|
|
margin_left = 499.0
|
|
margin_right = 568.0
|
|
margin_bottom = 30.0
|
|
disabled = true
|
|
text = "Export"
|
|
|
|
[node name="Control" type="Control" parent="pm/opts"]
|
|
margin_left = 572.0
|
|
margin_right = 869.0
|
|
margin_bottom = 30.0
|
|
size_flags_horizontal = 3
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="add" type="Button" parent="pm/opts"]
|
|
margin_left = 873.0
|
|
margin_right = 944.0
|
|
margin_bottom = 30.0
|
|
text = "Import"
|
|
|
|
[node name="DelConf" type="ConfirmationDialog" parent="."]
|
|
margin_left = 256.0
|
|
margin_top = -72.0
|
|
margin_right = 524.0
|
|
margin_bottom = 12.0
|
|
popup_exclusive = true
|
|
resizable = true
|
|
dialog_text = "Are you sure you want to delete the prey from disk? This cannot be undone."
|
|
dialog_autowrap = true
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="ImportDialog" type="FileDialog" parent="."]
|
|
margin_left = 24.0
|
|
margin_top = 42.0
|
|
margin_right = 609.0
|
|
margin_bottom = 568.0
|
|
popup_exclusive = true
|
|
window_title = "Open a File"
|
|
resizable = true
|
|
dialog_text = "Select an image or .prey file to load."
|
|
mode = 0
|
|
access = 2
|
|
filters = PoolStringArray( "*.prey ; Prey File", "*.png ; PNG image" )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="SaveConf" type="ConfirmationDialog" parent="."]
|
|
margin_left = 272.0
|
|
margin_top = 351.0
|
|
margin_right = 721.0
|
|
margin_bottom = 435.0
|
|
window_title = "Save Prey"
|
|
resizable = true
|
|
dialog_text = "Save prey to disk? This allows changes made to the prey to persist. Otherwise the prey is deleted or reverts to default upon game restart."
|
|
dialog_autowrap = true
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="FileName" type="LineEdit" parent="SaveConf"]
|
|
visible = false
|
|
margin_left = 8.0
|
|
margin_top = 86.0
|
|
margin_right = 441.0
|
|
margin_bottom = 120.0
|
|
size_flags_vertical = 0
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="ExportDialog" type="FileDialog" parent="."]
|
|
margin_left = 15.0
|
|
margin_top = 46.0
|
|
margin_right = 595.0
|
|
margin_bottom = 501.0
|
|
popup_exclusive = true
|
|
window_title = "Export Prey"
|
|
resizable = true
|
|
access = 2
|
|
filters = PoolStringArray( "*.prey ; Prey File" )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[connection signal="item_selected" from="pm/List" to="." method="_on_List_item_selected"]
|
|
[connection signal="pressed" from="pm/opts/remove" to="." method="_on_remove_pressed"]
|
|
[connection signal="pressed" from="pm/opts/delete" to="." method="_on_delete_pressed"]
|
|
[connection signal="pressed" from="pm/opts/save" to="." method="_on_save_pressed"]
|
|
[connection signal="pressed" from="pm/opts/edit" to="." method="_on_edit_pressed"]
|
|
[connection signal="pressed" from="pm/opts/copy" to="." method="_on_copy_pressed"]
|
|
[connection signal="pressed" from="pm/opts/export" to="." method="_on_export_pressed"]
|
|
[connection signal="pressed" from="pm/opts/add" to="." method="_on_add_pressed"]
|
|
[connection signal="confirmed" from="DelConf" to="." method="_on_DelConf_confirmed"]
|
|
[connection signal="file_selected" from="ImportDialog" to="." method="_on_ImportDialog_file_selected"]
|
|
[connection signal="confirmed" from="SaveConf" to="." method="_on_SaveConf_confirmed"]
|
|
[connection signal="file_selected" from="ExportDialog" to="." method="_on_ExportDialog_file_selected"]
|