54 lines
1.1 KiB
Plaintext
54 lines
1.1 KiB
Plaintext
|
General format:
|
||
|
@id:textual_name
|
||
|
@map
|
||
|
EITHER
|
||
|
map definition
|
||
|
OR
|
||
|
random(minw,minh)
|
||
|
@end
|
||
|
@legend
|
||
|
k:mon:kobold
|
||
|
s:ob:50:short sword
|
||
|
#:cell:stone wall
|
||
|
@end
|
||
|
@flags
|
||
|
...
|
||
|
@end
|
||
|
|
||
|
Legend is:
|
||
|
c:type:what[:pct]
|
||
|
|
||
|
c = any letter
|
||
|
type = ob, mon or cell
|
||
|
pct = optional pct chance of appearing
|
||
|
what = text of what this letter represents
|
||
|
|
||
|
Flags can be:
|
||
|
at(x,y) type:what[:pct] // put what at position x,y
|
||
|
'type' can be: ob, mon, cell
|
||
|
coords can be negative ("count back from right/bottom")
|
||
|
|
||
|
box(x,y,x2,y2) type:what[:pct] // outline box with what
|
||
|
fill(x,y,x2,y2) type:what[:pct] // filled box with what
|
||
|
coords can be negative ("count back from right/bottom")
|
||
|
|
||
|
scatter(x,y,x2,y2) type:what:howmany[:pct] // scatter what within region
|
||
|
howmany can be:
|
||
|
- a number (x)
|
||
|
- a range (x-y)
|
||
|
- a pct of the total region cells (x%)
|
||
|
coords can be negative ("count back from right/bottom")
|
||
|
|
||
|
|
||
|
autodoors // automatically add at least one door to the edges of
|
||
|
// this room.
|
||
|
|
||
|
autopop // automatically add obs/mons/pillars to this room
|
||
|
|
||
|
NOTES:
|
||
|
when adding lfs/objects, "random" creates a random one.
|
||
|
|
||
|
|
||
|
|
||
|
|