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:
Julian Murgia
2021-08-08 12:10:46 +02:00
committed by GitHub
parent c711db5d3c
commit cbb64df969
19 changed files with 111 additions and 24 deletions

View File

@@ -95,6 +95,7 @@ esc_script = "res://game/rooms/room05/esc/left_exit.esc"
is_exit = true
tooltip_name = "Left exit"
dialog_color = Color( 1, 1, 1, 1 )
animations = null
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Hotspots/l_door"]
polygon = PoolVector2Array( 0.328762, 440.897, 1.85199, 119.926, 85.9517, 74.6212, 87.1409, 377.869 )
@@ -111,6 +112,7 @@ esc_script = "res://game/rooms/room05/esc/right_exit.esc"
is_exit = true
tooltip_name = "Right exit"
dialog_color = Color( 1, 1, 1, 1 )
animations = null
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Hotspots/r_door"]
polygon = PoolVector2Array( 1177.94, 348.61, 1175.95, 45.3759, 1276.06, 92.0953, 1277.95, 399.407 )
@@ -125,6 +127,7 @@ global_id = "r5_wall_item"
esc_script = "res://game/rooms/room05/esc/wall_item.esc"
tooltip_name = "Item on the wall"
default_action = "look"
animations = null
[node name="Position2D" type="Position2D" parent="Hotspots/item_wall"]
position = Vector2( 620.135, 613.652 )
@@ -136,6 +139,7 @@ __meta__ = {
[node name="wrench" parent="Hotspots" instance=ExtResource( 8 )]
position = Vector2( 257.269, 435.892 )
interaction_direction = 2
animations = null
[node name="Position2D" type="Position2D" parent="Hotspots/wrench"]
position = Vector2( -77.4207, 0 )
@@ -143,10 +147,14 @@ script = ExtResource( 11 )
[node name="pen" parent="Hotspots" instance=ExtResource( 10 )]
position = Vector2( 909.908, 443.451 )
animations = null
[node name="empty_sheet" parent="Hotspots" instance=ExtResource( 9 )]
position = Vector2( 1059.84, 440.932 )
animations = null
[node name="player_start" type="Position2D" parent="."]
position = Vector2( 76.7617, 437.649 )
script = ExtResource( 11 )
global_id = "r5_player_start"
is_start_location = true