SoF and hollow passages

Having trouble with the game? Report issues and get help here. Read this first!

Moderator: Forum Moderators

Forum rules
Before reporting issues in this section, you must read the following topic:
Post Reply
vghetto
Posts: 316
Joined: November 2nd, 2019, 5:12 pm

SoF and hollow passages

Post by vghetto »

Hi,

I'm testing stuff in the lua cave map generator and I noticed that you cannot create a passage to a chamber that is not yet defined.
As an example, this will not create a passage between chamber above and below

Code: Select all

[chamber]
    id=above_chamber
    x=21
    y=13
    [item_location]
        id = 2
        place_castle = yes
    [/item_location]
    [passage]
        destination=below_chamber
    [/passage]
[/chamber]
[chamber]
    id=below_chamber
    x=21
    y=29
    [item_location]
        id = 1
        place_castle = yes
    [/item_location]
[/chamber]
But the following will create the passage.

Code: Select all

[chamber]
    id=above_chamber
    x=21
    y=13
    [item_location]
        id = 2
        place_castle = yes
    [/item_location]
[/chamber]
[chamber]
    id=below_chamber
    x=21
    y=29
    [item_location]
        id = 1
        place_castle = yes
    [/item_location]
    [passage]
        destination=above_chamber
    [/passage]
[/chamber]
The scenario 4_Gathering_Materials in SoF is doing just that. I think the passages in that scenario need to be reviewed.

Thanks
Post Reply