From ce6c221f2b6e384720e367ba89b7ed34a75e99ef Mon Sep 17 00:00:00 2001 From: Sara Date: Thu, 2 Apr 2026 17:53:41 +0200 Subject: [PATCH] chore: adjusted generation rules for higher levels --- project/scenes/levels/dungeon.tscn | 27 +++++++++++++++++++++++---- 1 file changed, 23 insertions(+), 4 deletions(-) diff --git a/project/scenes/levels/dungeon.tscn b/project/scenes/levels/dungeon.tscn index 9748cc563e..d978730e12 100644 --- a/project/scenes/levels/dungeon.tscn +++ b/project/scenes/levels/dungeon.tscn @@ -403,6 +403,15 @@ prtppp ppptpp pppppp" +[sub_resource type="Sentence" id="Sentence_sgi67"] +size = Vector2i(6, 6) +symbols_string = "tppppp +pptppp +ptpptp +ptptpp +pptppp +pppppp" + [sub_resource type="Sentence" id="Sentence_xpg6y"] size = Vector2i(6, 6) symbols_string = "xxxxxx @@ -421,6 +430,15 @@ ppppep pppppp pppppp" +[sub_resource type="Sentence" id="Sentence_se4rm"] +size = Vector2i(6, 6) +symbols_string = "pppppp +pteppp +ppptpp +ppeptp +pptppp +pppppp" + [sub_resource type="Sentence" id="Sentence_bpp8a"] size = Vector2i(6, 6) symbols_string = "xxxxxx @@ -639,7 +657,8 @@ deterministic = true pattern = SubResource("Sentence_7nnh5") results_dict = { SubResource("Sentence_jmha0"): 1.0, -SubResource("Sentence_yks8u"): 1.0 +SubResource("Sentence_yks8u"): 1.0, +SubResource("Sentence_sgi67"): 1.0 } match_min_difficulty = 1 match_max_difficulty = 1 @@ -648,7 +667,8 @@ deterministic = true [node name="Level2" type="ReplaceRule" parent="Generator/Generate/DefineRooms" unique_id=210943413] pattern = SubResource("Sentence_xpg6y") results_dict = { -SubResource("Sentence_0656m"): 1.0 +SubResource("Sentence_0656m"): 1.0, +SubResource("Sentence_se4rm"): 1.0 } match_min_difficulty = 2 match_max_difficulty = 2 @@ -663,11 +683,10 @@ match_min_difficulty = 3 match_max_difficulty = 3 deterministic = true -[node name="Level4" type="ReplaceRule" parent="Generator/Generate/DefineRooms" unique_id=2147354258] +[node name="Level4AndUp" type="ReplaceRule" parent="Generator/Generate/DefineRooms" unique_id=2147354258] pattern = SubResource("Sentence_qfnhn") results_dict = { SubResource("Sentence_ew7fp"): 1.0 } match_min_difficulty = 4 -match_max_difficulty = 4 deterministic = true