chore: adjusted generation rules

This commit is contained in:
Sara Gerretsen 2026-04-01 14:58:57 +02:00
parent d5986ab495
commit 4abd100724

View file

@ -56,14 +56,14 @@ upppu
[sub_resource type="Sentence" id="Sentence_pbld3"]
size = Vector2i(5, 4)
symbols_string = "####*
u#u#*
u#u#u
u####
uuu*u"
[sub_resource type="Sentence" id="Sentence_06kf8"]
size = Vector2i(5, 4)
symbols_string = "####*
uuu#*
uuu#u
uuu##
uuu*u"
@ -83,7 +83,7 @@ uupuu
size = Vector2i(3, 3)
symbols_string = "*u*
u#u
###"
*#*"
[sub_resource type="Sentence" id="Sentence_q0ye3"]
size = Vector2i(3, 3)
@ -91,17 +91,33 @@ symbols_string = "*u*
uuu
###"
[sub_resource type="Sentence" id="Sentence_7ibwp"]
size = Vector2i(2, 1)
symbols_string = "xx"
[sub_resource type="Sentence" id="Sentence_gm6wd"]
size = Vector2i(2, 1)
symbols_string = "px"
[sub_resource type="Sentence" id="Sentence_lpnri"]
size = Vector2i(2, 1)
symbols_string = "xp"
[sub_resource type="Sentence" id="Sentence_c7dwr"]
size = Vector2i(3, 3)
symbols_string = "###
#s#
###"
size = Vector2i(5, 5)
symbols_string = "sssss
sssss
sssss
sssss
sssss"
[sub_resource type="Sentence" id="Sentence_ohg4i"]
size = Vector2i(3, 3)
symbols_string = "ppp
psp
ppp"
size = Vector2i(5, 5)
symbols_string = "ppppp
ppppp
ppspp
ppppp
ppppp"
[sub_resource type="Sentence" id="Sentence_b4io3"]
size = Vector2i(4, 4)
@ -145,6 +161,22 @@ pppu
ppuu
uuuu"
[sub_resource type="Sentence" id="Sentence_5ax7p"]
size = Vector2i(2, 1)
symbols_string = "pu"
[sub_resource type="Sentence" id="Sentence_ntpuo"]
size = Vector2i(2, 1)
symbols_string = "pw"
[sub_resource type="Sentence" id="Sentence_25vwi"]
size = Vector2i(2, 1)
symbols_string = "xu"
[sub_resource type="Sentence" id="Sentence_wvupy"]
size = Vector2i(2, 1)
symbols_string = "xw"
[node name="Dungeon" type="Node3D" unique_id=719313039]
[node name="WorldEnvironment" type="WorldEnvironment" parent="." unique_id=860593247]
@ -159,13 +191,14 @@ state = SubResource("Sentence_bb2w7")
tiles_dict = {
"p": ExtResource("1_wail4"),
"s": ExtResource("2_srduu"),
"u": ExtResource("4_yc5ro"),
"w": ExtResource("4_yc5ro"),
"x": ExtResource("3_s5a2w")
}
[node name="Generate" type="CompositeRule" parent="Generator" unique_id=474042789]
[node name="InitialLayout" type="RepeatRuleUntilFailure" parent="Generator/Generate" unique_id=612040827]
random_order = true
[node name="ZigUp" type="ReplaceRule" parent="Generator/Generate/InitialLayout" unique_id=1073931523]
pattern = SubResource("Sentence_s5a2w")
@ -192,8 +225,17 @@ results_dict = {
SubResource("Sentence_q0ye3"): 1.0
}
[node name="ClearAdjacent" type="RepeatRuleUntilFailure" parent="Generator/Generate" unique_id=1503159395]
[node name="ReplaceRule" type="ReplaceRule" parent="Generator/Generate/ClearAdjacent" unique_id=1043806381]
pattern = SubResource("Sentence_7ibwp")
results_dict = {
SubResource("Sentence_gm6wd"): 1.0,
SubResource("Sentence_lpnri"): 1.0
}
[node name="ResizeRule" type="ResizeRule" parent="Generator/Generate" unique_id=630306379]
factor = 3
factor = 5
[node name="SingleStart" type="ReplaceRule" parent="Generator/Generate" unique_id=80625713]
pattern = SubResource("Sentence_c7dwr")
@ -216,3 +258,17 @@ results_dict = {
SubResource("Sentence_eijdf"): 1.0,
SubResource("Sentence_5lcvo"): 1.0
}
[node name="AddWalls" type="RepeatRuleUntilFailure" parent="Generator/Generate" unique_id=351448478]
[node name="Path" type="ReplaceRule" parent="Generator/Generate/AddWalls" unique_id=1194164836]
pattern = SubResource("Sentence_5ax7p")
results_dict = {
SubResource("Sentence_ntpuo"): 1.0
}
[node name="Room" type="ReplaceRule" parent="Generator/Generate/AddWalls" unique_id=1878579537]
pattern = SubResource("Sentence_25vwi")
results_dict = {
SubResource("Sentence_wvupy"): 1.0
}