Page 1 of 1

Defining multiple tiles for zone generation

Posted: Sun Dec 15, 2013 6:00 am
by StarKeep
So, while trying to make a zone that makes use of two types of 'walls' and two types of ground, random black spots would appear. These are walkable, however, it breaks auto-explore, and events such as Font of Life.
I feel stupid... but does anybody know why it would do this?
Worth noting that I tried simply numbering both types 1-20, and while it fixed events, it still had random black spots.

Code: Select all

map = {
	class = "engine.generator.map.Roomer",
	nb_rooms = 10,
	edge_entrances = {6,4},
	rooms = {"forest_clearing"},
	['.'] = {"ROCKY_GROUND", "BURNT_GROUND"},
	['#'] = {"BURNT_TREE","ROCKY_SNOWY_TREE"},
	up = "ROCKY_UP6",
	down = "ROCKY_DOWN4",
	door = "ROCKY_GROUND",
},

Re: Defining multiple tiles for zone generation

Posted: Sun Dec 15, 2013 8:03 pm
by darkgod
Black spot means nothing corresponding to one of those names was found, make sure they are loaded/defined

Re: Defining multiple tiles for zone generation

Posted: Sun Dec 15, 2013 8:50 pm
by StarKeep
Turns out BURNT_TREE is only defined as 1-20, while the other three all have a simple base... curious, that.

Thanks for pointing me in the right direction.