Skip to content

Commit

Permalink
Misc
Browse files Browse the repository at this point in the history
Unbroke door in test map
  • Loading branch information
TheSecondReal0 committed Nov 28, 2020
1 parent bac94c2 commit 383a38a
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 49 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ interact_data = {

}

[sub_resource type="Resource" id=13]
[sub_resource type="Resource" id=2]
resource_local_to_scene = true
resource_name = "InteractUI"
script = ExtResource( 4 )
Expand All @@ -25,19 +25,19 @@ ui_data = {
}
advanced/reinstance = false

[sub_resource type="Resource" id=14]
[sub_resource type="Resource" id=3]
resource_local_to_scene = true
resource_name = "InteractTask"
script = ExtResource( 5 )
task_text = ""
ui_resource = SubResource( 13 )
ui_resource = SubResource( 2 )
outputs/toggle_map_interactions = false

[resource]
resource_local_to_scene = true
resource_name = "Interact"
script = ExtResource( 3 )
interact_type = 0
task_resource = SubResource( 14 )
task_resource = SubResource( 3 )
ui_resource = ExtResource( 2 )
map_resource = SubResource( 1 )
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[ext_resource path="res://addons/opensusinteraction/resources/interacttask/interacttask.gd" type="Script" id=1]
[ext_resource path="res://addons/opensusinteraction/resources/interactui/interactui.gd" type="Script" id=2]

[sub_resource type="Resource" id=13]
[sub_resource type="Resource" id=1]
resource_local_to_scene = true
resource_name = "InteractUI"
script = ExtResource( 2 )
Expand All @@ -18,5 +18,5 @@ resource_local_to_scene = true
resource_name = "InteractTask"
script = ExtResource( 1 )
task_text = ""
ui_resource = SubResource( 13 )
ui_resource = SubResource( 1 )
outputs/toggle_map_interactions = false
81 changes: 38 additions & 43 deletions src/assets/maps/test/test.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
[ext_resource path="res://addons/opensusinteraction/resources/interactmap/interactmap.gd" type="Script" id=10]
[ext_resource path="res://addons/opensusinteraction/resources/interactui/interactui.gd" type="Script" id=11]

[sub_resource type="Resource" id=18]
[sub_resource type="Resource" id=1]
resource_local_to_scene = true
resource_name = "InteractMap"
script = ExtResource( 10 )
Expand All @@ -21,7 +21,7 @@ interact_data = {

}

[sub_resource type="Resource" id=19]
[sub_resource type="Resource" id=2]
resource_local_to_scene = true
resource_name = "InteractUI"
script = ExtResource( 11 )
Expand All @@ -31,15 +31,15 @@ ui_data = {
}
advanced/reinstance = false

[sub_resource type="Resource" id=20]
[sub_resource type="Resource" id=3]
resource_local_to_scene = true
resource_name = "InteractTask"
script = ExtResource( 8 )
task_text = ""
ui_resource = SubResource( 19 )
ui_resource = SubResource( 2 )
outputs/toggle_map_interactions = false

[sub_resource type="Resource" id=21]
[sub_resource type="Resource" id=4]
resource_local_to_scene = true
resource_name = "InteractUI"
script = ExtResource( 11 )
Expand All @@ -49,16 +49,16 @@ ui_data = {
}
advanced/reinstance = false

[sub_resource type="Resource" id=22]
[sub_resource type="Resource" id=5]
resource_local_to_scene = true
resource_name = "Interact"
script = ExtResource( 9 )
interact_type = 2
task_resource = SubResource( 20 )
ui_resource = SubResource( 21 )
map_resource = SubResource( 18 )
task_resource = SubResource( 3 )
ui_resource = SubResource( 4 )
map_resource = SubResource( 1 )

[sub_resource type="Resource" id=23]
[sub_resource type="Resource" id=6]
resource_local_to_scene = true
resource_name = "InteractMap"
script = ExtResource( 10 )
Expand All @@ -67,7 +67,7 @@ interact_data = {

}

[sub_resource type="Resource" id=24]
[sub_resource type="Resource" id=7]
resource_local_to_scene = true
resource_name = "InteractUI"
script = ExtResource( 11 )
Expand All @@ -77,15 +77,15 @@ ui_data = {
}
advanced/reinstance = false

[sub_resource type="Resource" id=25]
[sub_resource type="Resource" id=8]
resource_local_to_scene = true
resource_name = "InteractTask"
script = ExtResource( 8 )
task_text = ""
ui_resource = SubResource( 24 )
ui_resource = SubResource( 7 )
outputs/toggle_map_interactions = false

[sub_resource type="Resource" id=26]
[sub_resource type="Resource" id=9]
resource_local_to_scene = true
resource_name = "InteractUI"
script = ExtResource( 11 )
Expand All @@ -95,25 +95,24 @@ ui_data = {
}
advanced/reinstance = false

