Removed hardcoded global_id "player" (#359)
* Removed hardcoded global_id "player" Removed hardcoded node name "start_position" * docs: Automatic update of API docs Co-authored-by: StraToN <StraToN@users.noreply.github.com>
This commit is contained in:
@@ -144,6 +144,7 @@ esc_script = "res://game/rooms/room07/esc/left_exit.esc"
|
||||
is_exit = true
|
||||
tooltip_name = "Exit"
|
||||
dialog_color = Color( 1, 1, 1, 1 )
|
||||
animations = null
|
||||
|
||||
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Hotspots/l_exit"]
|
||||
polygon = PoolVector2Array( 0.328762, 440.897, 1.85199, 119.926, 85.9517, 74.6212, 87.1409, 377.869 )
|
||||
@@ -164,6 +165,7 @@ is_exit = true
|
||||
interaction_direction = 1
|
||||
tooltip_name = "Exit"
|
||||
dialog_color = Color( 1, 1, 1, 1 )
|
||||
animations = null
|
||||
|
||||
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Hotspots/r_exit"]
|
||||
polygon = PoolVector2Array( 1982.34, 349.116, 1980.1, 46.0513, 2081.12, 86.4599, 2075, 394 )
|
||||
@@ -180,6 +182,7 @@ position = Vector2( 358.099, -1195.07 )
|
||||
script = ExtResource( 7 )
|
||||
global_id = "r7_object_1"
|
||||
dialog_color = Color( 1, 1, 1, 1 )
|
||||
animations = null
|
||||
|
||||
[node name="Line2D" type="Line2D" parent="Hotspots/object_1"]
|
||||
position = Vector2( 0, 1345.52 )
|
||||
@@ -197,6 +200,7 @@ __meta__ = {
|
||||
}
|
||||
global_id = "r7_object2"
|
||||
dialog_color = Color( 1, 1, 1, 1 )
|
||||
animations = null
|
||||
|
||||
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Hotspots/object2"]
|
||||
polygon = PoolVector2Array( -112.101, 14.6226, -103.122, 288.503, 130.35, 286.258, 125.861, 16.8675 )
|
||||
@@ -214,6 +218,7 @@ global_id = "r7_lower_stairs"
|
||||
esc_script = "res://game/rooms/room07/esc/lower_stairs.esc"
|
||||
is_exit = true
|
||||
dialog_color = Color( 1, 1, 1, 1 )
|
||||
animations = null
|
||||
|
||||
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Hotspots/lower_stairs"]
|
||||
polygon = PoolVector2Array( 831.375, 344.577, 829.788, 19.1602, 1058.37, 19.1602, 1052.02, 347.752 )
|
||||
@@ -230,6 +235,7 @@ esc_script = "res://game/rooms/room07/esc/upper_stairs.esc"
|
||||
is_exit = true
|
||||
tooltip_name = "Stairs"
|
||||
dialog_color = Color( 1, 1, 1, 1 )
|
||||
animations = null
|
||||
|
||||
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Hotspots/upper_stairs"]
|
||||
position = Vector2( -1334.92, 936.565 )
|
||||
@@ -243,6 +249,7 @@ script = ExtResource( 8 )
|
||||
position = Vector2( -167.43, 1463.23 )
|
||||
global_id = "r7_button_push"
|
||||
esc_script = "res://game/rooms/room07/esc/button_push.esc"
|
||||
animations = null
|
||||
|
||||
[node name="Position2D" type="Position2D" parent="Hotspots/button_camera_push"]
|
||||
position = Vector2( 343.048, 300.613 )
|
||||
@@ -266,6 +273,7 @@ __meta__ = {
|
||||
position = Vector2( 9.393, 1464.03 )
|
||||
global_id = "r7_button_shift"
|
||||
esc_script = "res://game/rooms/room07/esc/button_shift.esc"
|
||||
animations = null
|
||||
|
||||
[node name="Position2D" type="Position2D" parent="Hotspots/button_camera_shift"]
|
||||
position = Vector2( 350.258, 301.616 )
|
||||
@@ -286,6 +294,7 @@ __meta__ = {
|
||||
position = Vector2( 172.527, 1464.03 )
|
||||
global_id = "r7_button_follow"
|
||||
esc_script = "res://game/rooms/room07/esc/button_follow.esc"
|
||||
animations = null
|
||||
|
||||
[node name="Position2D" type="Position2D" parent="Hotspots/button_camera_follow"]
|
||||
position = Vector2( 350.258, 301.616 )
|
||||
@@ -306,6 +315,7 @@ __meta__ = {
|
||||
position = Vector2( 332.527, 1464.03 )
|
||||
global_id = "r7_button_zoom"
|
||||
esc_script = "res://game/rooms/room07/esc/button_zoom.esc"
|
||||
animations = null
|
||||
|
||||
[node name="Position2D" type="Position2D" parent="Hotspots/button_camera_zoom"]
|
||||
position = Vector2( 350.258, 301.616 )
|
||||
@@ -326,6 +336,7 @@ __meta__ = {
|
||||
position = Vector2( 910.482, 1464.03 )
|
||||
global_id = "r7_button_set_pos"
|
||||
esc_script = "res://game/rooms/room07/esc/button_set_pos.esc"
|
||||
animations = null
|
||||
|
||||
[node name="Position2D" type="Position2D" parent="Hotspots/button_camera_set_pos"]
|
||||
position = Vector2( 350.258, 301.616 )
|
||||
@@ -351,6 +362,7 @@ is_trigger = true
|
||||
is_interactive = false
|
||||
player_orients_on_arrival = false
|
||||
dialog_color = Color( 1, 1, 1, 1 )
|
||||
animations = null
|
||||
|
||||
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Hotspots/trigger_left"]
|
||||
polygon = PoolVector2Array( 724.356, 1944.36, 716.865, 1752.57, 800.77, 1752.57, 814.254, 1942.86 )
|
||||
@@ -380,6 +392,7 @@ is_trigger = true
|
||||
is_interactive = false
|
||||
player_orients_on_arrival = false
|
||||
dialog_color = Color( 1, 1, 1, 1 )
|
||||
animations = null
|
||||
|
||||
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Hotspots/trigger_right"]
|
||||
position = Vector2( 372.68, 4.12805 )
|
||||
@@ -407,6 +420,7 @@ script = ExtResource( 7 )
|
||||
global_id = "r7_light_left"
|
||||
is_interactive = false
|
||||
dialog_color = Color( 1, 1, 1, 1 )
|
||||
animations = null
|
||||
|
||||
[node name="Polygon2D" type="Polygon2D" parent="Hotspots/light_left"]
|
||||
color = Color( 0.0313726, 0.996078, 0, 1 )
|
||||
@@ -426,6 +440,7 @@ script = ExtResource( 7 )
|
||||
global_id = "r7_light_right"
|
||||
is_interactive = false
|
||||
dialog_color = Color( 1, 1, 1, 1 )
|
||||
animations = null
|
||||
|
||||
[node name="Polygon2D" type="Polygon2D" parent="Hotspots/light_right"]
|
||||
color = Color( 1, 0, 0, 1 )
|
||||
@@ -442,3 +457,5 @@ anims/red = SubResource( 8 )
|
||||
[node name="player_start" type="Position2D" parent="."]
|
||||
position = Vector2( 76.7617, 1847.24 )
|
||||
script = ExtResource( 8 )
|
||||
global_id = "r7_player_start"
|
||||
is_start_location = true
|
||||
|
||||
Reference in New Issue
Block a user