Sign in to follow this  

Some issue with ruins generation


Mr.Oshiro
  • Pending

1.The two layouts "barracks" and "altar" can't generate all ruin walls,but other ruins layouts can be fully generated.

820466313_2.thumb.png.349a4b853f5351e0aa4f0e2ff0fd9476.png 1169963677_1.thumb.png.3bc0235d706be14f9b8cc5a14ab4d35b.png

altar.luabarracks.lua

 

2.The name of the "SacredBarracks" does not correspond to the file."barracks" should be changed to "sacred_barracks".1649894242_QQ20220604032625.thumb.png.09906f546f218c0e1894175a2555c410.png

sacred_barracks.lua

3.The two tasks "Military" and ""MilitaryPits""sometimes don't generate the maze partor are very small。The "Sacred" is sometimes mixed.

AddTask("MilitaryPits", {
    locks={LOCKS.TIER3, LOCKS.RUINS},
    keys_given= {KEYS.TIER4, KEYS.RUINS},
    room_tags = {"Nightmare"},
    entrance_room = "MilitaryEntrance",
    room_choices =
    {
        ["MilitaryMaze"] = 3,
        ["Barracks"] = 3,
    },
    room_bg = GROUND.TILES,
    maze_tiles = {rooms = {"pit_room_armoury", "pit_hallway_armoury", "pit_room_armoury_two"}, bosses = {"pit_room_armoury_two"}},
    background_room="MilitaryMaze",
    colour={r=0.6,g=0.6,b=0.0,a=1},
})

AddTask("Military", {
    locks={LOCKS.TIER3, LOCKS.RUINS},
    keys_given= {KEYS.TIER4, KEYS.RUINS},
    room_tags = {"Nightmare"},
    entrance_room = "MilitaryEntrance",
    room_choices =
    {
        ["MilitaryMaze"] = 4,
        ["Barracks"] = 1,
    },
    room_bg = GROUND.TILES,
    maze_tiles = {rooms = {"room_armoury", "hallway_armoury", "room_armoury_two"}, bosses = {"room_armoury_two"}},
    background_room="MilitaryMaze",
    colour={r=0.6,g=0.6,b=0.0,a=1},
})

1908377034_4.thumb.png.e1eac10aefa7198c781a34ff0eda69d2.png  1459437538_.thumb.png.a6925ebbd069f2ea9d5643ccc9622071.png


Steps to Reproduce

Create a new world.,then enter the cave and find the ruins area.

Observe the map of the ruins.

  • Like 1
Sign in to follow this  


User Feedback


There are no comments to display.



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now