Skip to content

Commit

Permalink
Disable Backhalls grammar when level is Nature Mode
Browse files Browse the repository at this point in the history
  • Loading branch information
dashodanger committed Aug 19, 2024
1 parent 172c913 commit 71df6e1
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions scripts/area.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2892,11 +2892,7 @@ function Area_create_rooms(LEVEL, SEEDS)
table.add_unique(level_grammar, SHAPES.OBLIGE_745)
end

if PARAM.float_grammar_map_01 and rand.odds(PARAM.float_grammar_map_01) then
table.add_unique(level_grammar, SHAPES.MAP_01)
end

if PARAM.float_grammar_backhalls and rand.odds(PARAM.float_grammar_backhalls) then
if PARAM.float_grammar_backhalls and LEVEL.is_nature == false and rand.odds(PARAM.float_grammar_backhalls) then
table.add_unique(level_grammar, SHAPES.BACKHALLS)
end

Expand Down

0 comments on commit 71df6e1

Please sign in to comment.