[sub_resource type="Resource" id=27]
[sub_resource type="Resource" id=10]
resource_local_to_scene = true
resource_name = "Interact"
script = ExtResource( 9 )
interact_type = 2
task_resource = SubResource( 25 )
ui_resource = SubResource( 26 )
map_resource = SubResource( 23 )
task_resource = SubResource( 8 )
ui_resource = SubResource( 9 )
map_resource = SubResource( 6 )

[sub_resource type="Resource" id=7]
[sub_resource type="Resource" id=11]
resource_local_to_scene = true
resource_name = "InteractMap"
script = ExtResource( 10 )
interact_with = NodePath("")
interact_data = {

}

[sub_resource type="Resource" id=13]
[sub_resource type="Resource" id=12]
resource_local_to_scene = true
resource_name = "InteractUI"
script = ExtResource( 11 )
Expand All @@ -123,36 +122,33 @@ ui_data = {
}
advanced/reinstance = false

[sub_resource type="Resource" id=16]
[sub_resource type="Resource" id=13]
resource_local_to_scene = true
resource_name = "InteractTask"
script = ExtResource( 8 )
task_text = ""
ui_resource = SubResource( 13 )
ui_resource = SubResource( 12 )
outputs/toggle_map_interactions = false

[sub_resource type="Resource" id=8]
[sub_resource type="Resource" id=14]
resource_local_to_scene = true
resource_name = "InteractUI"
script = ExtResource( 11 )
ui_name = "chatbox"
ui_data = {

}
advanced/reinstance = false

[sub_resource type="Resource" id=9]
[sub_resource type="Resource" id=15]
resource_local_to_scene = true
resource_name = "Interact"
script = ExtResource( 9 )
interact_type = 1
task_resource = SubResource( 16 )
ui_resource = SubResource( 8 )
map_resource = SubResource( 7 )
task_resource = SubResource( 13 )
ui_resource = SubResource( 14 )
map_resource = SubResource( 11 )

[sub_resource type="Resource" id=10]
[sub_resource type="Resource" id=16]
resource_local_to_scene = true
resource_name = "InteractMap"
script = ExtResource( 10 )
interact_with = NodePath("")
interact_data = {
Expand All @@ -164,27 +160,25 @@ resource_local_to_scene = true
resource_name = "InteractTask"
script = ExtResource( 8 )
task_text = ""
ui_resource = SubResource( 13 )
ui_resource = SubResource( 12 )
outputs/toggle_map_interactions = false

[sub_resource type="Resource" id=11]
[sub_resource type="Resource" id=18]
resource_local_to_scene = true
resource_name = "InteractUI"
script = ExtResource( 11 )
ui_name = ""
ui_data = {

}
advanced/reinstance = false

[sub_resource type="Resource" id=12]
[sub_resource type="Resource" id=19]
resource_local_to_scene = true
resource_name = "Interact"
script = ExtResource( 9 )
interact_type = 0
task_resource = SubResource( 17 )
ui_resource = SubResource( 11 )
map_resource = SubResource( 10 )
ui_resource = SubResource( 18 )
map_resource = SubResource( 16 )

[node name="test" type="YSort"]

Expand Down Expand Up @@ -214,11 +208,12 @@ scale = Vector2( 1.5, 3 )
[node name="standbutton" parent="." instance=ExtResource( 3 )]
position = Vector2( 0, -200 )
scale = Vector2( 3, 6 )
interact_resource = SubResource( 22 )
interact_resource = SubResource( 5 )
interact_on_exit = true

[node name="standbutton2" parent="." instance=ExtResource( 3 )]
position = Vector2( 0, -350 )
interact_resource = SubResource( 27 )
interact_resource = SubResource( 10 )
only_main_player = true

[node name="clocktext2" type="Label" parent="standbutton2"]
Expand Down Expand Up @@ -247,7 +242,7 @@ __meta__ = {

[node name="interactpoint" parent="." instance=ExtResource( 5 )]
position = Vector2( -450, 0 )
interact_resource = SubResource( 9 )
interact_resource = SubResource( 15 )
display_text = "Interact chat"

[node name="Polygon2D" type="Polygon2D" parent="interactpoint"]
Expand Down Expand Up @@ -281,7 +276,7 @@ __meta__ = {

[node name="tasktest" parent="." instance=ExtResource( 5 )]
position = Vector2( 450, 0 )
interact_resource = SubResource( 12 )
interact_resource = SubResource( 19 )
display_text = "task test"

[node name="spawnpoints" type="Node2D" parent="."]
Expand Down

0 comments on commit 383a38a

Please sign in to comment.