diff --git a/behaviours/eater.gd b/behaviours/eater.gd index f8fe903..3ec6028 100644 --- a/behaviours/eater.gd +++ b/behaviours/eater.gd @@ -22,6 +22,12 @@ var count: int = 0 func log_eaten(edible: Edible) -> void: Log.p(self, "Eaten: %s" % edible) +func plus_one(): + count += 1 + if count == target: + goal_reached.emit() + + func _on_body_entered(body: Node2D) -> void: var edibles: Array = body.find_children("Edible", "Edible", false, false) @@ -29,6 +35,4 @@ func _on_body_entered(body: Node2D) -> void: if edible.diet in acceptable_diets: eaten.emit(edible) edible.eat() - count += 1 - if count == target: - goal_reached.emit() + plus_one() diff --git a/behaviours/sacrificable.gd b/behaviours/sacrificable.gd index 763bebb..86ac07e 100644 --- a/behaviours/sacrificable.gd +++ b/behaviours/sacrificable.gd @@ -13,5 +13,8 @@ signal sacrificed @export var kind: StringName = &"" +func set_kind(value: StringName) -> void: + kind = value + func sacrifice(): sacrificed.emit() diff --git a/behaviours/spawner.gd b/behaviours/spawner.gd index 55b9651..62c1d26 100644 --- a/behaviours/spawner.gd +++ b/behaviours/spawner.gd @@ -43,3 +43,7 @@ func spawn(): target.add_child.call_deferred(entity) # Not sure why this is needed. spawned.emit(entity) return entity + +func roll_spawn(odds: int): + if Random.rng.randi_range(0, odds - 1) == 0: + spawn() diff --git a/behaviours/summoning_circle.gd b/behaviours/summoning_circle.gd index f16b6a4..b54d1eb 100644 --- a/behaviours/summoning_circle.gd +++ b/behaviours/summoning_circle.gd @@ -62,11 +62,15 @@ func _on_sacrifice_changed(_entity: Node2D) -> void: entities.assign( stones.map(func(stone): return stone.entity) ) + for stone in stones: + if stone.entity == null: + return for recipe in recipes: if recipe.do_match(entities): break func _on_recipe_matched(m: SummoningRecipe.Match, recipe: SummoningRecipe) -> void: recipe_matched.emit(m, recipe) - for sacrificable in m.sacrificables: - sacrificable.sacrifice() + for stone in stones: + for sacrificable in stone.entity.find_children("*", "Sacrificable", true, false): + sacrificable.sacrifice() diff --git a/entities/barn.gd b/entities/barn.gd index d487070..7875166 100644 --- a/entities/barn.gd +++ b/entities/barn.gd @@ -21,6 +21,8 @@ func _on_roof_input(_viewport: Node, event: InputEvent, _shape_idx: int) -> void return if not event.pressed: return + if animator.is_playing(): + return gold_counter.decrease(5) animator.play(&"coin") @@ -31,3 +33,8 @@ func _on_animation_finished(anim_name:StringName) -> void: func _on_sheep_spawned(entity: Node2D) -> void: Log.p(self, "%s" % entity) entity.get_node("MovementBarn/BarnPriority").priority_alternative() + animator.speed_scale += 0.04 + if Random.rng.randi_range(0, 20) == 0: + entity.get_node("Sprite/TopHatter").plus_one() + if Random.rng.randi_range(0, 20) == 0: + entity.get_node("Sprite/Monocler").plus_one() \ No newline at end of file diff --git a/entities/barn.tscn b/entities/barn.tscn index f449c3e..f348495 100644 --- a/entities/barn.tscn +++ b/entities/barn.tscn @@ -358,7 +358,7 @@ size = Vector2(11, 62) size = Vector2(140, 38) [sub_resource type="RectangleShape2D" id="RectangleShape2D_0ike4"] -size = Vector2(121, 62) +size = Vector2(73, 62) [node name="Barn" type="StaticBody2D"] collision_layer = 88 @@ -366,6 +366,7 @@ collision_mask = 4 script = ExtResource("1_ny8oq") [node name="BarnWallFront" type="Sprite2D" parent="."] +z_index = 2 position = Vector2(8, -58) scale = Vector2(2, 2) texture = ExtResource("1_4a825") @@ -377,6 +378,7 @@ scale = Vector2(2, 2) texture = ExtResource("2_86ic0") [node name="BarnRoofFront" type="Sprite2D" parent="."] +z_index = 2 position = Vector2(8, -58) scale = Vector2(2, 2) texture = ExtResource("3_l2mr8") @@ -474,7 +476,7 @@ debug_color = Color(0.584314, 0.380392, 1, 0.243137) unique_name_in_owner = true [node name="Shape" type="CollisionShape2D" parent="BlockedTracker"] -position = Vector2(26.5, -31) +position = Vector2(50.5, -31) shape = SubResource("RectangleShape2D_0ike4") debug_color = Color(0.733333, 0.447059, 0.411765, 0.419608) diff --git a/entities/chupacabra.tscn b/entities/chupacabra.tscn index cdfb118..0a79428 100644 --- a/entities/chupacabra.tscn +++ b/entities/chupacabra.tscn @@ -401,6 +401,8 @@ debug_color = Color(1, 0, 0, 0) scene = ExtResource("8_fa8aq") enabled = false +[node name="Sacrificable" parent="Sprite/TopHatter" instance=ExtResource("7_igror")] + [node name="Monocler" parent="Sprite" instance=ExtResource("16_ltvqn")] unique_name_in_owner = true scale = Vector2(0.5, 0.5) @@ -422,6 +424,8 @@ debug_color = Color(1, 0, 0, 0) scene = ExtResource("10_k033w") enabled = false +[node name="Sacrificable" parent="Sprite/Monocler" instance=ExtResource("7_igror")] + [node name="Shape" type="CollisionShape2D" parent="."] shape = SubResource("CircleShape2D_mnexs") @@ -446,9 +450,8 @@ scene = ExtResource("14_nw8pn") [node name="SpawnTimer" parent="GoldSpawner" instance=ExtResource("6_qsds3")] autostart = true -mean_secs = 3.0 -min_secs = 0.6 -max_secs = 6.0 +min_secs = 0.2 +max_secs = 1.8 [node name="MovementSampler" parent="." instance=ExtResource("7_nq78n")] @@ -552,11 +555,15 @@ bus = &"KillSounds" [connection signal="eaten" from="Sprite/TopHatter" to="." method="_on_eater_eaten"] [connection signal="eaten" from="Sprite/TopHatter" to="Sprite/TopHatter/Spawner" method="enable" unbinds=1] [connection signal="goal_reached" from="Sprite/TopHatter" to="Sprite/TopHatter/Sprite" method="show"] +[connection signal="goal_reached" from="Sprite/TopHatter" to="Sprite/TopHatter/Sacrificable" method="set_kind" binds= [&"TopHat"]] [connection signal="tree_exiting" from="Sprite/TopHatter/Spawner" to="Sprite/TopHatter/Spawner" method="spawn"] +[connection signal="sacrificed" from="Sprite/TopHatter/Sacrificable" to="." method="queue_free"] [connection signal="eaten" from="Sprite/Monocler" to="." method="_on_eater_eaten"] [connection signal="eaten" from="Sprite/Monocler" to="Sprite/Monocler/Spawner" method="enable" unbinds=1] [connection signal="goal_reached" from="Sprite/Monocler" to="Sprite/Monocler/Sprite" method="show"] +[connection signal="goal_reached" from="Sprite/Monocler" to="Sprite/Monocler/Sacrificable" method="set_kind" binds= [&"Monocles"]] [connection signal="tree_exiting" from="Sprite/Monocler/Spawner" to="Sprite/Monocler/Spawner" method="spawn"] +[connection signal="sacrificed" from="Sprite/Monocler/Sacrificable" to="." method="queue_free"] [connection signal="sacrificed" from="Sacrificable" to="." method="queue_free"] [connection signal="timeout" from="GoldSpawner/SpawnTimer" to="GoldSpawner" method="spawn"] [connection signal="move" from="MovementIdle" to="." method="_on_move"] diff --git a/entities/imp.tscn b/entities/imp.tscn index 1f29b2a..2081ed5 100644 --- a/entities/imp.tscn +++ b/entities/imp.tscn @@ -268,6 +268,8 @@ debug_color = Color(1, 0, 0, 0) scene = ExtResource("8_m3as1") enabled = false +[node name="Sacrificable" parent="Sprite/TopHatter" instance=ExtResource("7_gg20m")] + [node name="Monocler" parent="Sprite" instance=ExtResource("14_w2h8x")] unique_name_in_owner = true scale = Vector2(0.5, 0.5) @@ -289,6 +291,8 @@ debug_color = Color(1, 0, 0, 0) scene = ExtResource("10_gikey") enabled = false +[node name="Sacrificable" parent="Sprite/Monocler" instance=ExtResource("7_gg20m")] + [node name="Shape" type="CollisionShape2D" parent="."] shape = SubResource("CircleShape2D_ide4n") @@ -311,9 +315,9 @@ scene = ExtResource("5_yrfoq") [node name="SpawnTimer" parent="GoldSpawner" instance=ExtResource("10_phvea")] autostart = true -mean_secs = 5.0 +mean_secs = 3.0 min_secs = 1.0 -max_secs = 9.0 +max_secs = 5.0 [node name="MovementSampler" parent="." instance=ExtResource("7_ech8d")] @@ -403,11 +407,15 @@ bus = &"KillSounds" [connection signal="eaten" from="Sprite/TopHatter" to="." method="_on_eater_eaten"] [connection signal="eaten" from="Sprite/TopHatter" to="Sprite/TopHatter/Spawner" method="enable" unbinds=1] [connection signal="goal_reached" from="Sprite/TopHatter" to="Sprite/TopHatter/Sprite" method="show"] +[connection signal="goal_reached" from="Sprite/TopHatter" to="Sprite/TopHatter/Sacrificable" method="set_kind" binds= [&"Monocle"]] [connection signal="tree_exiting" from="Sprite/TopHatter/Spawner" to="Sprite/TopHatter/Spawner" method="spawn"] +[connection signal="sacrificed" from="Sprite/TopHatter/Sacrificable" to="." method="queue_free"] [connection signal="eaten" from="Sprite/Monocler" to="." method="_on_eater_eaten"] [connection signal="eaten" from="Sprite/Monocler" to="Sprite/Monocler/Spawner" method="enable" unbinds=1] [connection signal="goal_reached" from="Sprite/Monocler" to="Sprite/Monocler/Sprite" method="show"] +[connection signal="goal_reached" from="Sprite/Monocler" to="Sprite/Monocler/Sacrificable" method="set_kind" binds= [&"Monocle"]] [connection signal="tree_exiting" from="Sprite/Monocler/Spawner" to="Sprite/Monocler/Spawner" method="spawn"] +[connection signal="sacrificed" from="Sprite/Monocler/Sacrificable" to="." method="queue_free"] [connection signal="sacrificed" from="Sacrificable" to="." method="queue_free"] [connection signal="timeout" from="GoldSpawner/SpawnTimer" to="GoldSpawner" method="spawn"] [connection signal="changed_direction" from="MovementWander" to="MovementWander/WanderPriority" method="priority_conditional"] diff --git a/entities/sacrifice_stone.tscn b/entities/sacrifice_stone.tscn index c6b3fa7..990d456 100644 --- a/entities/sacrifice_stone.tscn +++ b/entities/sacrifice_stone.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=7 format=3 uid="uid://ddpo03rb6068c"] +[gd_scene load_steps=6 format=3 uid="uid://ddpo03rb6068c"] [ext_resource type="Script" path="res://entities/sacrifice_stone.gd" id="1_sgl1t"] [ext_resource type="PackedScene" uid="uid://dfdr3e32lohq" path="res://behaviours/edible.tscn" id="1_y58y4"] @@ -8,9 +8,6 @@ [sub_resource type="CircleShape2D" id="CircleShape2D_yv6hf"] radius = 8.0 -[sub_resource type="RectangleShape2D" id="RectangleShape2D_55alx"] -size = Vector2(150, 150) - [node name="SacrificeStone" type="Node2D"] y_sort_enabled = true script = ExtResource("1_sgl1t") @@ -44,15 +41,5 @@ shape = SubResource("CircleShape2D_yv6hf") one_way_collision_margin = 27.5 debug_color = Color(1, 0, 0, 0) -[node name="ForbidSpawn" type="Area2D" parent="."] -position = Vector2(0, -29) -collision_layer = 64 -collision_mask = 0 -monitoring = false - -[node name="Shape" type="CollisionShape2D" parent="ForbidSpawn"] -shape = SubResource("RectangleShape2D_55alx") -debug_color = Color(0.733333, 0.447059, 0.411765, 0.419608) - [connection signal="tracked" from="StoneArea/SacrificeTracker" to="." method="_on_tracked"] [connection signal="untracked" from="StoneArea/SacrificeTracker" to="." method="_on_untracked"] diff --git a/entities/sheep.tscn b/entities/sheep.tscn index 695f1ba..f6a9cbc 100644 --- a/entities/sheep.tscn +++ b/entities/sheep.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=37 format=3 uid="uid://bc2bm8lbol18w"] +[gd_scene load_steps=38 format=3 uid="uid://bc2bm8lbol18w"] [ext_resource type="Script" path="res://entities/sheep.gd" id="1_4dmll"] [ext_resource type="Texture2D" uid="uid://iljp5yn3ehfk" path="res://entities/sheep_left.png" id="2_t13f5"] @@ -17,6 +17,7 @@ [ext_resource type="PackedScene" uid="uid://b04xhv32ypi42" path="res://entities/monocle.tscn" id="10_dmfsp"] [ext_resource type="PackedScene" uid="uid://cm67ko1k6kn4u" path="res://behaviours/priority.tscn" id="11_0jlmk"] [ext_resource type="PackedScene" uid="uid://g8t6dt0ye6n3" path="res://behaviours/timer_stddev.tscn" id="12_c45uk"] +[ext_resource type="PackedScene" uid="uid://b3gydtrenbw3n" path="res://entities/skull.tscn" id="12_lutsy"] [ext_resource type="PackedScene" uid="uid://cml7rqvyfuagx" path="res://behaviours/move_towards.tscn" id="12_x2g3x"] [ext_resource type="PackedScene" uid="uid://cbg5kgwxusvxf" path="res://behaviours/cursor_detector.tscn" id="13_5fkdr"] [ext_resource type="PackedScene" uid="uid://dti7l0d40hhgt" path="res://behaviours/target_picker.tscn" id="13_jf6em"] @@ -245,6 +246,8 @@ debug_color = Color(1, 0, 0, 0) scene = ExtResource("8_d32x5") enabled = false +[node name="Sacrificable" parent="Sprite/TopHatter" instance=ExtResource("8_43m1b")] + [node name="Monocler" parent="Sprite" instance=ExtResource("22_lilpq")] unique_name_in_owner = true position = Vector2(0, 2) @@ -267,9 +270,14 @@ debug_color = Color(1, 0, 0, 0) scene = ExtResource("10_dmfsp") enabled = false +[node name="Sacrificable" parent="Sprite/Monocler" instance=ExtResource("8_43m1b")] + [node name="Shape" type="CollisionShape2D" parent="."] shape = SubResource("CircleShape2D_c5tcn") +[node name="Spawner" parent="." instance=ExtResource("7_5is0u")] +scene = ExtResource("12_lutsy") + [node name="Animator" type="AnimationPlayer" parent="."] unique_name_in_owner = true libraries = { @@ -361,6 +369,18 @@ debug_color = Color(1, 0.498039, 0, 0) [node name="TargetPicker" parent="MovementTrap/TrackerTrap" node_paths=PackedStringArray("tracker") instance=ExtResource("13_jf6em")] tracker = NodePath("..") +[node name="MovementBarn" parent="." instance=ExtResource("10_05kcd")] +speed = 66.0 +direction = Vector2(-1, 0) +enabled = false + +[node name="BarnPriority" parent="MovementBarn" instance=ExtResource("11_0jlmk")] +alternative_priority = 47 + +[node name="ExitedTimer" type="Timer" parent="MovementBarn"] +wait_time = 2.0 +one_shot = true + [node name="MovementDrag" parent="." instance=ExtResource("14_3wojv")] enabled = false @@ -382,26 +402,18 @@ bus = &"DragSounds" stream = ExtResource("17_8kst2") bus = &"FallSounds" -[node name="MovementBarn" parent="." instance=ExtResource("10_05kcd")] -speed = 66.0 -direction = Vector2(-1, 0) -enabled = false - -[node name="BarnPriority" parent="MovementBarn" instance=ExtResource("11_0jlmk")] -alternative_priority = 60 - -[node name="ExitedTimer" type="Timer" parent="MovementBarn"] -wait_time = 2.0 -one_shot = true - [connection signal="eaten" from="Sprite/TopHatter" to="." method="_on_eater_eaten"] -[connection signal="eaten" from="Sprite/TopHatter" to="Sprite/TopHatter/Spawner" method="enable" unbinds=1] [connection signal="goal_reached" from="Sprite/TopHatter" to="Sprite/TopHatter/Sprite" method="show"] +[connection signal="goal_reached" from="Sprite/TopHatter" to="Sprite/TopHatter/Spawner" method="enable"] [connection signal="tree_exiting" from="Sprite/TopHatter/Spawner" to="Sprite/TopHatter/Spawner" method="spawn"] +[connection signal="sacrificed" from="Sprite/TopHatter/Sacrificable" to="." method="queue_free"] [connection signal="eaten" from="Sprite/Monocler" to="." method="_on_eater_eaten"] -[connection signal="eaten" from="Sprite/Monocler" to="Sprite/Monocler/Spawner" method="enable" unbinds=1] [connection signal="goal_reached" from="Sprite/Monocler" to="Sprite/Monocler/Sprite" method="show"] +[connection signal="goal_reached" from="Sprite/Monocler" to="Sprite/Monocler/Spawner" method="enable"] +[connection signal="goal_reached" from="Sprite/Monocler" to="Sprite/Monocler/Sacrificable" method="set_kind" binds= [&"Monocle"]] [connection signal="tree_exiting" from="Sprite/Monocler/Spawner" to="Sprite/Monocler/Spawner" method="spawn"] +[connection signal="sacrificed" from="Sprite/Monocler/Sacrificable" to="." method="queue_free"] +[connection signal="eaten" from="Edible" to="Spawner" method="roll_spawn" binds= [11]] [connection signal="sacrificed" from="Sacrificable" to="." method="queue_free"] [connection signal="move" from="MovementIdle" to="." method="_on_move"] [connection signal="move_disabled" from="MovementIdle" to="MovementIdle/BoredTimer" method="stop"] @@ -433,6 +445,11 @@ one_shot = true [connection signal="untracked" from="MovementTrap/TrackerTrap" to="MovementTrap/TrackerTrap/TargetPicker" method="clear_if_target"] [connection signal="target_changed" from="MovementTrap/TrackerTrap/TargetPicker" to="MovementTrap" method="set_target" unbinds=1] [connection signal="target_changed" from="MovementTrap/TrackerTrap/TargetPicker" to="MovementTrap/TrackerTrap/TargetPicker" method="sample_target_if_null" unbinds=2] +[connection signal="move" from="MovementBarn" to="." method="_on_move"] +[connection signal="move_disabled" from="MovementBarn" to="MovementBarn/BarnPriority" method="priority_default"] +[connection signal="move_disabled" from="MovementBarn" to="MovementBarn/ExitedTimer" method="stop"] +[connection signal="move_enabled" from="MovementBarn" to="MovementBarn/ExitedTimer" method="start"] +[connection signal="timeout" from="MovementBarn/ExitedTimer" to="MovementBarn/BarnPriority" method="priority_default"] [connection signal="dragged" from="MovementDrag" to="." method="_on_dragged"] [connection signal="dragged" from="MovementDrag" to="MovementDrag/DragPriority" method="priority_alternative" unbinds=1] [connection signal="dragged" from="MovementDrag" to="MovementDrag/DragSound" method="play" unbinds=1] @@ -443,7 +460,3 @@ one_shot = true [connection signal="move_enabled" from="MovementDrag" to="MovementWander" method="clear_direction"] [connection signal="dragged" from="MovementDrag/Draggable" to="MovementDrag" method="drag"] [connection signal="dropped" from="MovementDrag/Draggable" to="MovementDrag" method="drop"] -[connection signal="move" from="MovementBarn" to="." method="_on_move"] -[connection signal="move_disabled" from="MovementBarn" to="MovementBarn/ExitedTimer" method="stop"] -[connection signal="move_enabled" from="MovementBarn" to="MovementBarn/ExitedTimer" method="start"] -[connection signal="timeout" from="MovementBarn/ExitedTimer" to="MovementBarn/BarnPriority" method="priority_default"] diff --git a/entities/skull.tscn b/entities/skull.tscn index 9b4745b..5cd5dd7 100644 --- a/entities/skull.tscn +++ b/entities/skull.tscn @@ -180,6 +180,7 @@ bus = &"DragSounds" stream = ExtResource("6_7yx26") bus = &"FallSounds" +[connection signal="sacrificed" from="Sacrificable" to="." method="queue_free"] [connection signal="changed_target" from="MovementTrap" to="MovementTrap/TrapPriority" method="priority_conditional"] [connection signal="move" from="MovementTrap" to="." method="_on_move"] [connection signal="move_disabled" from="MovementTrap" to="." method="_on_freed"] diff --git a/entities/summoning_circle_pentagram.tscn b/entities/summoning_circle_pentagram.tscn index c1ea1d0..f63d924 100644 --- a/entities/summoning_circle_pentagram.tscn +++ b/entities/summoning_circle_pentagram.tscn @@ -40,6 +40,18 @@ position = Vector2(75, 62) [node name="Recipes" type="Node" parent="."] +[node name="FiveTopHats" parent="Recipes" instance=ExtResource("5_jbk35")] +mode = 2 +ingredients = Array[StringName]([&"TopHat", &"TopHat", &"TopHat", &"TopHat", &"TopHat"]) + +[node name="FiveMonocles" parent="Recipes" instance=ExtResource("5_jbk35")] +mode = 2 +ingredients = Array[StringName]([&"Monocle", &"Monocle", &"Monocle", &"Monocle", &"Monocle"]) + +[node name="ASkull" parent="Recipes" instance=ExtResource("5_jbk35")] +mode = 1 +ingredients = Array[StringName]([&"Skull"]) + [node name="FiveSheep" parent="Recipes" instance=ExtResource("5_jbk35")] mode = 2 ingredients = Array[StringName]([&"Sheep", &"Sheep", &"Sheep", &"Sheep", &"Sheep"]) @@ -70,6 +82,9 @@ scene = ExtResource("8_jtxan") [node name="Cthulhu" parent="Spawners" instance=ExtResource("2_xq0wr")] scene = ExtResource("9_wli14") +[connection signal="matched" from="Recipes/FiveTopHats" to="Spawners/Watcher" method="spawn" unbinds=1] +[connection signal="matched" from="Recipes/FiveMonocles" to="Spawners/Watcher" method="spawn" unbinds=1] +[connection signal="matched" from="Recipes/ASkull" to="Spawners/Chupacabra" method="spawn" unbinds=1] [connection signal="matched" from="Recipes/FiveSheep" to="Spawners/Imp" method="spawn" unbinds=1] [connection signal="matched" from="Recipes/FiveImps" to="Spawners/Chupacabra" method="spawn" unbinds=1] [connection signal="matched" from="Recipes/FiveChupacabras" to="Spawners/Watcher" method="spawn" unbinds=1] diff --git a/entities/watcher.tscn b/entities/watcher.tscn index d40d286..8161cc9 100644 --- a/entities/watcher.tscn +++ b/entities/watcher.tscn @@ -274,6 +274,8 @@ debug_color = Color(1, 0, 0, 0) scene = ExtResource("8_4xe4s") enabled = false +[node name="Sacrificable" parent="Sprite/TopHatter" instance=ExtResource("7_lxtqq")] + [node name="Monocler" parent="Sprite" instance=ExtResource("19_ktenf")] unique_name_in_owner = true scale = Vector2(0.5, 0.5) @@ -296,6 +298,8 @@ debug_color = Color(1, 0, 0, 0) scene = ExtResource("10_wf4xh") enabled = false +[node name="Sacrificable" parent="Sprite/Monocler" instance=ExtResource("7_lxtqq")] + [node name="Shape" type="CollisionShape2D" parent="."] shape = SubResource("CircleShape2D_diig7") @@ -318,9 +322,9 @@ scene = ExtResource("14_cfqh8") [node name="SpawnTimer" parent="GoldSpawner" instance=ExtResource("11_20lvf")] autostart = true -mean_secs = 1.2 -min_secs = 2.4 -max_secs = 0.4 +mean_secs = 0.2 +min_secs = 0.1 +max_secs = 0.3 [node name="MovementSampler" parent="." instance=ExtResource("4_i1htf")] @@ -413,11 +417,15 @@ bus = &"KillSounds" [connection signal="eaten" from="Sprite/TopHatter" to="." method="_on_eater_eaten"] [connection signal="eaten" from="Sprite/TopHatter" to="Sprite/TopHatter/Spawner" method="enable" unbinds=1] [connection signal="goal_reached" from="Sprite/TopHatter" to="Sprite/TopHatter/Sprite" method="show"] +[connection signal="goal_reached" from="Sprite/TopHatter" to="Sprite/TopHatter/Sacrificable" method="set_kind" binds= [&"TopHat"]] [connection signal="tree_exiting" from="Sprite/TopHatter/Spawner" to="Sprite/TopHatter/Spawner" method="spawn"] +[connection signal="sacrificed" from="Sprite/TopHatter/Sacrificable" to="." method="queue_free"] [connection signal="eaten" from="Sprite/Monocler" to="." method="_on_eater_eaten"] [connection signal="eaten" from="Sprite/Monocler" to="Sprite/Monocler/Spawner" method="enable" unbinds=1] [connection signal="goal_reached" from="Sprite/Monocler" to="Sprite/Monocler/Sprite" method="show"] +[connection signal="goal_reached" from="Sprite/Monocler" to="Sprite/Monocler/Sacrificable" method="set_kind" binds= [&"Monocle"]] [connection signal="tree_exiting" from="Sprite/Monocler/Spawner" to="Sprite/Monocler/Spawner" method="spawn"] +[connection signal="sacrificed" from="Sprite/Monocler/Sacrificable" to="." method="queue_free"] [connection signal="sacrificed" from="Sacrificable" to="." method="queue_free"] [connection signal="timeout" from="GoldSpawner/SpawnTimer" to="GoldSpawner" method="spawn"] [connection signal="move" from="MovementTilt" to="." method="_on_move"] diff --git a/project.godot b/project.godot index f8e0209..bb25f36 100644 --- a/project.godot +++ b/project.godot @@ -42,6 +42,11 @@ postprocessing_toggle={ "events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194311,"key_label":0,"unicode":0,"echo":false,"script":null) ] } +cheat_gold={ +"deadzone": 0.5, +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":92,"physical_keycode":0,"key_label":0,"unicode":92,"echo":false,"script":null) +] +} [layer_names] diff --git a/scenes/game/cursor.gd b/scenes/game/cursor.gd index cb8ad04..5b7d32a 100644 --- a/scenes/game/cursor.gd +++ b/scenes/game/cursor.gd @@ -10,7 +10,7 @@ signal dropped(node: Draggable) @onready var game: MainGame = MainGame.get_via_group(self) @onready var gold_display: GoldDisplay = %"GoldDisplay" -@onready var sheep_spawner: Spawner = %"SheepSpawner" +@onready var cheat_gold_spawner: Spawner = %"CheatGoldSpawner" var dragging: Draggable = null @@ -66,3 +66,5 @@ func _input(event: InputEvent) -> void: func _physics_process(_delta: float) -> void: position += (game.camera.get_global_mouse_position() - global_position) + if Input.is_action_pressed(&"cheat_gold"): + cheat_gold_spawner.spawn() diff --git a/scenes/game/cursor.tscn b/scenes/game/cursor.tscn index 1a10c7e..802d846 100644 --- a/scenes/game/cursor.tscn +++ b/scenes/game/cursor.tscn @@ -1,7 +1,9 @@ -[gd_scene load_steps=4 format=3 uid="uid://col1q3elvkfwk"] +[gd_scene load_steps=6 format=3 uid="uid://col1q3elvkfwk"] [ext_resource type="Script" path="res://scenes/game/cursor.gd" id="1_1og6v"] [ext_resource type="PackedScene" uid="uid://cu750c7yd57qa" path="res://scenes/game/gold_display.tscn" id="2_5c4iq"] +[ext_resource type="PackedScene" uid="uid://tx1qi6ahlxjp" path="res://behaviours/spawner.tscn" id="3_k7vj5"] +[ext_resource type="PackedScene" uid="uid://uoxwjpmgg27a" path="res://entities/gold.tscn" id="4_45u12"] [sub_resource type="CircleShape2D" id="CircleShape2D_6ky4x"] radius = 8.0 @@ -18,3 +20,7 @@ debug_color = Color(0, 0.411765, 0, 0) [node name="GoldDisplay" parent="." instance=ExtResource("2_5c4iq")] unique_name_in_owner = true + +[node name="CheatGoldSpawner" parent="." instance=ExtResource("3_k7vj5")] +unique_name_in_owner = true +scene = ExtResource("4_45u12") diff --git a/scenes/game/main_game.gd b/scenes/game/main_game.gd index 6bb83a6..d77f1d5 100644 --- a/scenes/game/main_game.gd +++ b/scenes/game/main_game.gd @@ -2,8 +2,9 @@ extends Node2D class_name MainGame +@export var default_spawn_parent: Node2D + @onready var camera: GameCamera = $"GameCamera" -@onready var default_spawn_parent: Node2D = %"DefaultSpawnParent" @onready var inventory: Inventory = %"Inventory" @onready var cursor: Cursor = %"Cursor" @onready var music: Music = %"Music" diff --git a/scenes/game/main_game.tscn b/scenes/game/main_game.tscn index da02cdb..11986f6 100644 --- a/scenes/game/main_game.tscn +++ b/scenes/game/main_game.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=27 format=3 uid="uid://cxj5aud02f40j"] +[gd_scene load_steps=20 format=3 uid="uid://cxj5aud02f40j"] [ext_resource type="Script" path="res://scenes/game/main_game.gd" id="1_wiglu"] [ext_resource type="PackedScene" uid="uid://dm068vaseh45n" path="res://scenes/game/game_camera.tscn" id="2_db5xs"] @@ -9,14 +9,7 @@ [ext_resource type="PackedScene" uid="uid://dhrftd3ni6d20" path="res://scenes/game/music.tscn" id="4_q73jh"] [ext_resource type="PackedScene" uid="uid://col1q3elvkfwk" path="res://scenes/game/cursor.tscn" id="5_g504x"] [ext_resource type="Texture2D" uid="uid://bxm3edor0akqj" path="res://scenes/game/tileset_flowers_shaded.png" id="5_yqthh"] -[ext_resource type="PackedScene" uid="uid://b3gydtrenbw3n" path="res://entities/skull.tscn" id="6_5k7gy"] -[ext_resource type="PackedScene" uid="uid://b04xhv32ypi42" path="res://entities/monocle.tscn" id="7_lahut"] -[ext_resource type="PackedScene" uid="uid://8ejgwtkpaa44" path="res://entities/top_hat.tscn" id="8_atoon"] -[ext_resource type="PackedScene" uid="uid://bc2bm8lbol18w" path="res://entities/sheep.tscn" id="9_qrqqu"] -[ext_resource type="PackedScene" uid="uid://4d3ksr3171x4" path="res://entities/imp.tscn" id="10_yw228"] -[ext_resource type="PackedScene" uid="uid://cmemgijh6nfmk" path="res://entities/chupacabra.tscn" id="11_ixo4x"] -[ext_resource type="PackedScene" uid="uid://dnjtduk0hla3f" path="res://entities/watcher.tscn" id="14_8rumi"] -[ext_resource type="PackedScene" uid="uid://gl4umoff474y" path="res://entities/cthulhu.tscn" id="15_k41qf"] +[ext_resource type="PackedScene" uid="uid://uoxwjpmgg27a" path="res://entities/gold.tscn" id="13_56o7t"] [ext_resource type="PackedScene" uid="uid://cgpwig0rd08vh" path="res://entities/summoning_circle_pentagram.tscn" id="16_nhsrb"] [ext_resource type="PackedScene" uid="uid://db246fkcf452d" path="res://entities/tree.tscn" id="18_r8twr"] [ext_resource type="PackedScene" uid="uid://cn0p5s44h86px" path="res://entities/barn.tscn" id="20_tek4w"] @@ -855,9 +848,10 @@ tile_proxies/coords_level = [[0, Vector2i(0, 0)], [7, Vector2i(0, 0)], [1, Vecto [sub_resource type="WorldBoundaryShape2D" id="WorldBoundaryShape2D_htttx"] -[node name="MainGame" type="Node2D" groups=["game"]] +[node name="MainGame" type="Node2D" node_paths=PackedStringArray("default_spawn_parent") groups=["game"]] y_sort_enabled = true script = ExtResource("1_wiglu") +default_spawn_parent = NodePath("Entities") [node name="Inventory" parent="." instance=ExtResource("2_jhbbf")] unique_name_in_owner = true @@ -871,14 +865,13 @@ z_index = -30 scale = Vector2(2, 2) tile_set = SubResource("TileSet_g2dkm") format = 2 -layer_0/tile_data = PackedInt32Array(720915, 196608, 9, 655379, 65536, 10, 589843, 131072, 8, 524307, 0, 5, 458771, 196608, 10, 393235, 131072, 0, 327699, 327680, 5, 262163, 327680, 5, 196627, 65536, 8, 131091, 65536, 0, 65555, 196608, 7, 19, 262144, 9, -65517, 65536, 9, -131053, 262144, 7, -196589, 65536, 5, -262125, 131072, 8, -327661, 196608, 5, -393197, 131072, 7, -458733, 327680, 1, -524269, 327680, 0, -589805, 327680, 4, -655341, 0, 4, -720877, 262144, 5, 720914, 196608, 0, 655378, 131072, 10, 589842, 327680, 5, 524306, 327680, 2, 458770, 196608, 8, 393234, 327680, 3, 327698, 65536, 0, 262162, 327680, 3, 196626, 65536, 7, 131090, 65536, 0, 65554, 262144, 9, 18, 262144, 8, -65518, 0, 0, -131054, 65536, 8, -196590, 65536, 10, -262126, 196608, 9, -327662, 65536, 7, -393198, 262144, 8, -458734, 262144, 10, -524270, 65536, 10, -589806, 65536, 10, -655342, 327680, 4, -720878, 327680, 5, 720913, 196608, 8, 655377, 196608, 9, 589841, 262144, 0, 524305, 131072, 0, 458769, 327680, 0, 393233, 196608, 8, 327697, 262144, 0, 262161, 327680, 4, 196625, 0, 3, 131089, 327680, 2, 65553, 196608, 0, 17, 262144, 8, -65519, 196608, 8, -131055, 196608, 5, -196591, 327680, 1, -262127, 196608, 9, -327663, 131072, 0, -393199, 196608, 10, -458735, 196608, 9, -524271, 327680, 3, -589807, 262144, 7, -655343, 196608, 10, -720879, 65536, 7, 720912, 65536, 0, 655376, 65536, 0, 589840, 65536, 10, 524304, 262144, 7, 458768, 262144, 0, 393232, 262144, 8, 327696, 0, 2, 262160, 327680, 4, 196624, 65536, 5, 131088, 196608, 7, 65552, 327680, 3, 16, 327680, 0, -65520, 262144, 9, -131056, 327680, 4, -196592, 65536, 5, -262128, 262144, 8, -327664, 196608, 9, -393200, 327680, 1, -458736, 196608, 0, -524272, 196608, 5, -589808, 0, 3, -655344, 196608, 9, -720880, 196608, 10, 720911, 65536, 10, 655375, 262144, 9, 589839, 327680, 0, 524303, 196608, 5, 458767, 327680, 3, 393231, 262144, 5, 327695, 327680, 5, 262159, 0, 2, 196623, 196608, 10, 131087, 65536, 7, 65551, 131072, 0, 15, 262144, 5, -65521, 65536, 5, -131057, 0, 1, -196593, 131072, 8, -262129, 131072, 9, -327665, 327680, 2, -393201, 131072, 7, -458737, 131072, 10, -524273, 262144, 7, -589809, 131072, 7, -655345, 0, 5, -720881, 65536, 0, 720910, 196608, 8, 655374, 131072, 10, 589838, 327680, 5, 524302, 65536, 7, 458766, 65536, 0, 393230, 327680, 0, 327694, 196608, 0, 262158, 65536, 8, 196622, 131072, 7, 131086, 65536, 9, 65550, 131072, 10, 14, 0, 3, -65522, 262144, 9, -131058, 327680, 4, -196594, 65536, 8, -262130, 196608, 5, -327666, 131072, 9, -393202, 262144, 9, -458738, 196608, 10, -524274, 196608, 10, -589810, 131072, 0, -655346, 0, 4, -720882, 65536, 7, 720909, 65536, 5, 655373, 131072, 0, 589837, 0, 0, 524301, 327680, 0, 458765, 65536, 0, 393229, 0, 1, 327693, 262144, 5, 262157, 262144, 5, 196621, 65536, 10, 131085, 65536, 9, 65549, 196608, 7, 13, 262144, 0, -65523, 0, 1, -131059, 262144, 7, -196595, 0, 3, -262131, 65536, 8, -327667, 196608, 8, -393203, 196608, 0, -458739, 262144, 7, -524275, 327680, 0, -589811, 327680, 0, -655347, 65536, 8, -720883, 262144, 9, 720908, 327680, 3, 655372, 196608, 0, 589836, 131072, 7, 524300, 327680, 1, 458764, 327680, 5, 393228, 327680, 1, 327692, 196608, 8, 262156, 65536, 5, 196620, 65536, 8, 131084, 196608, 9, 65548, 65536, 7, 12, 327680, 2, -65524, 0, 3, -131060, 262144, 10, -196596, 262144, 8, -262132, 65536, 0, -327668, 65536, 9, -393204, 262144, 7, -458740, 65536, 8, -524276, 65536, 5, -589812, 327680, 0, -655348, 131072, 8, -720884, 196608, 8, 720907, 327680, 2, 655371, 196608, 8, 589835, 65536, 0, 524299, 131072, 0, 458763, 327680, 1, 393227, 65536, 9, 327691, 65536, 9, 262155, 65536, 0, 196619, 262144, 5, 131083, 327680, 1, 65547, 131072, 10, 11, 131072, 7, -65525, 196608, 10, -131061, 0, 1, -196597, 262144, 8, -262133, 196608, 8, -327669, 262144, 7, -393205, 262144, 8, -458741, 196608, 7, -524277, 196608, 7, -589813, 196608, 10, -655349, 0, 3, -720885, 131072, 10, 720906, 196608, 10, 655370, 196608, 0, 589834, 196608, 10, 524298, 327680, 3, 458762, 196608, 10, 393226, 131072, 9, 327690, 131072, 8, 262154, 196608, 9, 196618, 327680, 4, 131082, 196608, 8, 65546, 131072, 5, 10, 65536, 5, -65526, 327680, 3, -131062, 0, 3, -196598, 262144, 5, -262134, 327680, 3, -327670, 0, 2, -393206, 0, 4, -458742, 65536, 5, -524278, 196608, 10, -589814, 327680, 1, -655350, 262144, 0, -720886, 196608, 5, 720905, 131072, 5, 655369, 131072, 0, 589833, 0, 3, 524297, 327680, 0, 458761, 131072, 7, 393225, 327680, 4, 327689, 262144, 9, 262153, 262144, 10, 196617, 65536, 10, 131081, 0, 3, 65545, 65536, 10, 9, 327680, 5, -65527, 131072, 7, -131063, 262144, 9, -196599, 327680, 2, -262135, 327680, 0, -327671, 0, 4, -393207, 262144, 5, -458743, 0, 3, -524279, 65536, 0, -589815, 65536, 0, -655351, 196608, 5, -720887, 131072, 7, 720904, 0, 3, 655368, 0, 2, 589832, 131072, 9, 524296, 327680, 4, 458760, 131072, 9, 393224, 327680, 0, 327688, 327680, 0, 262152, 262144, 8, 196616, 0, 0, 131080, 0, 1, 65544, 65536, 0, 8, 0, 1, -65528, 262144, 0, -131064, 65536, 9, -196600, 65536, 7, -262136, 131072, 5, -327672, 131072, 10, -393208, 0, 1, -458744, 65536, 5, -524280, 327680, 5, -589816, 131072, 8, -655352, 0, 0, -720888, 262144, 9, 720903, 196608, 10, 655367, 196608, 0, 589831, 0, 3, 524295, 327680, 3, 458759, 131072, 5, 393223, 262144, 8, 327687, 65536, 5, 262151, 0, 0, 196615, 131072, 0, 131079, 65536, 7, 65543, 262144, 7, 7, 327680, 0, -65529, 327680, 5, -131065, 65536, 0, -196601, 65536, 7, -262137, 196608, 0, -327673, 327680, 1, -393209, 0, 4, -458745, 0, 0, -524281, 131072, 8, -589817, 327680, 4, -655353, 0, 5, -720889, 196608, 10, 720902, 65536, 0, 655366, 0, 5, 589830, 0, 4, 524294, 0, 4, 458758, 131072, 8, 393222, 196608, 0, 327686, 196608, 0, 262150, 327680, 3, 196614, 196608, 9, 131078, 131072, 9, 65542, 327680, 3, 6, 0, 2, -65530, 0, 0, -131066, 131072, 5, -196602, 0, 1, -262138, 327680, 2, -327674, 131072, 5, -393210, 131072, 8, -458746, 262144, 5, -524282, 327680, 0, -589818, 65536, 10, -655354, 196608, 7, -720890, 262144, 8, 720901, 262144, 9, 655365, 0, 2, 589829, 65536, 9, 524293, 0, 2, 458757, 262144, 8, 393221, 327680, 5, 327685, 196608, 0, 262149, 65536, 10, 196613, 327680, 2, 131077, 0, 4, 65541, 131072, 5, 5, 327680, 1, -65531, 131072, 5, -131067, 131072, 9, -196603, 262144, 7, -262139, 65536, 8, -327675, 196608, 0, -393211, 65536, 10, -458747, 65536, 8, -524283, 196608, 9, -589819, 327680, 2, -655355, 0, 4, -720891, 131072, 9, 720900, 131072, 0, 655364, 262144, 0, 589828, 131072, 10, 524292, 0, 1, 458756, 327680, 0, 393220, 0, 1, 327684, 65536, 0, 262148, 262144, 10, 196612, 262144, 10, 131076, 131072, 8, 65540, 0, 4, 4, 65536, 7, -65532, 262144, 5, -131068, 196608, 0, -196604, 262144, 8, -262140, 0, 1, -327676, 131072, 10, -393212, 131072, 7, -458748, 0, 1, -524284, 0, 4, -589820, 0, 1, -655356, 65536, 5, -720892, 0, 0, 720899, 327680, 0, 655363, 327680, 1, 589827, 262144, 10, 524291, 196608, 8, 458755, 327680, 3, 393219, 262144, 0, 327683, 262144, 8, 262147, 262144, 7, 196611, 131072, 0, 131075, 262144, 7, 65539, 327680, 2, 3, 65536, 0, -65533, 131072, 0, -131069, 196608, 7, -196605, 196608, 9, -262141, 65536, 9, -327677, 262144, 7, -393213, 262144, 10, -458749, 196608, 5, -524285, 327680, 3, -589821, 131072, 7, -655357, 196608, 8, -720893, 65536, 10, 720898, 65536, 10, 655362, 65536, 7, 589826, 131072, 8, 524290, 196608, 8, 458754, 196608, 10, 393218, 65536, 8, 327682, 327680, 2, 262146, 0, 5, 196610, 196608, 5, 131074, 262144, 4, 65538, 0, 9, 2, 262144, 3, -65534, 262144, 3, -131070, 262144, 3, -196606, 262144, 1, -262142, 262144, 9, -327678, 262144, 5, -393214, 196608, 9, -458750, 327680, 5, -524286, 327680, 5, -589822, 196608, 8, -655358, 327680, 2, -720894, 131072, 9, 720897, 262144, 7, 655361, 196608, 10, 589825, 262144, 7, 524289, 65536, 8, 458753, 262144, 9, 393217, 65536, 8, 327681, 262144, 9, 262145, 131072, 5, 196609, 196608, 7, 131073, 65536, 6, 65537, 196608, 2, 1, 196608, 3, -65535, 131072, 3, -131071, 196608, 3, -196607, 131072, 11, -262143, 0, 5, -327679, 131072, 10, -393215, 196608, 8, -458751, 327680, 5, -524287, 0, 2, -589823, 196608, 9, -655359, 327680, 0, -720895, 65536, 10, 720896, 0, 4, 655360, 262144, 8, 589824, 327680, 4, 524288, 131072, 0, 458752, 262144, 0, 393216, 0, 1, 327680, 0, 1, 262144, 196608, 9, 196608, 0, 2, 131072, 196608, 6, 65536, 196608, 2, 0, 131072, 3, -65536, 131072, 2, -131072, 196608, 2, -196608, 196608, 11, -262144, 0, 3, -327680, 0, 0, -393216, 65536, 0, -458752, 196608, 9, -524288, 196608, 0, -589824, 196608, 0, -655360, 327680, 2, -720896, 65536, 7, 786431, 0, 3, 720895, 65536, 7, 655359, 0, 4, 589823, 196608, 7, 524287, 196608, 7, 458751, 65536, 9, 393215, 327680, 4, 327679, 65536, 9, 262143, 65536, 8, 196607, 196608, 4, 131071, 131072, 2, 65535, 196608, 3, -1, 131072, 3, -65537, 196608, 2, -131073, 131072, 11, -196609, 262144, 7, -262145, 0, 1, -327681, 65536, 8, -393217, 327680, 1, -458753, 65536, 8, -524289, 131072, 8, -589825, 131072, 9, -655361, 327680, 0, 786430, 65536, 7, 720894, 327680, 4, 655358, 0, 0, 589822, 0, 2, 524286, 262144, 5, 458750, 131072, 0, 393214, 0, 0, 327678, 0, 5, 262142, 196608, 0, 196606, 262144, 6, 131070, 196608, 2, 65534, 196608, 3, -2, 196608, 3, -65538, 131072, 2, -131074, 196608, 1, -196610, 0, 2, -262146, 327680, 5, -327682, 327680, 4, -393218, 131072, 9, -458754, 65536, 9, -524290, 0, 4, -589826, 131072, 5, -655362, 65536, 5, 786429, 196608, 7, 720893, 65536, 9, 655357, 196608, 7, 589821, 327680, 3, 524285, 65536, 10, 458749, 327680, 4, 393213, 262144, 7, 327677, 0, 3, 262141, 196608, 8, 196605, 65536, 4, 131069, 327680, 7, 65533, 65536, 2, -3, 65536, 3, -65539, 327680, 9, -131075, 65536, 1, -196611, 262144, 10, -262147, 196608, 8, -327683, 65536, 7, -393219, 262144, 5, -458755, 262144, 7, -524291, 196608, 5, -589827, 65536, 7, -655363, 196608, 7, 786428, 131072, 5, 720892, 131072, 0, 655356, 196608, 9, 589820, 0, 1, 524284, 65536, 10, 458748, 0, 5, 393212, 262144, 5, 327676, 262144, 5, 262140, 131072, 0, 196604, 0, 3, 131068, 196608, 0, 65532, 327680, 3, -4, 0, 1, -65540, 0, 5, -131076, 327680, 0, -196612, 196608, 9, -262148, 0, 4, -327684, 196608, 9, -393220, 0, 5, -458756, 327680, 2, -524292, 65536, 0, -589828, 0, 5, -655364, 327680, 3, 786427, 196608, 10, 720891, 262144, 5, 655355, 65536, 0, 589819, 131072, 9, 524283, 262144, 0, 458747, 0, 4, 393211, 131072, 0, 327675, 131072, 5, 262139, 327680, 2, 196603, 131072, 7, 131067, 0, 1, 65531, 327680, 3, -5, 65536, 0, -65541, 0, 2, -131077, 196608, 5, -196613, 327680, 1, -262149, 0, 0, -327685, 327680, 5, -393221, 65536, 0, -458757, 327680, 5, -524293, 327680, 1, -589829, 65536, 5, -655365, 262144, 8, 786426, 327680, 3, 720890, 327680, 4, 655354, 65536, 0, 589818, 327680, 5, 524282, 196608, 5, 458746, 262144, 5, 393210, 0, 3, 327674, 196608, 9, 262138, 65536, 0, 196602, 131072, 10, 131066, 0, 1, 65530, 196608, 9, -6, 0, 3, -65542, 0, 4, -131078, 196608, 5, -196614, 65536, 0, -262150, 262144, 5, -327686, 0, 3, -393222, 0, 3, -458758, 196608, 8, -524294, 0, 4, -589830, 262144, 10, -655366, 196608, 0, 786425, 196608, 7, 720889, 262144, 0, 655353, 196608, 0, 589817, 262144, 9, 524281, 0, 1, 458745, 262144, 8, 393209, 327680, 5, 327673, 327680, 0, 262137, 196608, 8, 196601, 131072, 9, 131065, 196608, 8, 65529, 131072, 7, -7, 327680, 0, -65543, 327680, 0, -131079, 0, 1, -196615, 196608, 8, -262151, 65536, 9, -327687, 196608, 5, -393223, 0, 5, -458759, 262144, 10, -524295, 65536, 8, -589831, 65536, 9, -655367, 0, 5, 786424, 196608, 8, 720888, 0, 0, 655352, 262144, 9, 589816, 327680, 4, 524280, 0, 4, 458744, 196608, 9, 393208, 327680, 2, 327672, 0, 2, 262136, 65536, 0, 196600, 0, 1, 131064, 0, 0, 65528, 131072, 0, -8, 0, 0, -65544, 131072, 9, -131080, 131072, 8, -196616, 131072, 0, -262152, 196608, 5, -327688, 131072, 10, -393224, 0, 0, -458760, 0, 5, -524296, 65536, 7, -589832, 131072, 5, -655368, 262144, 7, 786423, 196608, 8, 720887, 327680, 2, 655351, 196608, 9, 589815, 196608, 5, 524279, 131072, 10, 458743, 262144, 8, 393207, 196608, 10, 327671, 65536, 0, 262135, 262144, 10, 196599, 196608, 9, 131063, 131072, 9, 65527, 131072, 5, -9, 131072, 8, -65545, 262144, 9, -131081, 131072, 8, -196617, 65536, 5, -262153, 262144, 8, -327689, 0, 5, -393225, 327680, 3, -458761, 65536, 9, -524297, 327680, 1, -589833, 0, 4, -655369, 0, 1, 786422, 65536, 0, 720886, 196608, 10, 655350, 262144, 5, 589814, 196608, 10, 524278, 262144, 10, 458742, 131072, 5, 393206, 0, 4, 327670, 262144, 7, 262134, 65536, 8, 196598, 327680, 4, 131062, 327680, 3, 65526, 327680, 4, -10, 196608, 8, -65546, 131072, 8, -131082, 131072, 10, -196618, 262144, 5, -262154, 327680, 2, -327690, 131072, 7, -393226, 65536, 5, -458762, 327680, 0, -524298, 131072, 10, -589834, 327680, 0, -655370, 196608, 7, 786421, 196608, 8, 720885, 196608, 7, 655349, 327680, 0, 589813, 196608, 7, 524277, 0, 3, 458741, 327680, 3, 393205, 0, 5, 327669, 131072, 10, 262133, 262144, 9, 196597, 262144, 7, 131061, 65536, 0, 65525, 131072, 7, -11, 0, 4, -65547, 65536, 5, -131083, 131072, 5, -196619, 0, 4, -262155, 327680, 5, -327691, 131072, 0, -393227, 0, 3, -458763, 327680, 1, -524299, 0, 2, -589835, 262144, 10, -655371, 262144, 7, 786420, 65536, 8, 720884, 131072, 8, 655348, 0, 1, 589812, 131072, 10, 524276, 327680, 4, 458740, 0, 0, 393204, 65536, 10, 327668, 131072, 7, 262132, 0, 4, 196596, 327680, 5, 131060, 0, 0, 65524, 0, 0, -12, 131072, 5, -65548, 327680, 1, -131084, 65536, 0, -196620, 196608, 0, -262156, 65536, 10, -327692, 65536, 8, -393228, 65536, 10, -458764, 196608, 8, -524300, 262144, 10, -589836, 0, 5, -655372, 327680, 2, 786419, 262144, 7, 720883, 65536, 9, 655347, 196608, 8, 589811, 196608, 5, 524275, 131072, 9, 458739, 327680, 4, 393203, 0, 0, 327667, 65536, 9, 262131, 327680, 1, 196595, 65536, 5, 131059, 131072, 9, 65523, 196608, 7, -13, 262144, 9, -65549, 196608, 8, -131085, 196608, 8, -196621, 65536, 8, -262157, 262144, 5, -327693, 196608, 9, -393229, 131072, 7, -458765, 262144, 7, -524301, 327680, 3, -589837, 196608, 7, -655373, 196608, 0, 786418, 131072, 5, 720882, 327680, 3, 655346, 327680, 1, 589810, 327680, 0, 524274, 0, 0, 458738, 196608, 10, 393202, 262144, 10, 327666, 327680, 3, 262130, 65536, 9, 196594, 0, 5, 131058, 327680, 1, 65522, 327680, 5, -14, 0, 4, -65550, 65536, 9, -131086, 327680, 5, -196622, 65536, 5, -262158, 131072, 8, -327694, 65536, 5, -393230, 327680, 5, -458766, 262144, 10, -524302, 196608, 5, -589838, 131072, 0, -655374, 196608, 0, 786417, 262144, 8, 720881, 327680, 2, 655345, 327680, 4, 589809, 262144, 0, 524273, 262144, 9, 458737, 196608, 7, 393201, 262144, 5, 327665, 0, 1, 262129, 65536, 10, 196593, 0, 5, 131057, 65536, 9, 65521, 196608, 5, -15, 131072, 7, -65551, 262144, 0, -131087, 65536, 5, -196623, 65536, 8, -262159, 327680, 4, -327695, 196608, 0, -393231, 131072, 7, -458767, 262144, 9, -524303, 65536, 7, -589839, 262144, 8, -655375, 262144, 9, 786416, 65536, 0, 720880, 196608, 8, 655344, 0, 0, 589808, 131072, 7, 524272, 196608, 9, 458736, 0, 3, 393200, 327680, 1, 327664, 327680, 4, 262128, 131072, 9, 196592, 131072, 10, 131056, 262144, 0, 65520, 131072, 5, -16, 65536, 7, -65552, 327680, 4, -131088, 0, 4, -196624, 262144, 10, -262160, 327680, 0, -327696, 196608, 0, -393232, 65536, 8, -458768, 262144, 0, -524304, 196608, 9, -589840, 196608, 5, -655376, 0, 3, 786415, 262144, 0, 720879, 0, 2, 655343, 196608, 8, 589807, 65536, 5, 524271, 262144, 5, 458735, 327680, 1, 393199, 0, 2, 327663, 65536, 10, 262127, 196608, 5, 196591, 262144, 7, 131055, 0, 3, 65519, 262144, 5, -17, 0, 1, -65553, 262144, 10, -131089, 65536, 10, -196625, 196608, 5, -262161, 131072, 0, -327697, 327680, 5, -393233, 65536, 0, -458769, 65536, 5, -524305, 262144, 8, -589841, 196608, 0, -655377, 327680, 5, 786414, 0, 0, 720878, 131072, 0, 655342, 131072, 10, 589806, 65536, 7, 524270, 65536, 5, 458734, 0, 2, 393198, 131072, 7, 327662, 131072, 10, 262126, 196608, 0, 196590, 196608, 8, 131054, 65536, 8, 65518, 327680, 2, -18, 65536, 0, -65554, 196608, 0, -131090, 327680, 3, -196626, 196608, 0, -262162, 131072, 8, -327698, 262144, 5, -393234, 327680, 5, -458770, 262144, 5, -524306, 131072, 0, -589842, 327680, 0, -655378, 262144, 5, 786413, 262144, 5, 720877, 65536, 0, 655341, 196608, 0, 589805, 196608, 10, 524269, 196608, 9, 458733, 262144, 9, 393197, 0, 4, 327661, 196608, 5, 262125, 196608, 0, 196589, 65536, 0, 131053, 0, 2, 65517, 196608, 9, -19, 262144, 5, -65555, 131072, 5, -131091, 327680, 2, -196627, 327680, 4, -262163, 131072, 8, -327699, 65536, 9, -393235, 0, 4, -458771, 0, 4, -524307, 0, 4, -589843, 327680, 3, -655379, 196608, 9, 786412, 65536, 7, 720876, 0, 3, 655340, 65536, 10, 589804, 0, 4, 524268, 0, 4, 458732, 262144, 9, 393196, 131072, 5, 327660, 327680, 1, 262124, 262144, 7, 196588, 65536, 9, 131052, 262144, 10, 65516, 0, 5, -20, 327680, 0, -65556, 327680, 0, -131092, 65536, 9, -196628, 196608, 7, -262164, 262144, 9, -327700, 0, 2, -393236, 196608, 8, -458772, 262144, 9, -524308, 262144, 7, -589844, 262144, 5, -655380, 196608, 8, -786413, 65536, 8, -786414, 131072, 0, -786415, 327680, 5, -786416, 327680, 2, -786417, 65536, 0, -786418, 65536, 8, -786419, 327680, 0, -786420, 0, 3, -786421, 327680, 5, -786422, 65536, 9, -786423, 65536, 7, -786424, 0, 3, -786425, 262144, 5, -786426, 196608, 8, -786427, 65536, 10, -786428, 131072, 8, -786429, 0, 1, -786430, 262144, 5, -786431, 65536, 10, -786432, 327680, 4, -720897, 262144, 8, -720898, 327680, 1, -720899, 196608, 9, -720900, 65536, 5, -720901, 262144, 9, -720902, 327680, 5, -720903, 196608, 0, -720904, 327680, 3, -720905, 327680, 2, -720906, 262144, 10, -720907, 262144, 10, -720908, 0, 2, -720909, 65536, 10, -720910, 262144, 7, -720911, 0, 2, -720912, 327680, 1, -720913, 0, 0, -720914, 131072, 9, -720915, 262144, 8, -720916, 65536, 0) +layer_0/tile_data = PackedInt32Array(720915, 196608, 9, 655379, 65536, 10, 589843, 131072, 8, 524307, 0, 5, 458771, 196608, 10, 393235, 131072, 0, 327699, 327680, 5, 262163, 327680, 5, 196627, 65536, 8, 131091, 65536, 0, 65555, 196608, 7, 19, 262144, 9, -65517, 65536, 9, -131053, 262144, 7, -196589, 65536, 5, -262125, 131072, 8, -327661, 196608, 5, -393197, 131072, 7, -458733, 327680, 1, -524269, 327680, 0, -589805, 327680, 4, -655341, 0, 4, -720877, 262144, 5, 720914, 196608, 0, 655378, 131072, 10, 589842, 327680, 5, 524306, 327680, 2, 458770, 196608, 8, 393234, 327680, 3, 327698, 65536, 0, 262162, 327680, 3, 196626, 65536, 7, 131090, 65536, 0, 65554, 262144, 9, 18, 262144, 8, -65518, 0, 0, -131054, 65536, 8, -196590, 65536, 10, -262126, 196608, 9, -327662, 65536, 7, -393198, 262144, 8, -458734, 262144, 10, -524270, 65536, 10, -589806, 65536, 10, -655342, 327680, 4, -720878, 327680, 5, 720913, 196608, 8, 655377, 196608, 9, 589841, 262144, 0, 524305, 131072, 0, 458769, 327680, 0, 393233, 196608, 8, 327697, 262144, 0, 262161, 327680, 4, 196625, 0, 3, 131089, 327680, 2, 65553, 196608, 0, 17, 262144, 8, -65519, 196608, 8, -131055, 196608, 5, -196591, 327680, 1, -262127, 196608, 9, -327663, 131072, 0, -393199, 196608, 10, -458735, 196608, 9, -524271, 327680, 3, -589807, 262144, 7, -655343, 196608, 10, -720879, 65536, 7, 720912, 65536, 0, 655376, 65536, 0, 589840, 65536, 10, 524304, 262144, 7, 458768, 262144, 0, 393232, 262144, 8, 327696, 0, 2, 262160, 327680, 4, 196624, 65536, 5, 131088, 196608, 7, 65552, 327680, 3, 16, 327680, 0, -65520, 262144, 9, -131056, 327680, 4, -196592, 65536, 5, -262128, 262144, 8, -327664, 196608, 9, -393200, 327680, 1, -458736, 196608, 0, -524272, 196608, 5, -589808, 0, 3, -655344, 196608, 9, -720880, 196608, 10, 720911, 65536, 10, 655375, 262144, 9, 589839, 327680, 0, 524303, 196608, 5, 458767, 327680, 3, 393231, 262144, 5, 327695, 327680, 5, 262159, 0, 2, 196623, 196608, 10, 131087, 65536, 7, 65551, 131072, 0, 15, 262144, 5, -65521, 65536, 5, -131057, 0, 1, -196593, 131072, 8, -262129, 131072, 9, -327665, 327680, 2, -393201, 131072, 7, -458737, 131072, 10, -524273, 262144, 7, -589809, 131072, 7, -655345, 0, 5, -720881, 65536, 0, 720910, 196608, 8, 655374, 131072, 10, 589838, 327680, 5, 524302, 65536, 7, 458766, 65536, 0, 393230, 327680, 0, 327694, 196608, 0, 262158, 65536, 8, 196622, 131072, 7, 131086, 65536, 9, 65550, 131072, 10, 14, 0, 3, -65522, 262144, 9, -131058, 327680, 4, -196594, 65536, 8, -262130, 196608, 5, -327666, 131072, 9, -393202, 262144, 9, -458738, 196608, 10, -524274, 196608, 10, -589810, 131072, 0, -655346, 0, 4, -720882, 65536, 7, 720909, 65536, 5, 655373, 131072, 0, 589837, 0, 0, 524301, 327680, 0, 458765, 65536, 0, 393229, 0, 1, 327693, 262144, 5, 262157, 262144, 5, 196621, 65536, 10, 131085, 65536, 9, 65549, 196608, 7, 13, 262144, 0, -65523, 0, 1, -131059, 262144, 7, -196595, 0, 3, -262131, 65536, 8, -327667, 196608, 8, -393203, 196608, 0, -458739, 262144, 7, -524275, 327680, 0, -589811, 327680, 0, -655347, 65536, 8, -720883, 262144, 9, 720908, 327680, 3, 655372, 196608, 0, 589836, 131072, 7, 524300, 327680, 1, 458764, 327680, 5, 393228, 327680, 1, 327692, 196608, 8, 262156, 65536, 5, 196620, 65536, 8, 131084, 196608, 9, 65548, 65536, 7, 12, 327680, 2, -65524, 0, 3, -131060, 262144, 10, -196596, 262144, 8, -262132, 65536, 0, -327668, 65536, 9, -393204, 262144, 7, -458740, 65536, 8, -524276, 65536, 5, -589812, 327680, 0, -655348, 131072, 8, -720884, 196608, 8, 720907, 327680, 2, 655371, 196608, 8, 589835, 65536, 0, 524299, 131072, 0, 458763, 327680, 1, 393227, 65536, 9, 327691, 65536, 9, 262155, 262144, 4, 196619, 0, 10, 131083, 0, 10, 65547, 262144, 2, 11, 0, 7, -65525, 262144, 3, -131061, 262144, 2, -196597, 262144, 1, -262133, 196608, 8, -327669, 262144, 7, -393205, 262144, 8, -458741, 196608, 7, -524277, 196608, 7, -589813, 196608, 10, -655349, 0, 3, -720885, 131072, 10, 720906, 196608, 10, 655370, 196608, 0, 589834, 196608, 10, 524298, 327680, 3, 458762, 196608, 10, 393226, 131072, 9, 327690, 262144, 4, 262154, 0, 6, 196618, 131072, 2, 131082, 131072, 3, 65546, 196608, 2, 10, 131072, 2, -65526, 196608, 3, -131062, 131072, 3, -196598, 0, 11, -262134, 262144, 1, -327670, 0, 2, -393206, 0, 4, -458742, 65536, 5, -524278, 196608, 10, -589814, 327680, 1, -655350, 262144, 0, -720886, 196608, 5, 720905, 131072, 5, 655369, 131072, 0, 589833, 0, 3, 524297, 327680, 0, 458761, 131072, 7, 393225, 262144, 4, 327689, 0, 6, 262153, 131072, 2, 196617, 196608, 2, 131081, 131072, 2, 65545, 196608, 3, 9, 131072, 3, -65527, 131072, 3, -131063, 131072, 3, -196599, 131072, 3, -262135, 0, 11, -327671, 131072, 11, -393207, 262144, 5, -458743, 0, 3, -524279, 65536, 0, -589815, 65536, 0, -655351, 196608, 5, -720887, 131072, 7, 720904, 0, 3, 655368, 0, 2, 589832, 131072, 9, 524296, 327680, 4, 458760, 0, 9, 393224, 0, 6, 327688, 196608, 2, 262152, 327680, 11, 196616, 65536, 3, 131080, 327680, 9, 65544, 327680, 7, 8, 65536, 2, -65528, 65536, 2, -131064, 327680, 10, -196600, 327680, 7, -262136, 196608, 3, -327672, 0, 11, -393208, 262144, 1, -458744, 65536, 5, -524280, 327680, 5, -589816, 131072, 8, -655352, 0, 0, -720888, 262144, 9, 720903, 196608, 10, 655367, 196608, 0, 589831, 0, 3, 524295, 262144, 4, 458759, 0, 6, 393223, 196608, 3, 327687, 327680, 11, 262151, 65536, 1, 196615, 131072, 0, 131079, 65536, 7, 65543, 131072, 8, 7, 65536, 8, -65529, 65536, 8, -131065, 0, 2, -196601, 327680, 5, -262137, 65536, 4, -327673, 327680, 6, -393209, 0, 11, -458745, 262144, 1, -524281, 131072, 8, -589817, 327680, 4, -655353, 0, 5, -720889, 196608, 10, 720902, 65536, 0, 655366, 0, 5, 589830, 0, 4, 524294, 131072, 6, 458758, 131072, 2, 393222, 196608, 2, 327686, 65536, 11, 262150, 327680, 3, 196614, 196608, 9, 131078, 131072, 10, 65542, 65536, 0, 6, 0, 0, -65530, 327680, 0, -131066, 262144, 9, -196602, 196608, 8, -262138, 0, 4, -327674, 65536, 4, -393210, 131072, 2, -458746, 65536, 11, -524282, 327680, 0, -589818, 65536, 10, -655354, 196608, 7, -720890, 262144, 8, 720901, 262144, 9, 655365, 0, 2, 589829, 65536, 9, 524293, 196608, 6, 458757, 131072, 3, 393221, 327680, 11, 327685, 65536, 1, 262149, 65536, 10, 196613, 327680, 2, 131077, 262144, 10, 65541, 131072, 7, 5, 262144, 8, -65531, 262144, 9, -131067, 196608, 9, -196603, 131072, 0, -262139, 196608, 5, -327675, 196608, 0, -393211, 131072, 4, -458747, 0, 11, -524283, 262144, 1, -589819, 327680, 2, -655355, 0, 4, -720891, 131072, 9, 720900, 131072, 0, 655364, 262144, 0, 589828, 262144, 4, 524292, 0, 6, 458756, 131072, 2, 393220, 262144, 11, 327684, 65536, 0, 262148, 262144, 10, 196612, 196608, 10, 131076, 262144, 9, 65540, 0, 0, 4, 0, 1, -65532, 65536, 9, -131068, 196608, 5, -196604, 0, 3, -262140, 65536, 5, -327676, 131072, 10, -393212, 65536, 6, -458748, 196608, 2, -524284, 131072, 11, -589820, 0, 1, -655356, 65536, 5, -720892, 0, 0, 720899, 327680, 0, 655363, 262144, 4, 589827, 0, 6, 524291, 196608, 2, 458755, 131072, 2, 393219, 131072, 11, 327683, 262144, 8, 262147, 262144, 7, 196611, 0, 5, 131075, 262144, 0, 65539, 327680, 1, 3, 0, 5, -65533, 0, 0, -131069, 262144, 10, -196605, 65536, 5, -262141, 65536, 10, -327677, 262144, 7, -393213, 196608, 6, -458749, 131072, 3, -524285, 0, 11, -589821, 262144, 1, -655357, 196608, 8, -720893, 65536, 10, 720898, 262144, 4, 655362, 0, 6, 589826, 196608, 2, 524290, 196608, 3, 458754, 196608, 3, 393218, 65536, 11, 327682, 327680, 2, 262146, 0, 5, 196610, 0, 1, 131074, 262144, 10, 65538, 65536, 0, 2, 262144, 9, -65534, 0, 3, -131070, 262144, 8, -196606, 262144, 8, -262142, 0, 0, -327678, 131072, 7, -393214, 262144, 6, -458750, 196608, 2, -524286, 196608, 2, -589822, 131072, 1, -655358, 327680, 2, -720894, 131072, 9, 720897, 131072, 3, 655361, 196608, 2, 589825, 131072, 2, 524289, 196608, 3, 458753, 196608, 2, 393217, 131072, 1, 327681, 262144, 9, 262145, 131072, 5, 196609, 131072, 10, 131073, 0, 5, 65537, 131072, 9, 1, 0, 1, -65535, 0, 4, -131071, 196608, 0, -196607, 196608, 7, -262143, 262144, 0, -327679, 327680, 5, -393215, 196608, 4, -458751, 196608, 2, -524287, 131072, 3, -589823, 262144, 11, -655359, 327680, 0, -720895, 65536, 10, 720896, 131072, 3, 655360, 131072, 2, 589824, 196608, 2, 524288, 196608, 2, 458752, 131072, 2, 393216, 131072, 1, 327680, 0, 1, 262144, 196608, 9, 196608, 327680, 4, 131072, 327680, 4, 65536, 131072, 7, 0, 196608, 7, -65536, 262144, 5, -131072, 65536, 7, -196608, 196608, 5, -262144, 131072, 9, -327680, 0, 0, -393216, 65536, 6, -458752, 196608, 2, -524288, 131072, 3, -589824, 262144, 11, -655360, 327680, 2, -720896, 65536, 7, 786431, 131072, 2, 720895, 196608, 2, 655359, 131072, 2, 589823, 131072, 3, 524287, 196608, 3, 458751, 131072, 11, 393215, 327680, 4, 327679, 65536, 9, 262143, 327680, 5, 196607, 0, 0, 131071, 327680, 1, 65535, 0, 5, -1, 131072, 0, -65537, 262144, 7, -131073, 131072, 9, -196609, 196608, 8, -262145, 131072, 8, -327681, 131072, 4, -393217, 131072, 2, -458753, 131072, 2, -524289, 65536, 11, -589825, 131072, 9, -655361, 327680, 0, 720894, 131072, 3, 655358, 131072, 3, 589822, 131072, 2, 524286, 131072, 3, 458750, 196608, 1, 393214, 0, 0, 327678, 196608, 7, 262142, 0, 5, 196606, 196608, 0, 131070, 0, 2, 65534, 65536, 8, -2, 65536, 5, -65538, 0, 5, -131074, 262144, 7, -196610, 327680, 0, -262146, 327680, 5, -327682, 196608, 6, -393218, 196608, 3, -458754, 131072, 2, -524290, 262144, 11, -589826, 131072, 5, -655362, 65536, 5, 786429, 196608, 7, 720893, 131072, 6, 655357, 196608, 3, 589821, 131072, 3, 524285, 196608, 3, 458749, 0, 11, 393213, 262144, 1, 327677, 327680, 1, 262141, 262144, 5, 196605, 65536, 5, 131069, 65536, 8, 65533, 196608, 7, -3, 0, 0, -65539, 196608, 10, -131075, 262144, 0, -196611, 65536, 5, -262147, 196608, 8, -327683, 131072, 4, -393219, 196608, 2, -458755, 196608, 2, -524291, 131072, 1, -589827, 65536, 7, -655363, 196608, 7, 786428, 131072, 5, 720892, 65536, 4, 655356, 327680, 6, 589820, 196608, 3, 524284, 196608, 2, 458748, 131072, 2, 393212, 262144, 11, 327676, 131072, 9, 262140, 262144, 7, 196604, 196608, 8, 131068, 0, 5, 65532, 65536, 5, -4, 327680, 4, -65540, 262144, 7, -131076, 327680, 3, -196612, 196608, 9, -262148, 0, 4, -327684, 131072, 6, -393220, 196608, 2, -458756, 327680, 11, -524292, 65536, 1, -589828, 0, 5, -655364, 327680, 3, 786427, 196608, 10, 720891, 262144, 5, 655355, 65536, 4, 589819, 327680, 6, 524283, 196608, 3, 458747, 131072, 3, 393211, 262144, 11, 327675, 0, 4, 262139, 196608, 5, 196603, 0, 5, 131067, 0, 2, 65531, 196608, 8, -5, 327680, 0, -65541, 196608, 0, -131077, 131072, 7, -196613, 327680, 1, -262149, 262144, 4, -327685, 0, 6, -393221, 196608, 2, -458757, 65536, 11, -524293, 327680, 1, -589829, 65536, 5, -655365, 262144, 8, 786426, 327680, 3, 720890, 327680, 4, 655354, 65536, 0, 589818, 262144, 6, 524282, 131072, 3, 458746, 196608, 3, 393210, 0, 11, 327674, 262144, 1, 262138, 327680, 2, 196602, 131072, 8, 131066, 196608, 9, 65530, 196608, 8, -6, 327680, 2, -65542, 131072, 0, -131078, 131072, 10, -196614, 65536, 0, -262150, 196608, 6, -327686, 131072, 3, -393222, 327680, 11, -458758, 65536, 1, -524294, 0, 4, -589830, 262144, 10, -655366, 196608, 0, 786425, 196608, 7, 720889, 262144, 0, 655353, 196608, 0, 589817, 65536, 4, 524281, 327680, 6, 458745, 196608, 2, 393209, 196608, 3, 327673, 0, 11, 262137, 262144, 1, 196601, 65536, 10, 131065, 327680, 4, 65529, 196608, 0, -7, 131072, 8, -65543, 65536, 0, -131079, 0, 5, -196615, 196608, 8, -262151, 196608, 4, -327687, 196608, 3, -393223, 262144, 11, -458759, 262144, 10, -524295, 65536, 8, -589831, 65536, 9, -655367, 0, 5, 786424, 196608, 8, 720888, 0, 0, 655352, 262144, 9, 589816, 327680, 3, 524280, 65536, 4, 458744, 327680, 6, 393208, 196608, 2, 327672, 196608, 2, 262136, 0, 11, 196600, 262144, 3, 131064, 262144, 1, 65528, 131072, 8, -8, 327680, 4, -65544, 65536, 8, -131080, 262144, 4, -196616, 0, 8, -262152, 0, 6, -327688, 196608, 2, -393224, 131072, 1, -458760, 0, 5, -524296, 65536, 7, -589832, 131072, 5, -655368, 327680, 3, 786423, 196608, 8, 720887, 327680, 2, 655351, 196608, 9, 589815, 131072, 10, 524279, 327680, 5, 458743, 65536, 4, 393207, 327680, 6, 327671, 131072, 2, 262135, 131072, 2, 196599, 131072, 2, 131063, 0, 11, 65527, 0, 8, -9, 0, 7, -65545, 0, 7, -131081, 0, 6, -196617, 131072, 3, -262153, 131072, 2, -327689, 327680, 11, -393225, 65536, 1, -458761, 327680, 1, -524297, 327680, 1, -589833, 0, 4, -655369, 65536, 5, 786422, 65536, 0, 720886, 196608, 10, 655350, 262144, 5, 589814, 196608, 10, 524278, 131072, 10, 458742, 0, 1, 393206, 65536, 4, 327670, 327680, 7, 262134, 327680, 6, 196598, 131072, 3, 131062, 131072, 3, 65526, 131072, 3, -10, 131072, 2, -65546, 196608, 3, -131082, 196608, 2, -196618, 196608, 2, -262154, 327680, 11, -327690, 65536, 1, -393226, 327680, 5, -458762, 65536, 8, -524298, 131072, 10, -589834, 327680, 0, -655370, 262144, 0, 786421, 196608, 8, 720885, 262144, 5, 655349, 65536, 9, 589813, 262144, 10, 524277, 0, 3, 458741, 196608, 8, 393205, 131072, 5, 327669, 196608, 10, 262133, 65536, 4, 196597, 327680, 9, 131061, 327680, 6, 65525, 131072, 2, -11, 196608, 2, -65547, 196608, 2, -131083, 327680, 11, -196619, 327680, 8, -262155, 65536, 1, -327691, 131072, 10, -393227, 131072, 5, -458763, 327680, 1, -524299, 0, 2, -589835, 65536, 5, -655371, 262144, 7, 786420, 65536, 8, 720884, 131072, 8, 655348, 262144, 0, 589812, 65536, 7, 524276, 131072, 10, 458740, 0, 4, 393204, 131072, 0, 327668, 262144, 7, 262132, 196608, 10, 196596, 196608, 5, 131060, 65536, 4, 65524, 65536, 3, -12, 327680, 7, -65548, 327680, 8, -131084, 65536, 1, -196620, 327680, 1, -262156, 327680, 1, -327692, 65536, 9, -393228, 65536, 10, -458764, 196608, 8, -524300, 262144, 5, -589836, 0, 5, -655372, 327680, 2, 786419, 262144, 7, 720883, 65536, 9, 655347, 196608, 8, 589811, 196608, 5, 524275, 327680, 3, 458739, 131072, 0, 393203, 131072, 10, 327667, 131072, 9, 262131, 327680, 0, 196595, 262144, 7, 131059, 327680, 1, 65523, 327680, 1, -13, 262144, 0, -65549, 196608, 9, -131085, 262144, 10, -196621, 327680, 4, -262157, 0, 0, -327693, 131072, 5, -393229, 327680, 5, -458765, 262144, 0, -524301, 327680, 3, -589837, 196608, 7, -655373, 196608, 0, 786418, 131072, 5, 720882, 327680, 3, 655346, 327680, 1, 589810, 327680, 0, 524274, 0, 0, 458738, 196608, 10, 393202, 262144, 10, 327666, 262144, 10, 262130, 65536, 8, 196594, 65536, 5, 131058, 327680, 4, 65522, 327680, 0, -14, 65536, 10, -65550, 65536, 10, -131086, 65536, 9, -196622, 65536, 7, -262158, 262144, 0, -327694, 262144, 10, -393230, 327680, 5, -458766, 262144, 10, -524302, 196608, 5, -589838, 131072, 0, -655374, 196608, 0, 786417, 262144, 8, 720881, 327680, 2, 655345, 327680, 4, 589809, 262144, 0, 524273, 262144, 9, 458737, 196608, 7, 393201, 262144, 5, 327665, 0, 1, 262129, 262144, 0, 196593, 65536, 8, 131057, 0, 5, 65521, 0, 3, -15, 131072, 7, -65551, 262144, 0, -131087, 65536, 5, -196623, 65536, 8, -262159, 327680, 4, -327695, 196608, 0, -393231, 131072, 7, -458767, 262144, 9, -524303, 65536, 7, -589839, 262144, 8, -655375, 262144, 9, 786416, 65536, 0, 720880, 196608, 8, 655344, 0, 0, 589808, 131072, 7, 524272, 196608, 9, 458736, 0, 3, 393200, 327680, 1, 327664, 327680, 4, 262128, 131072, 8, 196592, 131072, 5, 131056, 0, 5, 65520, 131072, 5, -16, 65536, 7, -65552, 327680, 4, -131088, 0, 4, -196624, 262144, 10, -262160, 327680, 0, -327696, 196608, 0, -393232, 65536, 8, -458768, 262144, 0, -524304, 196608, 9, -589840, 196608, 5, -655376, 0, 3, 786415, 262144, 0, 720879, 0, 2, 655343, 196608, 8, 589807, 65536, 5, 524271, 262144, 5, 458735, 327680, 1, 393199, 0, 2, 327663, 65536, 10, 262127, 196608, 5, 196591, 262144, 7, 131055, 0, 3, 65519, 262144, 5, -17, 0, 1, -65553, 262144, 10, -131089, 65536, 10, -196625, 196608, 5, -262161, 131072, 0, -327697, 327680, 5, -393233, 65536, 0, -458769, 65536, 5, -524305, 262144, 8, -589841, 196608, 0, -655377, 327680, 5, 786414, 0, 0, 720878, 131072, 0, 655342, 131072, 10, 589806, 65536, 7, 524270, 65536, 5, 458734, 0, 2, 393198, 131072, 7, 327662, 131072, 10, 262126, 196608, 0, 196590, 196608, 8, 131054, 65536, 8, 65518, 327680, 2, -18, 65536, 0, -65554, 196608, 0, -131090, 327680, 3, -196626, 196608, 0, -262162, 131072, 8, -327698, 262144, 5, -393234, 327680, 5, -458770, 262144, 5, -524306, 131072, 0, -589842, 327680, 0, -655378, 262144, 5, 786413, 262144, 5, 720877, 65536, 0, 655341, 196608, 0, 589805, 196608, 10, 524269, 196608, 9, 458733, 262144, 9, 393197, 0, 4, 327661, 196608, 5, 262125, 196608, 0, 196589, 65536, 0, 131053, 0, 2, 65517, 196608, 9, -19, 262144, 5, -65555, 131072, 5, -131091, 327680, 2, -196627, 327680, 4, -262163, 131072, 8, -327699, 65536, 9, -393235, 0, 4, -458771, 0, 4, -524307, 0, 4, -589843, 327680, 3, -655379, 196608, 9, 786412, 65536, 7, 720876, 0, 3, 655340, 65536, 10, 589804, 0, 4, 524268, 0, 4, 458732, 262144, 9, 393196, 131072, 5, 327660, 327680, 1, 262124, 262144, 7, 196588, 65536, 9, 131052, 262144, 10, 65516, 0, 5, -20, 327680, 0, -65556, 327680, 0, -131092, 65536, 9, -196628, 196608, 7, -262164, 262144, 9, -327700, 0, 2, -393236, 196608, 8, -458772, 262144, 9, -524308, 262144, 7, -589844, 262144, 5, -655380, 196608, 8, -786413, 65536, 8, -786414, 131072, 0, -786415, 327680, 5, -786416, 327680, 2, -786417, 65536, 0, -786418, 65536, 8, -786419, 327680, 0, -786420, 0, 3, -786421, 327680, 5, -786422, 65536, 9, -786423, 65536, 7, -786424, 0, 3, -786425, 262144, 5, -786426, 196608, 8, -786427, 65536, 10, -786428, 131072, 8, -786429, 0, 1, -786430, 262144, 5, -786431, 65536, 10, -786432, 327680, 4, -720897, 262144, 8, -720898, 327680, 1, -720899, 196608, 9, -720900, 65536, 5, -720901, 262144, 9, -720902, 327680, 5, -720903, 196608, 0, -720904, 327680, 3, -720905, 327680, 2, -720906, 262144, 10, -720907, 262144, 10, -720908, 0, 2, -720909, 65536, 10, -720910, 262144, 7, -720911, 0, 2, -720912, 327680, 1, -720913, 0, 0, -720914, 131072, 9, -720915, 262144, 8, -720916, 65536, 0, 786430, 196608, 6) [node name="DecoTileMap" type="TileMap" parent="."] z_index = -20 scale = Vector2(2, 2) tile_set = SubResource("TileSet_mqnve") format = 2 -layer_0/tile_data = PackedInt32Array(458707, 131079, 1, 1310675, 65543, 0, 720852, 65543, 0, 393173, 7, 2, 1048535, 131079, 1, -524328, 65543, 1, -852007, 65543, 0, 65497, 131079, 0, 1310681, 131079, 1, 393179, 7, 2, 65500, 7, 2, -720930, 65543, 0, -1441825, 131079, 0, -1048609, 131079, 0, -33, 7, 2, 327648, 131079, 0, -1572894, 131079, 1, 65507, 65543, 1, 1245155, 65543, 0, -1376284, 7, 2, -327708, 65543, 1, -589850, 131079, 1, 1441766, 131079, 0, -25, 131079, 1, 458727, 131079, 0, -1703960, 131079, 0, -262167, 131079, 1, -196631, 131079, 1, 589801, 65543, 1, -131094, 65543, 1, 65514, 65543, 1, 720874, 131079, 0, 786410, 131079, 0, -524309, 65543, 1, 524268, 65543, 0, 1245164, 131079, 1, -1441811, 7, 2, -917522, 131079, 1, -589842, 65543, 1, 1572846, 131079, 0, -393233, 131079, 0, -17, 65543, 0, 1638385, 65543, 0, -1376270, 131079, 0, -458766, 131079, 0, 262130, 65543, 1, -524301, 65543, 0, 917491, 131079, 1, 196596, 131079, 1, 1048564, 131079, 1, -1638411, 131079, 0, 1376245, 131079, 1, -917514, 65543, 0, -1507335, 131079, 0, 1310713, 131079, 1, -720902, 65543, 0, 1376252, 131079, 1, -1048575, 131079, 0, -1703933, 131079, 1, 1048579, 7, 2, -1507323, 131079, 0, -1114105, 65543, 1, 524295, 65543, 0, 917511, 7, 2, -1048568, 65543, 1, -65528, 65543, 1, -1769463, 7, 2, -851959, 131079, 0, 851978, 65543, 1, -327669, 131079, 1, 983053, 131079, 0, 131086, 131079, 1, -327665, 65543, 1, -1245167, 7, 2, -917487, 131079, 1, -327663, 131079, 0, 1114130, 65543, 0, -1376237, 65543, 0, -327660, 131079, 1, 1179668, 131079, 1, 1376276, 131079, 0, 1638420, 65543, 1, 786453, 65543, 0, -720874, 131079, 1, -589802, 7, 2, 196630, 131079, 1, -720873, 131079, 1, -589801, 65543, 0, 589847, 65543, 0, 786457, 65543, 1, -1572837, 131079, 0, -786404, 65543, 1, 786460, 131079, 1, 29, 7, 2, -1245153, 131079, 0, -851936, 65543, 1, 393248, 7, 2, 262179, 65543, 0, 786467, 65543, 0, -1769436, 65543, 0, 1179685, 7, 2, 1572901, 131079, 1, 1179686, 65543, 1, -1703897, 131079, 0, -1114073, 7, 2, -458712, 7, 2, 983080, 131079, 0, -1507287, 65543, 1, -1441750, 7, 2, 1048618, 7, 2, -851925, 65543, 0, -655316, 131079, 0) [node name="GameCamera" parent="." instance=ExtResource("2_db5xs")] @@ -922,74 +915,174 @@ collision_mask = 0 [node name="Shape" type="CollisionShape2D" parent="Walls/LeftBoundary"] shape = SubResource("WorldBoundaryShape2D_htttx") -[node name="SummoningCirclePentagram" parent="." instance=ExtResource("16_nhsrb")] -position = Vector2(-321, -191) - -[node name="DefaultSpawnParent" type="Node2D" parent="."] +[node name="Entities" type="Node2D" parent="."] unique_name_in_owner = true y_sort_enabled = true -[node name="Skull" parent="DefaultSpawnParent" instance=ExtResource("6_5k7gy")] -position = Vector2(2, 3) +[node name="SummoningCirclePentagram" parent="Entities" instance=ExtResource("16_nhsrb")] -[node name="Monocle" parent="DefaultSpawnParent" instance=ExtResource("7_lahut")] -position = Vector2(-56, 56) +[node name="Barn" parent="Entities" instance=ExtResource("20_tek4w")] +position = Vector2(530, -217) -[node name="TopHat" parent="DefaultSpawnParent" instance=ExtResource("8_atoon")] -position = Vector2(56, -50) +[node name="Animator" parent="Entities/Barn" index="5"] +speed_scale = 8.0 -[node name="Sheep" parent="DefaultSpawnParent" instance=ExtResource("9_qrqqu")] -position = Vector2(-310, 166) +[node name="Tree" parent="Entities" instance=ExtResource("18_r8twr")] +position = Vector2(-198, -21) -[node name="Imp2" parent="DefaultSpawnParent" instance=ExtResource("10_yw228")] -position = Vector2(408, 225) +[node name="Tree2" parent="Entities" instance=ExtResource("18_r8twr")] +position = Vector2(108, -114) -[node name="Imp" parent="DefaultSpawnParent" instance=ExtResource("10_yw228")] -position = Vector2(393, -137) +[node name="Tree3" parent="Entities" instance=ExtResource("18_r8twr")] +position = Vector2(480, 241) -[node name="Sheep2" parent="DefaultSpawnParent" instance=ExtResource("9_qrqqu")] -position = Vector2(-415, 202) +[node name="Tree4" parent="Entities" instance=ExtResource("18_r8twr")] +position = Vector2(171, 118) -[node name="Sheep3" parent="DefaultSpawnParent" instance=ExtResource("9_qrqqu")] -position = Vector2(-386, 112) +[node name="Tree5" parent="Entities" instance=ExtResource("18_r8twr")] +position = Vector2(374, -132) -[node name="Sheep4" parent="DefaultSpawnParent" instance=ExtResource("9_qrqqu")] -position = Vector2(-314, 261) +[node name="Tree6" parent="Entities" instance=ExtResource("18_r8twr")] +position = Vector2(439, 88) -[node name="Sheep5" parent="DefaultSpawnParent" instance=ExtResource("9_qrqqu")] -position = Vector2(-211, 241) +[node name="Tree7" parent="Entities" instance=ExtResource("18_r8twr")] +position = Vector2(426, 169) -[node name="Sheep6" parent="DefaultSpawnParent" instance=ExtResource("9_qrqqu")] -position = Vector2(-491, 137) +[node name="Tree8" parent="Entities" instance=ExtResource("18_r8twr")] +position = Vector2(520, 0) -[node name="Sheep7" parent="DefaultSpawnParent" instance=ExtResource("9_qrqqu")] -position = Vector2(-177, 154) +[node name="Tree9" parent="Entities" instance=ExtResource("18_r8twr")] +position = Vector2(546, 269) -[node name="Chupacabra" parent="DefaultSpawnParent" instance=ExtResource("11_ixo4x")] -position = Vector2(6, -210) +[node name="Tree10" parent="Entities" instance=ExtResource("18_r8twr")] +position = Vector2(-369, -248) -[node name="Watcher" parent="DefaultSpawnParent" instance=ExtResource("14_8rumi")] -position = Vector2(189, 171) +[node name="Tree11" parent="Entities" instance=ExtResource("18_r8twr")] +position = Vector2(-366, -152) -[node name="Cthulhu" parent="DefaultSpawnParent" instance=ExtResource("15_k41qf")] -position = Vector2(226, -137) +[node name="Tree12" parent="Entities" instance=ExtResource("18_r8twr")] +position = Vector2(-421, -73) -[node name="Tree" parent="." instance=ExtResource("18_r8twr")] -position = Vector2(424, 68) +[node name="Tree13" parent="Entities" instance=ExtResource("18_r8twr")] +position = Vector2(-411, 22) -[node name="Tree2" parent="." instance=ExtResource("18_r8twr")] -position = Vector2(385, 104) +[node name="Tree14" parent="Entities" instance=ExtResource("18_r8twr")] +position = Vector2(-346, 238) -[node name="Tree3" parent="." instance=ExtResource("18_r8twr")] -position = Vector2(341, 143) +[node name="Tree15" parent="Entities" instance=ExtResource("18_r8twr")] +position = Vector2(-290, 312) -[node name="Tree4" parent="." instance=ExtResource("18_r8twr")] -position = Vector2(341, 247) +[node name="Tree16" parent="Entities" instance=ExtResource("18_r8twr")] +position = Vector2(334, 340) -[node name="Tree5" parent="." instance=ExtResource("18_r8twr")] -position = Vector2(379, 292) +[node name="Tree17" parent="Entities" instance=ExtResource("18_r8twr")] +position = Vector2(-210, 357) -[node name="Barn" parent="." instance=ExtResource("20_tek4w")] -position = Vector2(472, -245) +[node name="Tree18" parent="Entities" instance=ExtResource("18_r8twr")] +position = Vector2(156, -282) -[connection signal="recipe_matched" from="SummoningCirclePentagram" to="." method="_on_recipe_matched"] +[node name="Tree19" parent="Entities" instance=ExtResource("18_r8twr")] +position = Vector2(-148, -304) + +[node name="Gold" parent="Entities" instance=ExtResource("13_56o7t")] +position = Vector2(-600, -260) + +[node name="Gold2" parent="Entities" instance=ExtResource("13_56o7t")] +position = Vector2(-600, -280) + +[node name="Gold3" parent="Entities" instance=ExtResource("13_56o7t")] +position = Vector2(-600, -300) + +[node name="Gold4" parent="Entities" instance=ExtResource("13_56o7t")] +position = Vector2(-600, -320) + +[node name="Gold5" parent="Entities" instance=ExtResource("13_56o7t")] +position = Vector2(-600, -340) + +[node name="Gold6" parent="Entities" instance=ExtResource("13_56o7t")] +position = Vector2(-580, -320) + +[node name="Gold7" parent="Entities" instance=ExtResource("13_56o7t")] +position = Vector2(-560, -300) + +[node name="Gold8" parent="Entities" instance=ExtResource("13_56o7t")] +position = Vector2(-540, -280) + +[node name="Gold9" parent="Entities" instance=ExtResource("13_56o7t")] +position = Vector2(-520, -260) + +[node name="Gold10" parent="Entities" instance=ExtResource("13_56o7t")] +position = Vector2(-500, -240) + +[node name="Gold11" parent="Entities" instance=ExtResource("13_56o7t")] +position = Vector2(-480, -220) + +[node name="Gold12" parent="Entities" instance=ExtResource("13_56o7t")] +position = Vector2(-600, -240) + +[node name="Gold13" parent="Entities" instance=ExtResource("13_56o7t")] +position = Vector2(-600, -220) + +[node name="Gold14" parent="Entities" instance=ExtResource("13_56o7t")] +position = Vector2(-600, -200) + +[node name="Gold15" parent="Entities" instance=ExtResource("13_56o7t")] +position = Vector2(-600, -200) + +[node name="Gold16" parent="Entities" instance=ExtResource("13_56o7t")] +position = Vector2(-600, -180) + +[node name="Gold17" parent="Entities" instance=ExtResource("13_56o7t")] +position = Vector2(-600, -160) + +[node name="Gold18" parent="Entities" instance=ExtResource("13_56o7t")] +position = Vector2(-580, -160) + +[node name="Gold19" parent="Entities" instance=ExtResource("13_56o7t")] +position = Vector2(-560, -180) + +[node name="Gold20" parent="Entities" instance=ExtResource("13_56o7t")] +position = Vector2(-500, -200) + +[node name="Gold21" parent="Entities" instance=ExtResource("13_56o7t")] +position = Vector2(-520, -200) + +[node name="Gold22" parent="Entities" instance=ExtResource("13_56o7t")] +position = Vector2(-520, -180) + +[node name="Gold23" parent="Entities" instance=ExtResource("13_56o7t")] +position = Vector2(-500, -160) + +[node name="Gold24" parent="Entities" instance=ExtResource("13_56o7t")] +position = Vector2(-520, -140) + +[node name="Gold25" parent="Entities" instance=ExtResource("13_56o7t")] +position = Vector2(-540, -160) + +[node name="Tree20" parent="Entities" instance=ExtResource("18_r8twr")] +position = Vector2(-520, 200) + +[node name="Tree21" parent="Entities" instance=ExtResource("18_r8twr")] +position = Vector2(-540, -360) + +[node name="Tree22" parent="Entities" instance=ExtResource("18_r8twr")] +position = Vector2(-660, 20) + +[node name="Tree23" parent="Entities" instance=ExtResource("18_r8twr")] +position = Vector2(-580, 420) + +[node name="Tree24" parent="Entities" instance=ExtResource("18_r8twr")] +position = Vector2(400, -320) + +[node name="Tree25" parent="Entities" instance=ExtResource("18_r8twr")] +position = Vector2(620, 280) + +[node name="Tree26" parent="Entities" instance=ExtResource("18_r8twr")] +position = Vector2(-160, 420) + +[node name="Tree27" parent="Entities" instance=ExtResource("18_r8twr")] +position = Vector2(120, 480) + +[connection signal="recipe_matched" from="Entities/SummoningCirclePentagram" to="." method="_on_recipe_matched"] + +[editable path="Entities/Barn"]