SoF and hollow passages
Moderator: Forum Moderators
Forum rules
Before reporting issues in this section, you must read the following topic:
Before reporting issues in this section, you must read the following topic:
SoF and hollow passages
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
But the following will create the passage.
The scenario 4_Gathering_Materials in SoF is doing just that. I think the passages in that scenario need to be reviewed.
Thanks
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]
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]
Thanks