diff --git a/gymkhana/rooms/trasera_cocina/trasera_cocina.tscn b/gymkhana/rooms/trasera_cocina/trasera_cocina.tscn index f1788c3f..898e7fa2 100644 --- a/gymkhana/rooms/trasera_cocina/trasera_cocina.tscn +++ b/gymkhana/rooms/trasera_cocina/trasera_cocina.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=9 format=2] +[gd_scene load_steps=10 format=2] [ext_resource path="res://addons/escoria-core/game/core-scripts/esc_room.gd" type="Script" id=1] [ext_resource path="res://addons/escoria-core/game/core-scripts/esc_background.gd" type="Script" id=2] @@ -7,6 +7,7 @@ [ext_resource path="res://gymkhana/rooms/trasera_cocina/assets/height-map-full-1500x577-test3.jpg" type="Texture" id=5] [ext_resource path="res://gymkhana/rooms/trasera_cocina/assets/background trasera cocina-1500x577.jpg" type="Texture" id=6] [ext_resource path="res://game/characters/mark/mark.tscn" type="PackedScene" id=7] +[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_item.gd" type="Script" id=8] [sub_resource type="NavigationPolygon" id=1] vertices = PoolVector2Array( 1318, 435, 1394, 422, 1388, 546, 1249, 454, 464, 432, 186, 527, 155, 425, 259, 395, 354, 391, 442, 395, 506, 457, 1133, 474, 981, 480, 864, 482, 846, 467, 725, 472, 749, 460, 794, 462, 584, 468 ) @@ -18,25 +19,25 @@ script = ExtResource( 1 ) global_id = "trasera_cocina" esc_script = "res://gymkhana/rooms/trasera_cocina/esc/trasera_cocina.esc" player_scene = ExtResource( 7 ) -camera_limits = [ Rect2( 0, 0, 3122, 1200 ) ] +camera_limits = [ Rect2( 0, 0, 1500, 577 ) ] editor_debug_mode = 1 [node name="ESCBackground" type="TextureRect" parent="."] -margin_right = 40.0 -margin_bottom = 40.0 +margin_left = 17.0 +margin_top = 4.0 +margin_right = 1517.0 +margin_bottom = 581.0 mouse_filter = 2 texture = ExtResource( 6 ) script = ExtResource( 2 ) [node name="ESCTerrain" type="Navigation2D" parent="."] -visible = false script = ExtResource( 4 ) scales = ExtResource( 5 ) scale_min = 0.5 scale_max = 0.8 [node name="NavigationPolygonInstance" type="NavigationPolygonInstance" parent="ESCTerrain"] -visible = false navpoly = SubResource( 1 ) [node name="ESCLocation" type="Position2D" parent="."] @@ -44,3 +45,13 @@ position = Vector2( 783, 480 ) script = ExtResource( 3 ) global_id = "trasera_cocina_start" is_start_location = true + +[node name="Hotspots" type="Node2D" parent="."] + +[node name="ESCItem" type="Area2D" parent="Hotspots"] +pause_mode = 1 +visible = false +script = ExtResource( 8 ) +combine_when_selected_action_is_in = [ ] +dialog_color = Color( 1, 1, 1, 1 ) +animations = null