forked from Nekojimi/JackIt
325 lines
9.2 KiB
Plaintext
325 lines
9.2 KiB
Plaintext
|
[gd_scene load_steps=21 format=3 uid="uid://yxovhqsiiibj"]
|
||
|
|
||
|
[ext_resource type="Script" path="res://scripts/client.gd" id="1_aru0x"]
|
||
|
[ext_resource type="Theme" uid="uid://c7yliu4oaeteg" path="res://control_theme.tres" id="1_ir4rr"]
|
||
|
[ext_resource type="Script" path="res://scripts/prompt_manager.gd" id="2_mgq1w"]
|
||
|
[ext_resource type="PackedScene" uid="uid://b33iajedup33k" path="res://objects/multi_choice_button.tscn" id="4_ugyc5"]
|
||
|
[ext_resource type="PackedScene" uid="uid://ciwipjf7njfiy" path="res://objects/submit_button.tscn" id="5_p4j2g"]
|
||
|
[ext_resource type="Texture2D" uid="uid://o6w4s6p2a4jl" path="res://icon.svg" id="6_s0faq"]
|
||
|
|
||
|
[sub_resource type="Gradient" id="Gradient_bx15q"]
|
||
|
colors = PackedColorArray(0.763336, 0.449219, 1, 1, 1, 0.605469, 0.873627, 1)
|
||
|
|
||
|
[sub_resource type="GradientTexture1D" id="GradientTexture1D_svfn0"]
|
||
|
gradient = SubResource("Gradient_bx15q")
|
||
|
|
||
|
[sub_resource type="LabelSettings" id="LabelSettings_ultef"]
|
||
|
font_size = 96
|
||
|
font_color = Color(0, 0, 0, 1)
|
||
|
|
||
|
[sub_resource type="LabelSettings" id="LabelSettings_sjkxe"]
|
||
|
font_color = Color(0, 0, 0, 1)
|
||
|
|
||
|
[sub_resource type="LabelSettings" id="LabelSettings_0icxx"]
|
||
|
font_color = Color(0, 0, 0, 1)
|
||
|
|
||
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_d7ow1"]
|
||
|
bg_color = Color(1, 1, 1, 1)
|
||
|
corner_radius_top_left = 32
|
||
|
corner_radius_top_right = 32
|
||
|
corner_radius_bottom_right = 32
|
||
|
corner_radius_bottom_left = 32
|
||
|
shadow_size = 6
|
||
|
shadow_offset = Vector2(4, 4)
|
||
|
|
||
|
[sub_resource type="Gradient" id="Gradient_4pdeh"]
|
||
|
offsets = PackedFloat32Array(0, 0.522581, 1)
|
||
|
colors = PackedColorArray(0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0)
|
||
|
|
||
|
[sub_resource type="GradientTexture1D" id="GradientTexture1D_dnr2m"]
|
||
|
gradient = SubResource("Gradient_4pdeh")
|
||
|
|
||
|
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_wrn5s"]
|
||
|
texture = SubResource("GradientTexture1D_dnr2m")
|
||
|
texture_margin_top = 1.0
|
||
|
texture_margin_bottom = 1.0
|
||
|
|
||
|
[sub_resource type="SystemFont" id="SystemFont_wxr2e"]
|
||
|
font_names = PackedStringArray("Serif")
|
||
|
multichannel_signed_distance_field = true
|
||
|
|
||
|
[sub_resource type="SystemFont" id="SystemFont_k5x4p"]
|
||
|
font_names = PackedStringArray("Serif")
|
||
|
font_weight = 575
|
||
|
multichannel_signed_distance_field = true
|
||
|
|
||
|
[sub_resource type="Gradient" id="Gradient_me4fx"]
|
||
|
offsets = PackedFloat32Array(0, 0.494152, 1)
|
||
|
colors = PackedColorArray(1, 1, 1, 1, 1, 0, 0, 1, 0, 0, 0, 1)
|
||
|
|
||
|
[sub_resource type="FastNoiseLite" id="FastNoiseLite_4wr15"]
|
||
|
noise_type = 2
|
||
|
seed = 4
|
||
|
cellular_return_type = 6
|
||
|
|
||
|
[sub_resource type="NoiseTexture2D" id="NoiseTexture2D_mdpie"]
|
||
|
color_ramp = SubResource("Gradient_me4fx")
|
||
|
noise = SubResource("FastNoiseLite_4wr15")
|
||
|
|
||
|
[node name="Scene" type="Control"]
|
||
|
layout_mode = 3
|
||
|
anchors_preset = 15
|
||
|
anchor_right = 1.0
|
||
|
anchor_bottom = 1.0
|
||
|
grow_horizontal = 2
|
||
|
grow_vertical = 2
|
||
|
theme = ExtResource("1_ir4rr")
|
||
|
script = ExtResource("1_aru0x")
|
||
|
|
||
|
[node name="TextureRect" type="TextureRect" parent="."]
|
||
|
layout_mode = 1
|
||
|
anchors_preset = 15
|
||
|
anchor_right = 1.0
|
||
|
anchor_bottom = 1.0
|
||
|
grow_horizontal = 2
|
||
|
grow_vertical = 2
|
||
|
texture = SubResource("GradientTexture1D_svfn0")
|
||
|
|
||
|
[node name="Label" type="Label" parent="."]
|
||
|
visible = false
|
||
|
layout_mode = 1
|
||
|
anchors_preset = 8
|
||
|
anchor_left = 0.5
|
||
|
anchor_top = 0.5
|
||
|
anchor_right = 0.5
|
||
|
anchor_bottom = 0.5
|
||
|
offset_left = -161.5
|
||
|
offset_top = -133.5
|
||
|
offset_right = 161.5
|
||
|
offset_bottom = 133.5
|
||
|
grow_horizontal = 2
|
||
|
grow_vertical = 2
|
||
|
text = "I'm a
|
||
|
CLIENT"
|
||
|
label_settings = SubResource("LabelSettings_ultef")
|
||
|
horizontal_alignment = 1
|
||
|
vertical_alignment = 1
|
||
|
|
||
|
[node name="Label2" type="Label" parent="."]
|
||
|
layout_mode = 1
|
||
|
anchors_preset = 7
|
||
|
anchor_left = 0.5
|
||
|
anchor_top = 1.0
|
||
|
anchor_right = 0.5
|
||
|
anchor_bottom = 1.0
|
||
|
offset_left = -85.0
|
||
|
offset_top = -109.0
|
||
|
offset_right = 89.0
|
||
|
offset_bottom = -86.0
|
||
|
grow_horizontal = 2
|
||
|
grow_vertical = 0
|
||
|
text = "Connecting to server..."
|
||
|
label_settings = SubResource("LabelSettings_sjkxe")
|
||
|
horizontal_alignment = 1
|
||
|
vertical_alignment = 1
|
||
|
|
||
|
[node name="ServerIPLabel" type="Label" parent="."]
|
||
|
layout_mode = 1
|
||
|
anchors_preset = 7
|
||
|
anchor_left = 0.5
|
||
|
anchor_top = 1.0
|
||
|
anchor_right = 0.5
|
||
|
anchor_bottom = 1.0
|
||
|
offset_left = -85.0
|
||
|
offset_top = -132.0
|
||
|
offset_right = 89.0
|
||
|
offset_bottom = -109.0
|
||
|
grow_horizontal = 2
|
||
|
grow_vertical = 0
|
||
|
text = "Server IP: 123.545.454.66"
|
||
|
label_settings = SubResource("LabelSettings_sjkxe")
|
||
|
horizontal_alignment = 1
|
||
|
vertical_alignment = 1
|
||
|
|
||
|
[node name="HBoxContainer" type="HBoxContainer" parent="."]
|
||
|
layout_mode = 1
|
||
|
anchors_preset = 3
|
||
|
anchor_left = 1.0
|
||
|
anchor_top = 1.0
|
||
|
anchor_right = 1.0
|
||
|
anchor_bottom = 1.0
|
||
|
offset_left = -205.0
|
||
|
offset_top = -31.0
|
||
|
grow_horizontal = 0
|
||
|
grow_vertical = 0
|
||
|
|
||
|
[node name="LineEdit" type="LineEdit" parent="HBoxContainer"]
|
||
|
layout_mode = 2
|
||
|
size_flags_horizontal = 3
|
||
|
placeholder_text = "type here..."
|
||
|
max_length = 128
|
||
|
clear_button_enabled = true
|
||
|
|
||
|
[node name="Button" type="Button" parent="HBoxContainer"]
|
||
|
layout_mode = 2
|
||
|
text = "Send"
|
||
|
|
||
|
[node name="VBoxContainer2" type="VBoxContainer" parent="."]
|
||
|
layout_mode = 1
|
||
|
anchors_preset = 3
|
||
|
anchor_left = 1.0
|
||
|
anchor_top = 1.0
|
||
|
anchor_right = 1.0
|
||
|
anchor_bottom = 1.0
|
||
|
offset_left = -205.0
|
||
|
offset_top = -187.0
|
||
|
offset_bottom = -33.0
|
||
|
grow_horizontal = 0
|
||
|
grow_vertical = 0
|
||
|
alignment = 2
|
||
|
|
||
|
[node name="Label2" type="Label" parent="VBoxContainer2"]
|
||
|
layout_mode = 2
|
||
|
size_flags_horizontal = 0
|
||
|
size_flags_vertical = 8
|
||
|
text = "Cloudy: im gay lol
|
||
|
Kite: omg me too
|
||
|
"
|
||
|
label_settings = SubResource("LabelSettings_0icxx")
|
||
|
vertical_alignment = 2
|
||
|
|
||
|
[node name="PromptManager" type="VBoxContainer" parent="."]
|
||
|
layout_mode = 1
|
||
|
anchors_preset = -1
|
||
|
anchor_left = 0.25
|
||
|
anchor_right = 0.75
|
||
|
anchor_bottom = 1.0
|
||
|
offset_top = 64.0
|
||
|
offset_bottom = -64.0
|
||
|
grow_horizontal = 2
|
||
|
grow_vertical = 2
|
||
|
script = ExtResource("2_mgq1w")
|
||
|
|
||
|
[node name="PromptLabel" type="RichTextLabel" parent="PromptManager"]
|
||
|
layout_mode = 2
|
||
|
theme_override_colors/font_outline_color = Color(0, 0, 0, 0.556863)
|
||
|
theme_override_constants/outline_size = 3
|
||
|
theme_override_font_sizes/normal_font_size = 32
|
||
|
bbcode_enabled = true
|
||
|
text = "[center]Damn ya ass [shake level=40]fat[/shake]. what's your [rainbow]pronouns[/rainbow][/center]
|
||
|
"
|
||
|
fit_content = true
|
||
|
visible_characters_behavior = 1
|
||
|
|
||
|
[node name="MultichoiceButtons" type="VBoxContainer" parent="PromptManager"]
|
||
|
layout_mode = 2
|
||
|
|
||
|
[node name="Button" parent="PromptManager/MultichoiceButtons" instance=ExtResource("4_ugyc5")]
|
||
|
layout_mode = 2
|
||
|
|
||
|
[node name="Button2" type="Button" parent="PromptManager/MultichoiceButtons"]
|
||
|
layout_mode = 2
|
||
|
text = "she/her"
|
||
|
|
||
|
[node name="Button3" type="Button" parent="PromptManager/MultichoiceButtons"]
|
||
|
layout_mode = 2
|
||
|
text = "they/them"
|
||
|
|
||
|
[node name="LineEdit" type="LineEdit" parent="PromptManager"]
|
||
|
layout_mode = 2
|
||
|
|
||
|
[node name="LongTextEdit" type="TextEdit" parent="PromptManager"]
|
||
|
custom_minimum_size = Vector2(0, 96)
|
||
|
layout_mode = 2
|
||
|
placeholder_text = "Type Here..."
|
||
|
|
||
|
[node name="SubmitButton" parent="PromptManager" instance=ExtResource("5_p4j2g")]
|
||
|
layout_mode = 2
|
||
|
|
||
|
[node name="Node2D" type="Node2D" parent="."]
|
||
|
position = Vector2(671, 682)
|
||
|
rotation = 0.0473983
|
||
|
scale = Vector2(2, 2)
|
||
|
|
||
|
[node name="Panel" type="Panel" parent="Node2D"]
|
||
|
anchors_preset = 8
|
||
|
anchor_left = 0.5
|
||
|
anchor_top = 0.5
|
||
|
anchor_right = 0.5
|
||
|
anchor_bottom = 0.5
|
||
|
offset_left = -125.0
|
||
|
offset_top = -175.0
|
||
|
offset_right = 125.0
|
||
|
offset_bottom = 175.0
|
||
|
grow_horizontal = 2
|
||
|
grow_vertical = 2
|
||
|
pivot_offset = Vector2(125, 175)
|
||
|
theme_override_styles/panel = SubResource("StyleBoxFlat_d7ow1")
|
||
|
|
||
|
[node name="VBoxContainer" type="VBoxContainer" parent="Node2D/Panel"]
|
||
|
layout_mode = 1
|
||
|
anchors_preset = -1
|
||
|
anchor_left = 0.05
|
||
|
anchor_top = 0.05
|
||
|
anchor_right = 0.95
|
||
|
anchor_bottom = 0.95
|
||
|
grow_horizontal = 2
|
||
|
grow_vertical = 2
|
||
|
|
||
|
[node name="TextureRect" type="TextureRect" parent="Node2D/Panel/VBoxContainer"]
|
||
|
layout_mode = 2
|
||
|
size_flags_vertical = 3
|
||
|
texture = ExtResource("6_s0faq")
|
||
|
stretch_mode = 5
|
||
|
|
||
|
[node name="HSeparator" type="HSeparator" parent="Node2D/Panel/VBoxContainer"]
|
||
|
layout_mode = 2
|
||
|
theme_override_styles/separator = SubResource("StyleBoxTexture_wrn5s")
|
||
|
|
||
|
[node name="Label" type="RichTextLabel" parent="Node2D/Panel/VBoxContainer"]
|
||
|
layout_mode = 2
|
||
|
size_flags_vertical = 6
|
||
|
theme_override_colors/default_color = Color(0, 0, 0, 1)
|
||
|
theme_override_fonts/normal_font = SubResource("SystemFont_wxr2e")
|
||
|
theme_override_fonts/bold_font = SubResource("SystemFont_k5x4p")
|
||
|
bbcode_enabled = true
|
||
|
text = "[center][b]Delinquent[/b][/center]
|
||
|
|
||
|
[center]You are [color=blue]innocent[/color]; but if an Investigator targets you, they will see you as a [color=red]werewolf[/color].[/center]"
|
||
|
fit_content = true
|
||
|
|
||
|
[node name="Card Back" type="Panel" parent="Node2D"]
|
||
|
visible = false
|
||
|
anchors_preset = 8
|
||
|
anchor_left = 0.5
|
||
|
anchor_top = 0.5
|
||
|
anchor_right = 0.5
|
||
|
anchor_bottom = 0.5
|
||
|
offset_left = -125.0
|
||
|
offset_top = -175.0
|
||
|
offset_right = 125.0
|
||
|
offset_bottom = 175.0
|
||
|
grow_horizontal = 2
|
||
|
grow_vertical = 2
|
||
|
pivot_offset = Vector2(125, 175)
|
||
|
theme_override_styles/panel = SubResource("StyleBoxFlat_d7ow1")
|
||
|
|
||
|
[node name="TextureRect" type="TextureRect" parent="Node2D/Card Back"]
|
||
|
layout_mode = 1
|
||
|
anchors_preset = -1
|
||
|
anchor_right = 1.0
|
||
|
anchor_bottom = 1.0
|
||
|
offset_left = 15.0
|
||
|
offset_top = 15.0
|
||
|
offset_right = -15.0
|
||
|
offset_bottom = -15.0
|
||
|
grow_horizontal = 2
|
||
|
grow_vertical = 2
|
||
|
texture = SubResource("NoiseTexture2D_mdpie")
|
||
|
expand_mode = 1
|
||
|
stretch_mode = 1
|
||
|
|
||
|
[connection signal="text_submitted" from="HBoxContainer/LineEdit" to="HBoxContainer/LineEdit" method="clear"]
|
||
|
[connection signal="text_submitted" from="PromptManager/LineEdit" to="PromptManager" method="submit_result"]
|
||
|
[connection signal="pressed" from="PromptManager/SubmitButton" to="PromptManager" method="submit_button_pressed"]
|