diff --git a/Resources/bathrooms.tres b/Resources/bathrooms.tres new file mode 100644 index 0000000..55a56e1 --- /dev/null +++ b/Resources/bathrooms.tres @@ -0,0 +1,283 @@ +[gd_resource type="TileSet" load_steps=13 format=2] + +[ext_resource path="res://Tiles/blue-room.png" type="Texture" id=1] + +[sub_resource type="ConvexPolygonShape2D" id=1] +points = PoolVector2Array( 60, 60, 0, 60, 0, 0, 60, 0 ) + +[sub_resource type="ConvexPolygonShape2D" id=2] +points = PoolVector2Array( 60, 60, 0, 60, 0, 0, 60, 0 ) + +[sub_resource type="ConvexPolygonShape2D" id=3] +points = PoolVector2Array( 60, 60, 0, 60, 0, 54, 60, 54 ) + +[sub_resource type="ConvexPolygonShape2D" id=4] +points = PoolVector2Array( 51, 54, 51, 0, 60, 0, 60, 60, 0, 60, 0, 54 ) + +[sub_resource type="ConvexPolygonShape2D" id=5] +points = PoolVector2Array( 60, 60, 0, 60, 0, 0, 60, 0 ) + +[sub_resource type="ConvexPolygonShape2D" id=6] +points = PoolVector2Array( 0, 0, 60, 0, 60, 42, 9, 42, 9, 60, 0, 60 ) + +[sub_resource type="ConvexPolygonShape2D" id=7] +points = PoolVector2Array( 0, 0, 60, 0, 60, 42, 0, 42 ) + +[sub_resource type="ConvexPolygonShape2D" id=8] +points = PoolVector2Array( 0, 0, 60, 0, 60, 60, 51, 60, 51, 42, 0, 42 ) + +[sub_resource type="ConvexPolygonShape2D" id=9] +points = PoolVector2Array( 9, 60, 0, 60, 0, 0, 9, 0 ) + +[sub_resource type="ConvexPolygonShape2D" id=10] +points = PoolVector2Array( 51, 0, 60, 0, 60, 60, 51, 60 ) + +[sub_resource type="ConvexPolygonShape2D" id=11] +points = PoolVector2Array( 9, 0, 9, 54, 60, 54, 60, 60, 0, 60, 0, 0 ) + +[resource] +0/name = "Blue-room" +0/texture = ExtResource( 1 ) +0/tex_offset = Vector2( 0, 0 ) +0/modulate = Color( 1, 1, 1, 1 ) +0/region = Rect2( 0, 0, 60, 60 ) +0/tile_mode = 0 +0/occluder_offset = Vector2( 90, 120 ) +0/navigation_offset = Vector2( 90, 120 ) +0/shape_offset = Vector2( 0, 0 ) +0/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 ) +0/shape = SubResource( 1 ) +0/shape_one_way = false +0/shape_one_way_margin = 1.0 +0/shapes = [ { +"autotile_coord": Vector2( 0, 0 ), +"one_way": false, +"one_way_margin": 1.0, +"shape": SubResource( 1 ), +"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) +} ] +0/z_index = 0 +1/name = "blue-room.png 1" +1/texture = ExtResource( 1 ) +1/tex_offset = Vector2( 0, 0 ) +1/modulate = Color( 1, 1, 1, 1 ) +1/region = Rect2( 60, 0, 60, 60 ) +1/tile_mode = 0 +1/occluder_offset = Vector2( 0, 0 ) +1/navigation_offset = Vector2( 0, 0 ) +1/shape_offset = Vector2( 0, 0 ) +1/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 ) +1/shape = SubResource( 2 ) +1/shape_one_way = false +1/shape_one_way_margin = 1.0 +1/shapes = [ { +"autotile_coord": Vector2( 0, 0 ), +"one_way": false, +"one_way_margin": 1.0, +"shape": SubResource( 2 ), +"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) +} ] +1/z_index = 0 +2/name = "blue-room.png 2" +2/texture = ExtResource( 1 ) +2/tex_offset = Vector2( 0, 0 ) +2/modulate = Color( 1, 1, 1, 1 ) +2/region = Rect2( 120, 0, 60, 60 ) +2/tile_mode = 0 +2/occluder_offset = Vector2( 0, 0 ) +2/navigation_offset = Vector2( 0, 0 ) +2/shape_offset = Vector2( 0, 0 ) +2/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 ) +2/shape = SubResource( 5 ) +2/shape_one_way = false +2/shape_one_way_margin = 1.0 +2/shapes = [ { +"autotile_coord": Vector2( 0, 0 ), +"one_way": false, +"one_way_margin": 1.0, +"shape": SubResource( 5 ), +"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) +} ] +2/z_index = 0 +3/name = "blue-room.png 3" +3/texture = ExtResource( 1 ) +3/tex_offset = Vector2( 0, 0 ) +3/modulate = Color( 1, 1, 1, 1 ) +3/region = Rect2( 0, 60, 60, 60 ) +3/tile_mode = 0 +3/occluder_offset = Vector2( 0, 0 ) +3/navigation_offset = Vector2( 0, 0 ) +3/shape_offset = Vector2( 0, 0 ) +3/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 ) +3/shape = SubResource( 6 ) +3/shape_one_way = false +3/shape_one_way_margin = 1.0 +3/shapes = [ { +"autotile_coord": Vector2( 0, 0 ), +"one_way": false, +"one_way_margin": 1.0, +"shape": SubResource( 6 ), +"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) +} ] +3/z_index = 0 +4/name = "blue-room.png 4" +4/texture = ExtResource( 1 ) +4/tex_offset = Vector2( 0, 0 ) +4/modulate = Color( 1, 1, 1, 1 ) +4/region = Rect2( 60, 60, 60, 60 ) +4/tile_mode = 0 +4/occluder_offset = Vector2( 0, 0 ) +4/navigation_offset = Vector2( 0, 0 ) +4/shape_offset = Vector2( 0, 0 ) +4/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 ) +4/shape = SubResource( 7 ) +4/shape_one_way = false +4/shape_one_way_margin = 1.0 +4/shapes = [ { +"autotile_coord": Vector2( 0, 0 ), +"one_way": false, +"one_way_margin": 1.0, +"shape": SubResource( 7 ), +"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) +} ] +4/z_index = 0 +5/name = "blue-room.png 5" +5/texture = ExtResource( 1 ) +5/tex_offset = Vector2( 0, 0 ) +5/modulate = Color( 1, 1, 1, 1 ) +5/region = Rect2( 120, 60, 60, 60 ) +5/tile_mode = 0 +5/occluder_offset = Vector2( 0, 0 ) +5/navigation_offset = Vector2( 0, 0 ) +5/shape_offset = Vector2( 0, 0 ) +5/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 ) +5/shape = SubResource( 8 ) +5/shape_one_way = false +5/shape_one_way_margin = 1.0 +5/shapes = [ { +"autotile_coord": Vector2( 0, 0 ), +"one_way": false, +"one_way_margin": 1.0, +"shape": SubResource( 8 ), +"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) +} ] +5/z_index = 0 +6/name = "blue-room.png 6" +6/texture = ExtResource( 1 ) +6/tex_offset = Vector2( 0, 0 ) +6/modulate = Color( 1, 1, 1, 1 ) +6/region = Rect2( 0, 120, 60, 60 ) +6/tile_mode = 0 +6/occluder_offset = Vector2( 0, 0 ) +6/navigation_offset = Vector2( 0, 0 ) +6/shape_offset = Vector2( 0, 0 ) +6/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 ) +6/shape = SubResource( 9 ) +6/shape_one_way = false +6/shape_one_way_margin = 1.0 +6/shapes = [ { +"autotile_coord": Vector2( 0, 0 ), +"one_way": false, +"one_way_margin": 1.0, +"shape": SubResource( 9 ), +"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) +} ] +6/z_index = 0 +7/name = "blue-room.png 7" +7/texture = ExtResource( 1 ) +7/tex_offset = Vector2( 0, 0 ) +7/modulate = Color( 1, 1, 1, 1 ) +7/region = Rect2( 60, 120, 60, 60 ) +7/tile_mode = 0 +7/occluder_offset = Vector2( 0, 0 ) +7/navigation_offset = Vector2( 0, 0 ) +7/shape_offset = Vector2( 0, 0 ) +7/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 ) +7/shape_one_way = false +7/shape_one_way_margin = 0.0 +7/shapes = [ ] +7/z_index = 0 +8/name = "blue-room.png 8" +8/texture = ExtResource( 1 ) +8/tex_offset = Vector2( 0, 0 ) +8/modulate = Color( 1, 1, 1, 1 ) +8/region = Rect2( 120, 120, 60, 60 ) +8/tile_mode = 0 +8/occluder_offset = Vector2( 0, 0 ) +8/navigation_offset = Vector2( 0, 0 ) +8/shape_offset = Vector2( 0, 0 ) +8/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 ) +8/shape = SubResource( 10 ) +8/shape_one_way = false +8/shape_one_way_margin = 1.0 +8/shapes = [ { +"autotile_coord": Vector2( 0, 0 ), +"one_way": false, +"one_way_margin": 1.0, +"shape": SubResource( 10 ), +"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) +} ] +8/z_index = 0 +9/name = "blue-room.png 9" +9/texture = ExtResource( 1 ) +9/tex_offset = Vector2( 0, 0 ) +9/modulate = Color( 1, 1, 1, 1 ) +9/region = Rect2( 0, 180, 60, 60 ) +9/tile_mode = 0 +9/occluder_offset = Vector2( 0, 0 ) +9/navigation_offset = Vector2( 0, 0 ) +9/shape_offset = Vector2( 0, 0 ) +9/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 ) +9/shape = SubResource( 11 ) +9/shape_one_way = false +9/shape_one_way_margin = 1.0 +9/shapes = [ { +"autotile_coord": Vector2( 0, 0 ), +"one_way": false, +"one_way_margin": 1.0, +"shape": SubResource( 11 ), +"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) +} ] +9/z_index = 0 +10/name = "blue-room.png 10" +10/texture = ExtResource( 1 ) +10/tex_offset = Vector2( 0, 0 ) +10/modulate = Color( 1, 1, 1, 1 ) +10/region = Rect2( 60, 180, 60, 60 ) +10/tile_mode = 0 +10/occluder_offset = Vector2( 0, 0 ) +10/navigation_offset = Vector2( 0, 0 ) +10/shape_offset = Vector2( 0, 0 ) +10/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 ) +10/shape = SubResource( 3 ) +10/shape_one_way = false +10/shape_one_way_margin = 1.0 +10/shapes = [ { +"autotile_coord": Vector2( 0, 0 ), +"one_way": false, +"one_way_margin": 1.0, +"shape": SubResource( 3 ), +"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) +} ] +10/z_index = 0 +11/name = "blue-room.png 11" +11/texture = ExtResource( 1 ) +11/tex_offset = Vector2( 0, 0 ) +11/modulate = Color( 1, 1, 1, 1 ) +11/region = Rect2( 120, 180, 60, 60 ) +11/tile_mode = 0 +11/occluder_offset = Vector2( 0, 0 ) +11/navigation_offset = Vector2( 0, 0 ) +11/shape_offset = Vector2( 0, 0 ) +11/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 ) +11/shape = SubResource( 4 ) +11/shape_one_way = false +11/shape_one_way_margin = 1.0 +11/shapes = [ { +"autotile_coord": Vector2( 0, 0 ), +"one_way": false, +"one_way_margin": 1.0, +"shape": SubResource( 4 ), +"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) +} ] +11/z_index = 0 diff --git a/Scripts/CoverControl.gd b/Scripts/CoverControl.gd index 404da4f..2aeeb52 100644 --- a/Scripts/CoverControl.gd +++ b/Scripts/CoverControl.gd @@ -1,11 +1,17 @@ extends Node2D onready var player = get_node("../Player") onready var covers = get_node("../Covers") -onready var furniture = get_node("../Furniture") +onready var furniture = get_node("../Rooms") # Declare member variables here. Examples: -var areamap = {'living':[0], 'bedtop':[1,2], 'bedtopmid':[2,3], 'bedbotmid':[3,4], 'bedbot':[4,5]} +var areamap = {'living':[0], +'bedtop':[1,2], +'bedtopmid':[2,3], +'bedbotmid':[3,4], +'bedbot':[4,5], +'bathtop':[6], +'bathbot':[7]} func hide_cover(xs): for x in xs: @@ -87,3 +93,22 @@ func _on_BedBot_body_exited(body): show_cover(areamap['bedbot']) furniture.get_node("BedBot").hide() + +func _on_BathTop_body_entered(body): + if body == player: + hide_cover(areamap['bathtop']) + + +func _on_BathTop_body_exited(body): + if body == player: + show_cover(areamap['bathtop']) + + +func _on_BathBot_body_entered(body): + if body == player: + hide_cover(areamap['bathbot']) + + +func _on_BathBot_body_exited(body): + if body == player: + show_cover(areamap['bathbot']) diff --git a/Story/Ch1S2.tscn b/Story/Ch1S2.tscn index c00212b..ec0cb7b 100644 --- a/Story/Ch1S2.tscn +++ b/Story/Ch1S2.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=25 format=2] +[gd_scene load_steps=27 format=2] [ext_resource path="res://Resources/lodge.tres" type="TileSet" id=1] [ext_resource path="res://Sprites/sak/Sak.tscn" type="PackedScene" id=2] @@ -23,6 +23,7 @@ [ext_resource path="res://Sprites/bong/jorts-2.png" type="Texture" id=21] [ext_resource path="res://Scripts/AnimateJorts.gd" type="Script" id=22] [ext_resource path="res://Sprites/bong/jorts-3.png" type="Texture" id=23] +[ext_resource path="res://Resources/bathrooms.tres" type="TileSet" id=24] [sub_resource type="SpriteFrames" id=1] animations = [ { @@ -32,6 +33,9 @@ animations = [ { "speed": 4.0 } ] +[sub_resource type="RectangleShape2D" id=2] +extents = Vector2( 103.5, 156 ) + [node name="Ch1S2" type="Node2D"] [node name="AudioStreamPlayer2D" type="AudioStreamPlayer2D" parent="."] @@ -75,7 +79,7 @@ tile_set = ExtResource( 1 ) cell_size = Vector2( 60, 60 ) cell_quadrant_size = 15 format = 1 -tile_data = PoolIntArray( -262165, 61, 0, -262161, 61, 0, -262157, 61, 0, -262153, 61, 0, -262149, 61, 0, -262145, 61, 0, -327677, 61, 0, -327673, 61, 0, -327669, 61, 0, -327665, 61, 0, -327661, 61, 0, -327657, 61, 0, -327653, 61, 0, -327649, 61, 0, -196617, 61, 0, -21, 61, 0, -17, 61, 0, -13, 60, 0, -11, 60, 0, -9, 68, 0, -5, 31, 0, -4, 4, 0, -2, 5, 0, -1, 31, 0, -65536, 4, 0, -65534, 4, 0, -65532, 4, 0, -65530, 4, 0, -65528, 4, 0, -65526, 4, 0, -65524, 4, 0, -65522, 5, 0, -65521, 31, 0, -65520, 4, 0, -65518, 1, 0, -65517, 536870980, 0, -65513, 61, 0, -65509, 61, 0, -65505, 61, 0, 65527, 68, 0, 65531, 31, 0, 65532, 4, 0, 65534, 5, 0, 65535, 15, 0, 0, 16, 0, 2, 16, 0, 4, 16, 0, 6, 17, 0, 7, 31, 0, 8, 5, 0, 9, 5, 0, 10, 5, 0, 11, 5, 0, 12, 5, 0, 13, 5, 0, 14, 5, 0, 15, 31, 0, 16, 4, 0, 18, 1, 0, 19, 536870980, 0, 131063, 66, 0, 131067, 31, 0, 131068, 4, 0, 131070, 5, 0, 131071, 18, 0, 65536, 19, 0, 65538, 19, 0, 65540, 19, 0, 65542, 20, 0, 65543, 31, 0, 65544, 5, 0, 65545, 5, 0, 65546, 5, 0, 65547, 5, 0, 65548, 5, 0, 65549, 5, 0, 65550, 5, 0, 65551, 31, 0, 65552, 4, 0, 65554, 1, 0, 65555, 536870978, 0, 196603, 6, 0, 196604, 51, 0, 196606, 8, 0, 196607, 21, 0, 131072, 22, 0, 131074, 22, 0, 131076, 22, 0, 131078, 23, 0, 131079, 6, 0, 131080, 51, 0, 131082, 51, 0, 131084, 51, 0, 131086, 8, 0, 131087, 6, 0, 131088, 51, 0, 131090, 8, 0, 262123, 61, 0, 262127, 61, 0, 262131, 61, 0, 262133, 61, 0, 262135, 63, 0, 262139, 24, 0, 262140, 25, 0, 262142, 25, 0, 196608, 25, 0, 196610, 25, 0, 196612, 25, 0, 196614, 25, 0, 196616, 25, 0, 196618, 25, 0, 196620, 25, 0, 196622, 25, 0, 196624, 25, 0, 196626, 26, 0, 196627, 63, 0, 196631, 61, 0, 196635, 61, 0, 196639, 61, 0, 327671, 63, 0, 327675, 24, 0, 327676, 25, 0, 327678, 25, 0, 262144, 25, 0, 262146, 25, 0, 262148, 25, 0, 262150, 25, 0, 262152, 25, 0, 262154, 25, 0, 262156, 25, 0, 262158, 25, 0, 262160, 25, 0, 262162, 26, 0, 262163, 63, 0, 393207, 24, 0, 393208, 25, 0, 393210, 25, 0, 393212, 25, 0, 393214, 25, 0, 327680, 25, 0, 327682, 25, 0, 327684, 25, 0, 327686, 25, 0, 327688, 25, 0, 327690, 25, 0, 327692, 25, 0, 327694, 25, 0, 327696, 25, 0, 327698, 25, 0, 327700, 25, 0, 327702, 26, 0, 458741, 61, 0, 458743, 64, 0, 458747, 24, 0, 458748, 25, 0, 458750, 25, 0, 393216, 25, 0, 393218, 25, 0, 393220, 25, 0, 393222, 25, 0, 393224, 25, 0, 393226, 25, 0, 393228, 25, 0, 393230, 25, 0, 393232, 25, 0, 393234, 26, 0, 393235, 64, 0, 524267, 61, 0, 524271, 61, 0, 524275, 61, 0, 524277, 61, 0, 524279, 63, 0, 524283, 24, 0, 524284, 25, 0, 524286, 56, 0, 524287, 55, 0, 458752, 54, 0, 458753, 55, 0, 458754, 28, 0, 458756, 28, 0, 458758, 28, 0, 458760, 28, 0, 458762, 28, 0, 458764, 28, 0, 458766, 54, 0, 458767, 57, 0, 458768, 25, 0, 458770, 26, 0, 458771, 63, 0, 458775, 61, 0, 458779, 61, 0, 458783, 61, 0, 589815, 63, 0, 589819, 24, 0, 589820, 25, 0, 589822, 26, 0, 589823, 60, 0, 524289, 60, 0, 524291, 61, 0, 524295, 61, 0, 524299, 61, 0, 524303, 63, 0, 524307, 63, 0, 655351, 24, 0, 655352, 25, 0, 655354, 25, 0, 655356, 25, 0, 655358, 26, 0, 589839, 24, 0, 589840, 25, 0, 589842, 25, 0, 589844, 25, 0, 589846, 26, 0, 720887, 64, 0, 720891, 24, 0, 720892, 25, 0, 720894, 26, 0, 655375, 63, 0, 655379, 64, 0, 786411, 61, 0, 786415, 61, 0, 786419, 61, 0, 786421, 61, 0, 786423, 63, 0, 786427, 24, 0, 786428, 25, 0, 786430, 26, 0, 720911, 63, 0, 720915, 63, 0, 720919, 61, 0, 720923, 61, 0, 720927, 61, 0, 851959, 63, 0, 851963, 24, 0, 851964, 25, 0, 851966, 26, 0, 851967, 60, 0, 786433, 60, 0, 786435, 61, 0, 786439, 61, 0, 786443, 61, 0, 786447, 63, 0, 786451, 63, 0, 917495, 24, 0, 917496, 25, 0, 917498, 25, 0, 917500, 25, 0, 917502, 26, 0, 851983, 24, 0, 851984, 25, 0, 851986, 25, 0, 851988, 25, 0, 851990, 26, 0, 983031, 64, 0, 983035, 24, 0, 983036, 25, 0, 983038, 26, 0, 917519, 63, 0, 917523, 64, 0, 1048555, 61, 0, 1048559, 61, 0, 1048563, 61, 0, 1048565, 61, 0, 1048567, 63, 0, 1048571, 24, 0, 1048572, 25, 0, 1048574, 26, 0, 983055, 63, 0, 983059, 63, 0, 983063, 61, 0, 983067, 61, 0, 983071, 61, 0, 1114103, 63, 0, 1114107, 24, 0, 1114108, 25, 0, 1114110, 26, 0, 1114111, 60, 0, 1048577, 60, 0, 1048579, 61, 0, 1048583, 61, 0, 1048587, 61, 0, 1048591, 63, 0, 1048595, 63, 0, 1179639, 24, 0, 1179640, 25, 0, 1179642, 25, 0, 1179644, 25, 0, 1179646, 26, 0, 1114127, 24, 0, 1114128, 25, 0, 1114130, 25, 0, 1114132, 25, 0, 1114134, 26, 0, 1245175, 64, 0, 1245179, 27, 0, 1245180, 28, 0, 1245182, 29, 0, 1179663, 64, 0, 1179667, 64, 0, 1310699, 61, 0, 1310703, 61, 0, 1310707, 61, 0, 1310711, 61, 0, 1310715, 61, 0, 1310719, 536870973, 0, 1245195, 61, 0, 1245199, 61, 0, 1245203, 61, 0, 1245207, 61, 0, 1245211, 61, 0, 1245215, 61, 0, 1376255, 61, 0, 1310723, 61, 0, 1310727, 61, 0, 1572843, 61, 0, 1572847, 61, 0, 1572851, 61, 0, 1572855, 61, 0, 1572859, 61, 0, 1507339, 61, 0, 1507343, 61, 0, 1507347, 61, 0, 1507351, 61, 0, 1507355, 61, 0, 1507359, 61, 0, 1638399, 60, 0, 1572864, 60, 0, 1572865, 60, 0, 1572866, 60, 0, 1572867, 60, 0, 1572868, 60, 0, 1572869, 60, 0, 1572870, 60, 0, 1572871, 60, 0, 1572872, 60, 0, 1572873, 60, 0, 1572874, 60, 0, 1703935, 60, 0, 1638400, 60, 0, 1638401, 60, 0, 1638402, 60, 0, 1638403, 60, 0, 1638404, 60, 0, 1638405, 60, 0, 1638406, 60, 0, 1638407, 60, 0, 1638408, 60, 0, 1638409, 60, 0, 1638410, 60, 0, 1769471, 60, 0, 1703936, 60, 0, 1703937, 60, 0, 1703938, 60, 0, 1703939, 60, 0, 1703940, 60, 0, 1703941, 60, 0, 1703942, 60, 0, 1703943, 60, 0, 1703944, 60, 0, 1703945, 60, 0, 1703946, 60, 0 ) +tile_data = PoolIntArray( -262169, 61, 0, -262165, 61, 0, -262161, 61, 0, -262157, 61, 0, -262153, 61, 0, -262149, 61, 0, -262145, 61, 0, -327677, 61, 0, -327673, 61, 0, -327669, 61, 0, -327665, 61, 0, -327661, 61, 0, -327657, 61, 0, -327653, 61, 0, -327649, 61, 0, -327645, 536870973, 0, -196617, 61, 0, -25, 61, 0, -21, 61, 0, -17, 61, 0, -13, 61, 0, -11, 60, 0, -9, 68, 0, -5, 31, 0, -4, 4, 0, -2, 5, 0, -1, 31, 0, -65536, 4, 0, -65534, 4, 0, -65532, 4, 0, -65530, 4, 0, -65528, 4, 0, -65526, 4, 0, -65524, 4, 0, -65522, 5, 0, -65521, 31, 0, -65520, 4, 0, -65518, 1, 0, -65517, 536870980, 0, -65513, 61, 0, -65509, 61, 0, -65505, 61, 0, -65501, 536870973, 0, 65527, 68, 0, 65531, 31, 0, 65532, 4, 0, 65534, 5, 0, 65535, 15, 0, 0, 16, 0, 2, 16, 0, 4, 16, 0, 6, 17, 0, 7, 31, 0, 8, 5, 0, 9, 5, 0, 10, 5, 0, 11, 5, 0, 12, 5, 0, 13, 5, 0, 14, 5, 0, 15, 31, 0, 16, 4, 0, 18, 1, 0, 19, 536870980, 0, 131063, 66, 0, 131067, 31, 0, 131068, 4, 0, 131070, 5, 0, 131071, 18, 0, 65536, 19, 0, 65538, 19, 0, 65540, 19, 0, 65542, 20, 0, 65543, 31, 0, 65544, 5, 0, 65545, 5, 0, 65546, 5, 0, 65547, 5, 0, 65548, 5, 0, 65549, 5, 0, 65550, 5, 0, 65551, 31, 0, 65552, 4, 0, 65554, 1, 0, 65555, 536870978, 0, 196603, 6, 0, 196604, 51, 0, 196606, 8, 0, 196607, 21, 0, 131072, 22, 0, 131074, 22, 0, 131076, 22, 0, 131078, 23, 0, 131079, 6, 0, 131080, 51, 0, 131082, 51, 0, 131084, 51, 0, 131086, 8, 0, 131087, 6, 0, 131088, 51, 0, 131090, 8, 0, 262119, 61, 0, 262123, 61, 0, 262127, 61, 0, 262131, 61, 0, 262135, 63, 0, 262139, 24, 0, 262140, 25, 0, 262142, 25, 0, 196608, 25, 0, 196610, 25, 0, 196612, 25, 0, 196614, 25, 0, 196616, 25, 0, 196618, 25, 0, 196620, 25, 0, 196622, 25, 0, 196624, 25, 0, 196626, 26, 0, 196627, 63, 0, 196631, 61, 0, 196635, 61, 0, 196639, 61, 0, 196643, 536870973, 0, 327671, 50, 0, 327672, 25, 0, 327674, 26, 0, 327675, 24, 0, 327676, 25, 0, 327678, 25, 0, 262144, 25, 0, 262146, 25, 0, 262148, 25, 0, 262150, 25, 0, 262152, 25, 0, 262154, 25, 0, 262156, 25, 0, 262158, 25, 0, 262160, 25, 0, 262162, 26, 0, 262163, 24, 0, 262164, 25, 0, 262166, 7, 0, 393207, 24, 0, 393208, 25, 0, 393210, 25, 0, 393212, 25, 0, 393214, 25, 0, 327680, 25, 0, 327682, 25, 0, 327684, 25, 0, 327686, 25, 0, 327688, 25, 0, 327690, 25, 0, 327692, 25, 0, 327694, 25, 0, 327696, 25, 0, 327698, 25, 0, 327700, 25, 0, 327702, 26, 0, 458743, 64, 0, 458747, 24, 0, 458748, 25, 0, 458750, 25, 0, 393216, 25, 0, 393218, 25, 0, 393220, 25, 0, 393222, 25, 0, 393224, 25, 0, 393226, 25, 0, 393228, 25, 0, 393230, 25, 0, 393232, 25, 0, 393234, 26, 0, 393235, 64, 0, 524263, 61, 0, 524267, 61, 0, 524271, 61, 0, 524275, 61, 0, 524279, 63, 0, 524283, 24, 0, 524284, 25, 0, 524286, 56, 0, 524287, 55, 0, 458752, 54, 0, 458753, 55, 0, 458754, 28, 0, 458756, 28, 0, 458758, 28, 0, 458760, 28, 0, 458762, 28, 0, 458764, 28, 0, 458766, 54, 0, 458767, 57, 0, 458768, 25, 0, 458770, 26, 0, 458771, 63, 0, 458775, 61, 0, 458779, 61, 0, 458783, 61, 0, 458787, 536870973, 0, 589815, 50, 0, 589816, 25, 0, 589818, 26, 0, 589819, 24, 0, 589820, 25, 0, 589822, 26, 0, 589823, 60, 0, 524289, 60, 0, 524291, 61, 0, 524295, 61, 0, 524299, 61, 0, 524303, 63, 0, 524307, 24, 0, 524308, 25, 0, 524310, 7, 0, 655351, 24, 0, 655352, 25, 0, 655354, 25, 0, 655356, 25, 0, 655358, 26, 0, 589839, 24, 0, 589840, 25, 0, 589842, 25, 0, 589844, 25, 0, 589846, 26, 0, 720887, 64, 0, 720891, 24, 0, 720892, 25, 0, 720894, 26, 0, 655375, 63, 0, 655379, 64, 0, 786407, 61, 0, 786411, 61, 0, 786415, 61, 0, 786419, 61, 0, 786421, 61, 0, 786423, 63, 0, 786427, 24, 0, 786428, 25, 0, 786430, 26, 0, 720911, 63, 0, 720915, 63, 0, 720919, 61, 0, 720923, 61, 0, 720927, 61, 0, 720931, 536870973, 0, 851959, 50, 0, 851960, 25, 0, 851962, 26, 0, 851963, 24, 0, 851964, 25, 0, 851966, 26, 0, 851967, 60, 0, 786433, 60, 0, 786435, 61, 0, 786439, 61, 0, 786443, 61, 0, 786447, 63, 0, 786451, 24, 0, 786452, 25, 0, 786454, 7, 0, 917495, 24, 0, 917496, 25, 0, 917498, 25, 0, 917500, 25, 0, 917502, 26, 0, 851983, 24, 0, 851984, 25, 0, 851986, 25, 0, 851988, 25, 0, 851990, 26, 0, 983031, 64, 0, 983035, 24, 0, 983036, 25, 0, 983038, 26, 0, 917519, 63, 0, 917523, 64, 0, 1048551, 61, 0, 1048555, 61, 0, 1048559, 61, 0, 1048563, 61, 0, 1048565, 61, 0, 1048567, 63, 0, 1048571, 24, 0, 1048572, 25, 0, 1048574, 26, 0, 983055, 63, 0, 983059, 63, 0, 983063, 61, 0, 983067, 61, 0, 983071, 61, 0, 983075, 536870973, 0, 1114103, 50, 0, 1114104, 25, 0, 1114106, 26, 0, 1114107, 24, 0, 1114108, 25, 0, 1114110, 26, 0, 1114111, 60, 0, 1048577, 60, 0, 1048579, 61, 0, 1048583, 61, 0, 1048587, 61, 0, 1048591, 63, 0, 1048595, 24, 0, 1048596, 25, 0, 1048598, 7, 0, 1179639, 24, 0, 1179640, 25, 0, 1179642, 25, 0, 1179644, 25, 0, 1179646, 26, 0, 1114127, 24, 0, 1114128, 25, 0, 1114130, 25, 0, 1114132, 25, 0, 1114134, 26, 0, 1245175, 64, 0, 1245179, 27, 0, 1245180, 28, 0, 1245182, 29, 0, 1179663, 64, 0, 1179667, 64, 0, 1310695, 61, 0, 1310699, 61, 0, 1310703, 61, 0, 1310707, 61, 0, 1310711, 61, 0, 1310715, 61, 0, 1310719, 536870973, 0, 1245195, 61, 0, 1245199, 61, 0, 1245203, 61, 0, 1245207, 61, 0, 1245211, 61, 0, 1245215, 61, 0, 1245219, 536870973, 0, 1376255, 61, 0, 1310723, 61, 0, 1310727, 61, 0, 1572839, 61, 0, 1572843, 61, 0, 1572847, 61, 0, 1572851, 61, 0, 1572855, 61, 0, 1572859, 61, 0, 1507339, 61, 0, 1507343, 61, 0, 1507347, 61, 0, 1507351, 61, 0, 1507355, 61, 0, 1507359, 61, 0, 1507363, 536870973, 0, 1638399, 60, 0, 1572864, 60, 0, 1572865, 60, 0, 1572866, 60, 0, 1572867, 60, 0, 1572868, 60, 0, 1572869, 60, 0, 1572870, 60, 0, 1572871, 60, 0, 1572872, 60, 0, 1572873, 60, 0, 1572874, 60, 0, 1703935, 60, 0, 1638400, 60, 0, 1638401, 60, 0, 1638402, 60, 0, 1638403, 60, 0, 1638404, 60, 0, 1638405, 60, 0, 1638406, 60, 0, 1638407, 60, 0, 1638408, 60, 0, 1638409, 60, 0, 1638410, 60, 0, 1769471, 60, 0, 1703936, 60, 0, 1703937, 60, 0, 1703938, 60, 0, 1703939, 60, 0, 1703940, 60, 0, 1703941, 60, 0, 1703942, 60, 0, 1703943, 60, 0, 1703944, 60, 0, 1703945, 60, 0, 1703946, 60, 0 ) [node name="Carpet" type="TileMap" parent="BG"] tile_set = ExtResource( 1 ) @@ -83,16 +87,23 @@ cell_size = Vector2( 60, 60 ) format = 1 tile_data = PoolIntArray( 262136, 36, 0, 262137, 37, 0, 262138, 37, 0, 262139, 38, 0, 196628, 36, 0, 196629, 37, 0, 196630, 37, 0, 196631, 38, 0, 327672, 42, 0, 327673, 43, 0, 327674, 43, 0, 327675, 44, 0, 262145, 36, 0, 262146, 37, 0, 262147, 37, 0, 262148, 37, 0, 262149, 37, 0, 262150, 38, 0, 262164, 42, 0, 262165, 43, 0, 262166, 43, 0, 262167, 44, 0, 327681, 39, 0, 327682, 40, 0, 327683, 40, 0, 327684, 40, 0, 327685, 40, 0, 327686, 41, 0, 393217, 42, 0, 393218, 43, 0, 393219, 43, 0, 393220, 43, 0, 393221, 43, 0, 393222, 44, 0, 524280, 36, 0, 524281, 37, 0, 524282, 37, 0, 524283, 38, 0, 458772, 36, 0, 458773, 37, 0, 458774, 37, 0, 458775, 38, 0, 589816, 42, 0, 589817, 43, 0, 589818, 43, 0, 589819, 44, 0, 524308, 42, 0, 524309, 43, 0, 524310, 43, 0, 524311, 44, 0, 786424, 36, 0, 786425, 37, 0, 786426, 37, 0, 786427, 38, 0, 720916, 36, 0, 720917, 37, 0, 720918, 37, 0, 720919, 38, 0, 851960, 42, 0, 851961, 43, 0, 851962, 43, 0, 851963, 44, 0, 786452, 42, 0, 786453, 43, 0, 786454, 43, 0, 786455, 44, 0, 1048568, 36, 0, 1048569, 37, 0, 1048570, 37, 0, 1048571, 38, 0, 983060, 36, 0, 983061, 37, 0, 983062, 37, 0, 983063, 38, 0, 1114104, 42, 0, 1114105, 43, 0, 1114106, 43, 0, 1114107, 44, 0, 1048596, 42, 0, 1048597, 43, 0, 1048598, 43, 0, 1048599, 44, 0 ) +[node name="Bathrooms" type="TileMap" parent="BG"] +tile_set = ExtResource( 24 ) +cell_size = Vector2( 60, 60 ) +cell_clip_uv = true +format = 1 +tile_data = PoolIntArray( 131060, 0, 0, 131061, 1, 0, 131062, 1, 0, 131063, 2, 0, 65560, 0, 0, 65561, 1, 0, 65562, 1, 0, 65563, 2, 0, 196596, 0, 0, 196597, 1, 0, 196598, 1, 0, 196599, 2, 0, 131096, 0, 0, 131097, 1, 0, 131098, 1, 0, 131099, 2, 0, 262132, 3, 0, 262133, 4, 0, 262134, 4, 0, 262135, 5, 0, 196632, 3, 0, 196633, 4, 0, 196634, 4, 0, 196635, 5, 0, 327668, 6, 0, 327669, 7, 0, 327670, 7, 0, 327671, 7, 0, 262168, 7, 0, 262169, 7, 0, 262170, 7, 0, 262171, 8, 0, 393204, 6, 0, 393205, 7, 0, 393206, 7, 0, 393207, 8, 0, 327704, 6, 0, 327705, 7, 0, 327706, 7, 0, 327707, 8, 0, 458740, 6, 0, 458741, 7, 0, 458742, 7, 0, 458743, 8, 0, 393240, 6, 0, 393241, 7, 0, 393242, 7, 0, 393243, 8, 0, 524276, 6, 0, 524277, 7, 0, 524278, 7, 0, 524279, 8, 0, 458776, 6, 0, 458777, 7, 0, 458778, 7, 0, 458779, 8, 0, 589812, 9, 0, 589813, 10, 0, 589814, 10, 0, 589815, 10, 0, 524312, 10, 0, 524313, 10, 0, 524314, 10, 0, 524315, 11, 0, 655348, 0, 0, 655349, 1, 0, 655350, 1, 0, 655351, 2, 0, 589848, 0, 0, 589849, 1, 0, 589850, 1, 0, 589851, 2, 0, 720884, 0, 0, 720885, 1, 0, 720886, 1, 0, 720887, 2, 0, 655384, 0, 0, 655385, 1, 0, 655386, 1, 0, 655387, 2, 0, 786420, 3, 0, 786421, 4, 0, 786422, 4, 0, 786423, 5, 0, 720920, 3, 0, 720921, 4, 0, 720922, 4, 0, 720923, 5, 0, 851956, 6, 0, 851957, 7, 0, 851958, 7, 0, 851959, 7, 0, 786456, 7, 0, 786457, 7, 0, 786458, 7, 0, 786459, 8, 0, 917492, 6, 0, 917493, 7, 0, 917494, 7, 0, 917495, 8, 0, 851992, 6, 0, 851993, 7, 0, 851994, 7, 0, 851995, 8, 0, 983028, 6, 0, 983029, 7, 0, 983030, 7, 0, 983031, 8, 0, 917528, 6, 0, 917529, 7, 0, 917530, 7, 0, 917531, 8, 0, 1048564, 6, 0, 1048565, 7, 0, 1048566, 7, 0, 1048567, 8, 0, 983064, 6, 0, 983065, 7, 0, 983066, 7, 0, 983067, 8, 0, 1114100, 9, 0, 1114101, 10, 0, 1114102, 10, 0, 1114103, 10, 0, 1048600, 10, 0, 1048601, 10, 0, 1048602, 10, 0, 1048603, 11, 0 ) + [node name="FG" type="YSort" parent="."] z_index = 1 [node name="Player" parent="FG" instance=ExtResource( 10 )] position = Vector2( 285, 171 ) -[node name="Furniture" type="YSort" parent="FG"] +[node name="Rooms" type="YSort" parent="FG"] z_index = 1 -[node name="Living" type="TileMap" parent="FG/Furniture"] +[node name="Living" type="TileMap" parent="FG/Rooms"] tile_set = ExtResource( 1 ) cell_size = Vector2( 30, 30 ) cell_tile_origin = 2 @@ -100,7 +111,7 @@ cell_y_sort = true format = 1 tile_data = PoolIntArray( 131090, 45, 0, 458761, 47, 0, 524300, 48, 0, 589827, 53, 0, 589840, 32, 0, 720905, 46, 0, 720914, 34, 0, 720916, 34, 0, 720918, 34, 0, 720920, 34, 0, 720922, 34, 0 ) -[node name="Chairs" type="TileMap" parent="FG/Furniture/Living"] +[node name="Chairs" type="TileMap" parent="FG/Rooms/Living"] tile_set = ExtResource( 1 ) cell_size = Vector2( 30, 30 ) cell_tile_origin = 1 @@ -108,132 +119,157 @@ cell_y_sort = true format = 1 tile_data = PoolIntArray( 524305, 35, 0, 524307, 35, 0, 524309, 35, 0, 524311, 35, 0, 524313, 35, 0 ) -[node name="Kettle" type="Sprite" parent="FG/Furniture/Living"] +[node name="Kettle" type="Sprite" parent="FG/Rooms/Living"] position = Vector2( 653, 156 ) texture = ExtResource( 4 ) -[node name="Mug" type="Sprite" parent="FG/Furniture/Living"] +[node name="Mug" type="Sprite" parent="FG/Rooms/Living"] position = Vector2( 555, 155 ) texture = ExtResource( 5 ) -[node name="Mug2" type="Sprite" parent="FG/Furniture/Living"] +[node name="Mug2" type="Sprite" parent="FG/Rooms/Living"] position = Vector2( 580, 155 ) texture = ExtResource( 5 ) -[node name="NPCs" type="YSort" parent="FG/Furniture/Living"] +[node name="NPCs" type="YSort" parent="FG/Rooms/Living"] scale = Vector2( 1.00493, 0.995532 ) z_index = 1 -[node name="Richal" parent="FG/Furniture/Living/NPCs" instance=ExtResource( 11 )] +[node name="Richal" parent="FG/Rooms/Living/NPCs" instance=ExtResource( 11 )] position = Vector2( 600, 180 ) -[node name="Node2D" parent="FG/Furniture/Living/NPCs/Richal" instance=ExtResource( 13 )] +[node name="Node2D" parent="FG/Rooms/Living/NPCs/Richal" instance=ExtResource( 13 )] position = Vector2( 0, 4 ) -[node name="Area2D" parent="FG/Furniture/Living/NPCs/Richal/Node2D" index="0"] +[node name="Area2D" parent="FG/Rooms/Living/NPCs/Richal/Node2D" index="0"] position = Vector2( 0, -30 ) scale = Vector2( 5, 3 ) timeline = "timeline-1642568031.json" -[node name="CollisionShape2D" parent="FG/Furniture/Living/NPCs/Richal/Node2D/Area2D" index="0"] +[node name="CollisionShape2D" parent="FG/Rooms/Living/NPCs/Richal/Node2D/Area2D" index="0"] position = Vector2( 0, 18 ) -[node name="James" parent="FG/Furniture/Living/NPCs" instance=ExtResource( 9 )] +[node name="James" parent="FG/Rooms/Living/NPCs" instance=ExtResource( 9 )] position = Vector2( 840, 190 ) -[node name="Node2D" parent="FG/Furniture/Living/NPCs/James" instance=ExtResource( 13 )] +[node name="Node2D" parent="FG/Rooms/Living/NPCs/James" instance=ExtResource( 13 )] -[node name="Area2D" parent="FG/Furniture/Living/NPCs/James/Node2D" index="0"] +[node name="Area2D" parent="FG/Rooms/Living/NPCs/James/Node2D" index="0"] position = Vector2( 30, 50 ) scale = Vector2( 8, 5 ) timeline = "timeline-1642563748.json" -[node name="Sak" parent="FG/Furniture/Living/NPCs" instance=ExtResource( 2 )] +[node name="Sak" parent="FG/Rooms/Living/NPCs" instance=ExtResource( 2 )] position = Vector2( 900, 230 ) -[node name="Charlene" parent="FG/Furniture/Living/NPCs" instance=ExtResource( 6 )] +[node name="Charlene" parent="FG/Rooms/Living/NPCs" instance=ExtResource( 6 )] position = Vector2( 380, 380 ) -[node name="Node2D" parent="FG/Furniture/Living/NPCs/Charlene" instance=ExtResource( 13 )] +[node name="Node2D" parent="FG/Rooms/Living/NPCs/Charlene" instance=ExtResource( 13 )] position = Vector2( 0, 4 ) -[node name="Area2D" parent="FG/Furniture/Living/NPCs/Charlene/Node2D" index="0"] +[node name="Area2D" parent="FG/Rooms/Living/NPCs/Charlene/Node2D" index="0"] position = Vector2( 0, -30 ) scale = Vector2( 5, 3 ) timeline = "timeline-1642568183.json" -[node name="CollisionShape2D" parent="FG/Furniture/Living/NPCs/Charlene/Node2D/Area2D" index="0"] +[node name="CollisionShape2D" parent="FG/Rooms/Living/NPCs/Charlene/Node2D/Area2D" index="0"] position = Vector2( 0, 18 ) -[node name="Alistair" parent="FG/Furniture/Living/NPCs" instance=ExtResource( 3 )] +[node name="Alistair" parent="FG/Rooms/Living/NPCs" instance=ExtResource( 3 )] position = Vector2( 165, 150 ) -[node name="Node2D" parent="FG/Furniture/Living/NPCs/Alistair" instance=ExtResource( 13 )] +[node name="Node2D" parent="FG/Rooms/Living/NPCs/Alistair" instance=ExtResource( 13 )] position = Vector2( 0, 4 ) -[node name="Area2D" parent="FG/Furniture/Living/NPCs/Alistair/Node2D" index="0"] +[node name="Area2D" parent="FG/Rooms/Living/NPCs/Alistair/Node2D" index="0"] position = Vector2( 0, -30 ) scale = Vector2( 5, 3 ) timeline = "timeline-1642498159.json" -[node name="CollisionShape2D" parent="FG/Furniture/Living/NPCs/Alistair/Node2D/Area2D" index="0"] +[node name="CollisionShape2D" parent="FG/Rooms/Living/NPCs/Alistair/Node2D/Area2D" index="0"] position = Vector2( 0, 18 ) -[node name="BedTop" type="TileMap" parent="FG/Furniture"] +[node name="BedTop" type="TileMap" parent="FG/Rooms"] +visible = false tile_set = ExtResource( 1 ) cell_size = Vector2( 30, 30 ) cell_y_sort = true show_collision = true format = 1 -tile_data = PoolIntArray( 262128, 69, 0, 262130, 65, 0, 196648, 536870977, 0, 196654, 536870981, 0, 655344, 74, 0, 589869, 536870986, 0 ) +tile_data = PoolIntArray( 196592, 69, 0, 131118, 536870981, 0, 262130, 65, 0, 196648, 536870977, 0, 655344, 74, 0, 589869, 536870986, 0 ) -[node name="BedTopMid" type="TileMap" parent="FG/Furniture"] +[node name="BedTopMid" type="TileMap" parent="FG/Rooms"] visible = false tile_set = ExtResource( 1 ) cell_size = Vector2( 30, 30 ) cell_y_sort = true format = 1 -tile_data = PoolIntArray( 458736, 68, 0, 393256, 536870980, 0, 589808, 68, 0, 524328, 536870980, 0, 720880, 67, 0, 655400, 536870979, 0, 786416, 69, 0, 786418, 65, 0, 720936, 536870977, 0, 720942, 536870981, 0, 1179632, 74, 0, 1114157, 536870986, 0 ) +tile_data = PoolIntArray( 458736, 68, 0, 393256, 536870980, 0, 589808, 68, 0, 524328, 536870980, 0, 720880, 67, 0, 655400, 536870979, 0, 786418, 65, 0, 720936, 536870977, 0, 1179632, 74, 0, 1114157, 536870986, 0 ) + +[node name="Furniture" type="TileMap" parent="FG/Rooms/BedTopMid"] +tile_set = ExtResource( 1 ) +cell_size = Vector2( 30, 30 ) +cell_tile_origin = 2 +cell_y_sort = true +format = 1 +tile_data = PoolIntArray( 720880, 69, 0, 655406, 536870981, 0 ) -[node name="BedBotMid" type="TileMap" parent="FG/Furniture"] +[node name="BedBotMid" type="TileMap" parent="FG/Rooms"] visible = false tile_set = ExtResource( 1 ) cell_size = Vector2( 30, 30 ) cell_tile_origin = 2 cell_y_sort = true format = 1 -tile_data = PoolIntArray( 983024, 536870980, 0, 917544, 68, 0, 1114096, 536870980, 0, 1048616, 68, 0, 1245168, 536870979, 0, 1179688, 67, 0, 1310704, 69, 0, 1310706, 65, 0, 1245224, 536870977, 0, 1245230, 536870981, 0, 1703920, 74, 0, 1638445, 536870986, 0 ) +tile_data = PoolIntArray( 983024, 536870980, 0, 917544, 68, 0, 1114096, 536870980, 0, 1048616, 68, 0, 1245168, 536870979, 0, 1179688, 67, 0, 1310706, 65, 0, 1245224, 536870977, 0, 1703920, 74, 0, 1638445, 536870986, 0 ) + +[node name="Furniture" type="TileMap" parent="FG/Rooms/BedBotMid"] +tile_set = ExtResource( 1 ) +cell_size = Vector2( 30, 30 ) +cell_tile_origin = 2 +cell_y_sort = true +format = 1 +tile_data = PoolIntArray( 1245168, 69, 0, 1179694, 536870981, 0 ) -[node name="BedBot" type="TileMap" parent="FG/Furniture"] +[node name="BedBot" type="TileMap" parent="FG/Rooms"] tile_set = ExtResource( 1 ) cell_size = Vector2( 30, 30 ) cell_y_sort = true format = 1 -tile_data = PoolIntArray( 1507312, 68, 0, 1441832, 536870980, 0, 1638384, 68, 0, 1572904, 536870980, 0, 1769456, 67, 0, 1703976, 536870979, 0, 1834992, 69, 0, 1834994, 65, 0, 1769512, 536870977, 0, 1769518, 536870981, 0, 2228208, 74, 0, 2162733, 536870986, 0 ) +tile_data = PoolIntArray( 1507312, 68, 0, 1441832, 536870980, 0, 1638384, 68, 0, 1572904, 536870980, 0, 1769456, 67, 0, 1703976, 536870979, 0, 1834994, 65, 0, 1769512, 536870977, 0, 2228208, 74, 0, 2162733, 536870986, 0 ) -[node name="Eunsu" parent="FG/Furniture/BedBot" instance=ExtResource( 18 )] +[node name="Eunsu" parent="FG/Rooms/BedBot" instance=ExtResource( 18 )] position = Vector2( 1353, 888 ) scale = Vector2( 1.00493, 0.995532 ) -[node name="Sit1Cat" type="Sprite" parent="FG/Furniture/BedBot/Eunsu"] +[node name="Sit1Cat" type="Sprite" parent="FG/Rooms/BedBot/Eunsu"] position = Vector2( -98.5142, -87.3905 ) scale = Vector2( 1, 1 ) texture = ExtResource( 17 ) -[node name="BlackCat" type="Sprite" parent="FG/Furniture/BedBot/Eunsu/Sit1Cat"] +[node name="BlackCat" type="Sprite" parent="FG/Rooms/BedBot/Eunsu/Sit1Cat"] position = Vector2( 119.411, -15.0673 ) texture = ExtResource( 19 ) -[node name="Jorts" type="AnimatedSprite" parent="FG/Furniture/BedBot/Eunsu/Sit1Cat"] +[node name="Jorts" type="AnimatedSprite" parent="FG/Rooms/BedBot/Eunsu/Sit1Cat"] position = Vector2( 11.9412, 87.3904 ) frames = SubResource( 1 ) frame = 2 script = ExtResource( 22 ) -[node name="Josep" parent="FG/Furniture/BedBot" instance=ExtResource( 16 )] +[node name="Josep" parent="FG/Rooms/BedBot" instance=ExtResource( 16 )] position = Vector2( -393, 957 ) scale = Vector2( 1.00493, 0.995532 ) +[node name="Furniture" type="TileMap" parent="FG/Rooms/BedBot"] +tile_set = ExtResource( 1 ) +cell_size = Vector2( 30, 30 ) +cell_tile_origin = 2 +cell_y_sort = true +format = 1 +tile_data = PoolIntArray( 1245168, 69, 0, 1769456, 69, 0, 1703982, 536870981, 0 ) + [node name="Floating" type="TileMap" parent="FG"] z_index = 1 tile_set = ExtResource( 1 ) @@ -287,11 +323,23 @@ cell_size = Vector2( 60, 60 ) format = 1 tile_data = PoolIntArray( 1048568, 61, 0, 983060, 61, 0 ) +[node name="BathTop" type="TileMap" parent="FG/Covers"] +tile_set = ExtResource( 1 ) +cell_size = Vector2( 60, 60 ) +format = 1 +tile_data = PoolIntArray( 131060, 61, 0, 65560, 61, 0, 393204, 61, 0, 327704, 61, 0 ) + +[node name="BathBot" type="TileMap" parent="FG/Covers"] +tile_set = ExtResource( 1 ) +cell_size = Vector2( 60, 60 ) +format = 1 +tile_data = PoolIntArray( 655348, 61, 0, 589848, 61, 0, 917492, 61, 0, 851992, 61, 0 ) + [node name="CoverControl" type="Node2D" parent="FG"] -visible = false script = ExtResource( 14 ) [node name="Living" type="Area2D" parent="FG/CoverControl"] +visible = false [node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="FG/CoverControl/Living"] polygon = PoolVector2Array( -216, 180, 1176, 180, 1176, 1140, 960, 1140, 960, 480, 0, 480, 0, 1140, -216, 1140 ) @@ -300,41 +348,61 @@ polygon = PoolVector2Array( -216, 180, 1176, 180, 1176, 1140, 960, 1140, 960, 48 [node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="FG/CoverControl/BedTop"] position = Vector2( -129, 0 ) -polygon = PoolVector2Array( -351, 180, -135, 180, -135, 420, -351, 420 ) +polygon = PoolVector2Array( -327, 180, -135, 180, -135, 420, -327, 420 ) [node name="CollisionPolygon2D2" type="CollisionPolygon2D" parent="FG/CoverControl/BedTop"] position = Vector2( 120, 0 ) -polygon = PoolVector2Array( 1104, 180, 1320, 180, 1320, 420, 1104, 420 ) +polygon = PoolVector2Array( 1104, 180, 1296, 180, 1296, 420, 1104, 420 ) [node name="BedTopMid" type="Area2D" parent="FG/CoverControl"] [node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="FG/CoverControl/BedTopMid"] position = Vector2( -120, 0 ) -polygon = PoolVector2Array( -360, 420, -144, 420, -144, 660, -360, 660 ) +polygon = PoolVector2Array( -336, 420, -144, 420, -144, 660, -336, 660 ) [node name="CollisionPolygon2D2" type="CollisionPolygon2D" parent="FG/CoverControl/BedTopMid"] position = Vector2( 120, 0 ) -polygon = PoolVector2Array( 1104, 420, 1104, 660, 1320, 660, 1320, 420 ) +polygon = PoolVector2Array( 1104, 420, 1104, 660, 1296, 660, 1296, 420 ) [node name="BedBotMid" type="Area2D" parent="FG/CoverControl"] [node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="FG/CoverControl/BedBotMid"] position = Vector2( -120, 0 ) -polygon = PoolVector2Array( -360, 660, -360, 900, -144, 900, -144, 660 ) +polygon = PoolVector2Array( -336, 660, -336, 900, -144, 900, -144, 660 ) [node name="CollisionPolygon2D2" type="CollisionPolygon2D" parent="FG/CoverControl/BedBotMid"] position = Vector2( 120, 0 ) -polygon = PoolVector2Array( 1104, 660, 1104, 900, 1320, 900, 1320, 660 ) +polygon = PoolVector2Array( 1104, 660, 1104, 900, 1296, 900, 1296, 660 ) [node name="BedBot" type="Area2D" parent="FG/CoverControl"] [node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="FG/CoverControl/BedBot"] position = Vector2( -120, 0 ) -polygon = PoolVector2Array( -360, 900, -360, 1140, -144, 1140, -144, 900 ) +polygon = PoolVector2Array( -336, 900, -336, 1140, -144, 1140, -144, 900 ) [node name="CollisionPolygon2D2" type="CollisionPolygon2D" parent="FG/CoverControl/BedBot"] position = Vector2( 120, 0 ) -polygon = PoolVector2Array( 1104, 900, 1104, 1140, 1320, 1140, 1320, 900 ) +polygon = PoolVector2Array( 1104, 900, 1104, 1140, 1296, 1140, 1296, 900 ) + +[node name="BathTop" type="Area2D" parent="FG/CoverControl"] + +[node name="CollisionShape2D" type="CollisionShape2D" parent="FG/CoverControl/BathTop"] +position = Vector2( -607.5, 378 ) +shape = SubResource( 2 ) + +[node name="CollisionShape2D2" type="CollisionShape2D" parent="FG/CoverControl/BathTop"] +position = Vector2( 1569, 378 ) +shape = SubResource( 2 ) + +[node name="BathBot" type="Area2D" parent="FG/CoverControl"] + +[node name="CollisionShape2D" type="CollisionShape2D" parent="FG/CoverControl/BathBot"] +position = Vector2( -609, 858 ) +shape = SubResource( 2 ) + +[node name="CollisionShape2D2" type="CollisionShape2D" parent="FG/CoverControl/BathBot"] +position = Vector2( 1569, 858 ) +shape = SubResource( 2 ) [connection signal="body_entered" from="FG/CoverControl/Living" to="FG/CoverControl" method="_on_Living_body_entered"] [connection signal="body_exited" from="FG/CoverControl/Living" to="FG/CoverControl" method="_on_Living_body_exited"] @@ -346,8 +414,12 @@ polygon = PoolVector2Array( 1104, 900, 1104, 1140, 1320, 1140, 1320, 900 ) [connection signal="body_exited" from="FG/CoverControl/BedBotMid" to="FG/CoverControl" method="_on_BedBotMid_body_exited"] [connection signal="body_entered" from="FG/CoverControl/BedBot" to="FG/CoverControl" method="_on_BedBot_body_entered"] [connection signal="body_exited" from="FG/CoverControl/BedBot" to="FG/CoverControl" method="_on_BedBot_body_exited"] - -[editable path="FG/Furniture/Living/NPCs/Richal/Node2D"] -[editable path="FG/Furniture/Living/NPCs/James/Node2D"] -[editable path="FG/Furniture/Living/NPCs/Charlene/Node2D"] -[editable path="FG/Furniture/Living/NPCs/Alistair/Node2D"] +[connection signal="body_entered" from="FG/CoverControl/BathTop" to="FG/CoverControl" method="_on_BathTop_body_entered"] +[connection signal="body_exited" from="FG/CoverControl/BathTop" to="FG/CoverControl" method="_on_BathTop_body_exited"] +[connection signal="body_entered" from="FG/CoverControl/BathBot" to="FG/CoverControl" method="_on_BathBot_body_entered"] +[connection signal="body_exited" from="FG/CoverControl/BathBot" to="FG/CoverControl" method="_on_BathBot_body_exited"] + +[editable path="FG/Rooms/Living/NPCs/Richal/Node2D"] +[editable path="FG/Rooms/Living/NPCs/James/Node2D"] +[editable path="FG/Rooms/Living/NPCs/Charlene/Node2D"] +[editable path="FG/Rooms/Living/NPCs/Alistair/Node2D"]