wesnoth/data/core/terrain-graphics/deprecated-mountains.cfg
doofus-01 19fcc1424f
Deprecation of old-style _PLFB and script-generated macros
1.17 terrain-graphics macros clean-up (#6606)
2022-04-16 10:01:09 -07:00

623 lines
13 KiB
INI

#textdomain wesnoth
#Macro for 4-Hex mountains
#define MOUNTAINS_2x2 TERRAIN PROB FLAG IMAGESTEM
#deprecated 2 1.19.0 Use the NEW:MOUNTAIN macros instead
[terrain_graphics]
map="
., *, .
, *, *
*, 1, *
, 1, 1
*, 1, *
, *, *
., *, .
, ., ."
[tile]
pos=1
type={TERRAIN}
set_no_flag={FLAG}
[/tile]
[image]
name={BUILD_IMAGE IMAGE_SINGLE {IMAGESTEM} _1@V}
variations=";_2;_3;_4;_5;_6;_7;_8;_9"
base=90,107
[/image]
[image]
name={BUILD_IMAGE IMAGE_SINGLE {IMAGESTEM} _2@V}
variations=";_2;_3;_4;_5;_6;_7;_8;_9"
base=144,107
[/image]
[image]
name={BUILD_IMAGE IMAGE_SINGLE {IMAGESTEM} _3@V}
variations=";_2;_3;_4;_5;_6;_7;_8;_9"
base=198,107
[/image]
probability={PROB}
[/terrain_graphics]
#enddef
#define MOUNTAINS_2x4_NW_SE TERRAIN PROB FLAG IMAGESTEM
#deprecated 2 1.19.0 Use the NEW:MOUNTAIN macros instead
[terrain_graphics]
map="
., *, ., .
, *, *, .
*, 1, *, .
, 1, 1, *
*, 1, 1, *
, *, 1, 1
., *, 1, *
, ., *, *"
[tile]
pos=1
type={TERRAIN}
set_no_flag={FLAG}
[/tile]
[image]
name={BUILD_IMAGE IMAGE_SINGLE {IMAGESTEM} _1@V}
variations=";_2;_3;_4;_5;_6;_7;_8;_9"
base=90,107
[/image]
[image]
name={BUILD_IMAGE IMAGE_SINGLE {IMAGESTEM} _2@V}
variations=";_2;_3;_4;_5;_6;_7;_8;_9"
base=144,107
[/image]
[image]
name={BUILD_IMAGE IMAGE_SINGLE {IMAGESTEM} _3@V}
variations=";_2;_3;_4;_5;_6;_7;_8;_9"
base=198,73
[/image]
[image]
name={BUILD_IMAGE IMAGE_SINGLE {IMAGESTEM} _4@V}
variations=";_2;_3;_4;_5;_6;_7;_8;_9"
base=252,108
[/image]
[image]
name={BUILD_IMAGE IMAGE_SINGLE {IMAGESTEM} _5@V}
variations=";_2;_3;_4;_5;_6;_7;_8;_9"
base=306,144
[/image]
probability={PROB}
[/terrain_graphics]
#enddef
#define MOUNTAINS_2x4_SW_NE TERRAIN PROB FLAG IMAGESTEM
#deprecated 2 1.19.0 Use the NEW:MOUNTAIN macros instead
[terrain_graphics]
map="
., ., *, .
, ., *, *
., *, 1, *
, *, 1, 1
*, 1, 1, *
, 1, 1, *
*, 1, *, .
, *, *, ."
[tile]
pos=1
type={TERRAIN}
set_no_flag={FLAG}
[/tile]
[image]
name={BUILD_IMAGE IMAGE_SINGLE {IMAGESTEM} _1@V}
variations=";_2;_3;_4;_5;_6;_7;_8;_9"
base=90,144
[/image]
[image]
name={BUILD_IMAGE IMAGE_SINGLE {IMAGESTEM} _2@V}
variations=";_2;_3;_4;_5;_6;_7;_8;_9"
base=144,108
[/image]
[image]
name={BUILD_IMAGE IMAGE_SINGLE {IMAGESTEM} _3@V}
variations=";_2;_3;_4;_5;_6;_7;_8;_9"
base=198,73
[/image]
[image]
name={BUILD_IMAGE IMAGE_SINGLE {IMAGESTEM} _4@V}
variations=";_2;_3;_4;_5;_6;_7;_8;_9"
base=252,107
[/image]
[image]
name={BUILD_IMAGE IMAGE_SINGLE {IMAGESTEM} _5@V}
variations=";_2;_3;_4;_5;_6;_7;_8;_9"
base=306,107
[/image]
probability={PROB}
[/terrain_graphics]
#enddef
#define MOUNTAINS_1x3_NW_SE TERRAIN PROB FLAG IMAGESTEM
#deprecated 2 1.19.0 Use the NEW:MOUNTAIN macros instead
[terrain_graphics]
map="
., ., ., .
, *, ., .
*, *, ., .
, 1, *, .
*, 1, *, .
, *, 1, *
., *, *, .
, ., *, ."
[tile]
pos=1
type={TERRAIN}
set_no_flag={FLAG}
[/tile]
[image]
name={BUILD_IMAGE IMAGE_SINGLE {IMAGESTEM} _1@V}
variations=";_2;_3;_4;_5;_6;_7;_8;_9"
base=90,107
[/image]
[image]
name={BUILD_IMAGE IMAGE_SINGLE {IMAGESTEM} _2@V}
variations=";_2;_3;_4;_5;_6;_7;_8;_9"
base=144,107
[/image]
[image]
name={BUILD_IMAGE IMAGE_SINGLE {IMAGESTEM} _3@V}
variations=";_2;_3;_4;_5;_6;_7;_8;_9"
base=198,144
[/image]
probability={PROB}
[/terrain_graphics]
#enddef
#define MOUNTAINS_1x3_SW_NE TERRAIN PROB FLAG IMAGESTEM
#deprecated 2 1.19.0 Use the NEW:MOUNTAIN macros instead
[terrain_graphics]
map="
., ., ., .
, ., *, .
., *, *, .
, *, 1, *
*, 1, *, .
, 1, *, .
*, *, ., .
, ., ., ."
[tile]
pos=1
type={TERRAIN}
set_no_flag={FLAG}
[/tile]
[image]
name={BUILD_IMAGE IMAGE_SINGLE {IMAGESTEM} _1@V}
variations=";_2;_3;_4;_5;_6;_7;_8;_9"
base=90,144
[/image]
[image]
name={BUILD_IMAGE IMAGE_SINGLE {IMAGESTEM} _2@V}
variations=";_2;_3;_4;_5;_6;_7;_8;_9"
base=144,107
[/image]
[image]
name={BUILD_IMAGE IMAGE_SINGLE {IMAGESTEM} _3@V}
variations=";_2;_3;_4;_5;_6;_7;_8;_9"
base=198,107
[/image]
probability={PROB}
[/terrain_graphics]
#enddef
#define MOUNTAIN_SINGLE TERRAIN PROB FLAG IMAGESTEM
#deprecated 2 1.19.0 Use the NEW:MOUNTAIN macros instead
[terrain_graphics]
map="
, *
* , *
, 1
* , *
, *"
[tile]
pos=1
type={TERRAIN}
set_no_flag={FLAG}
[/tile]
[image]
name={BUILD_IMAGE IMAGE_SINGLE {IMAGESTEM} ()}
base=90,107
center=90,144
variations=";2;3;4;5;6"
[/image]
probability={PROB}
[/terrain_graphics]
#enddef
#define MOUNTAIN_SINGLE_RANDOM TERRAIN FLAG IMAGESTEM
#deprecated 2 1.19.0 Use the NEW:MOUNTAIN macros instead
{MOUNTAIN_SINGLE ({TERRAIN}) 100 {FLAG} {IMAGESTEM}@V}
#enddef
#define MOUNTAIN_RESTRICTED TERRAIN ADJACENT FLAG IMAGESTEM
#deprecated 2 1.19.0 Use the NEW:MOUNTAIN macros instead
# Places directional small mountains. The single-direction versions are six
# separate rules instead of one with rotations, because the exact layering
# doesn't work when the base coordinates get rotated too.
[terrain_graphics]
map="
, 2
3, 3
, 1
3, 3
, 3"
[tile]
pos=1
type={TERRAIN}
set_no_flag={FLAG},mountain-small-1
[/tile]
[tile]
pos=2
type={ADJACENT}
[/tile]
[tile]
pos=3
type=!,{ADJACENT}
[/tile]
[image]
name={BUILD_IMAGE IMAGE_SINGLE {IMAGESTEM} -n}
base=90,143
center=90,144
variations=";2;3;4;5;6"
[/image]
[/terrain_graphics]
[terrain_graphics]
map="
, 3
3, 2
, 1
3, 3
, 3"
[tile]
pos=1
type={TERRAIN}
set_no_flag={FLAG},mountain-small-1
[/tile]
[tile]
pos=2
type={ADJACENT}
[/tile]
[tile]
pos=3
type=!,{ADJACENT}
[/tile]
[image]
name={BUILD_IMAGE IMAGE_SINGLE {IMAGESTEM} -ne}
base=90,143
center=90,144
variations=";2;3;4;5;6"
[/image]
[/terrain_graphics]
[terrain_graphics]
map="
, 3
3, 3
, 1
3, 2
, 3"
[tile]
pos=1
type={TERRAIN}
set_no_flag={FLAG},mountain-small-1
[/tile]
[tile]
pos=2
type={ADJACENT}
[/tile]
[tile]
pos=3
type=!,{ADJACENT}
[/tile]
[image]
name={BUILD_IMAGE IMAGE_SINGLE {IMAGESTEM} -se}
base=90,143
center=90,144
variations=";2;3;4;5;6"
[/image]
[/terrain_graphics]
[terrain_graphics]
map="
, 3
3, 3
, 1
3, 3
, 2"
[tile]
pos=1
type={TERRAIN}
set_no_flag={FLAG},mountain-small-1
[/tile]
[tile]
pos=2
type={ADJACENT}
[/tile]
[tile]
pos=3
type=!,{ADJACENT}
[/tile]
[image]
name={BUILD_IMAGE IMAGE_SINGLE {IMAGESTEM} -s}
base=90,143
center=90,144
variations=";2;3;4;5;6"
[/image]
[/terrain_graphics]
[terrain_graphics]
map="
, 3
3, 3
, 1
2, 3
, 3"
[tile]
pos=1
type={TERRAIN}
set_no_flag={FLAG},mountain-small-1
[/tile]
[tile]
pos=2
type={ADJACENT}
[/tile]
[tile]
pos=3
type=!,{ADJACENT}
[/tile]
[image]
name={BUILD_IMAGE IMAGE_SINGLE {IMAGESTEM} -sw}
base=90,143
center=90,144
variations=";2;3;4;5;6"
[/image]
[/terrain_graphics]
[terrain_graphics]
map="
, 3
2, 3
, 1
3, 3
, 3"
[tile]
pos=1
type={TERRAIN}
set_no_flag={FLAG},mountain-small-1
[/tile]
[tile]
pos=2
type={ADJACENT}
[/tile]
[tile]
pos=3
type=!,{ADJACENT}
[/tile]
[image]
name={BUILD_IMAGE IMAGE_SINGLE {IMAGESTEM} -nw}
base=90,143
center=90,144
variations=";2;3;4;5;6"
[/image]
[/terrain_graphics]
[terrain_graphics]
map="
, 2
3, 2
, 1
3, 3
, 3"
[tile]
pos=1
type={TERRAIN}
set_no_flag={FLAG},mountain-small-2
[/tile]
[tile]
pos=2
type={ADJACENT}
[/tile]
[tile]
pos=3
type=!,{ADJACENT}
[/tile]
rotations=n,ne,se,s,sw,nw
[image]
name={BUILD_IMAGE IMAGE_SINGLE {IMAGESTEM} -@R0-@R1}
base=90,143
center=90,144
variations=";2;3;4;5;6"
[/image]
[/terrain_graphics]
# Marks all the hexes for which a matching directional image was not found
# with the mountain-small-3 flag, so it can be filled by MOUNTAIN_SMALL
# after multihex tiles have been placed.
[terrain_graphics]
map="
, 2
*, *
, 1
*, *
, *"
[tile]
pos=1
type={TERRAIN}
no_flag={FLAG},mountain-small-1,mountain-small-2
set_flag=mountain-small-3
[/tile]
[tile]
pos=2
type={ADJACENT}
[/tile]
rotations=n,ne,se,s,sw,nw
[/terrain_graphics]
#enddef
#define MOUNTAIN_SMALL TERRAIN ADJACENT FLAG IMAGESTEM
#deprecated 2 1.19.0 Use the NEW:MOUNTAIN macros instead
[terrain_graphics]
map="
, *
*, *
, 1
*, *
, *"
[tile]
pos=1
type={TERRAIN}
set_no_flag={FLAG}
has_flag=mountain-small-3
[/tile]
[image]
name={BUILD_IMAGE IMAGE_SINGLE {IMAGESTEM} ()}
base=90,108
center=90,144
variations=";2;3;4;5;6"
[/image]
[/terrain_graphics]
#enddef
#
# Macros for mountain peaks
#
#define PEAKS_LARGE TERRAIN PROB FLAG IMAGESTEM
#deprecated 2 1.19.0 Use the NEW:PEAKS macros instead
[terrain_graphics]
map="
., .
, *
*, *
, 1
2, 2
, 2"
[tile]
pos=1
type={TERRAIN}
set_no_flag={FLAG}
[/tile]
[tile]
pos=2
type={TERRAIN}
[/tile]
[image]
name={BUILD_IMAGE IMAGE_SINGLE {IMAGESTEM} ()}
layer=2
[/image]
probability={PROB}
[/terrain_graphics]
#enddef
#define PEAKS_1x2_SW_NE TERRAIN PROB FLAG IMAGESTEM
#deprecated 2 1.19.0 Use the NEW:PEAKS macros instead
[terrain_graphics]
map="
., .
, *, *
*, 1
, 1, 2
*, 2
, 2, *"
[tile]
pos=1
type={TERRAIN}
set_no_flag={FLAG}
[/tile]
[tile]
pos=2
type={TERRAIN}
[/tile]
[image]
name={BUILD_IMAGE IMAGE_SINGLE {IMAGESTEM} _1}
layer=1
[/image]
[image]
name={BUILD_IMAGE IMAGE_SINGLE {IMAGESTEM} _2}
layer=2
[/image]
probability={PROB}
[/terrain_graphics]
#enddef
#define VOLCANO_2x2 TERRAIN ADJACENT PROB FLAG IMAGESTEM
#deprecated 2 1.19.0 Use the NEW:PEAKS macros instead
[terrain_graphics]
map="
., *, .
, *, *
*, 1, *
, 2, 2
*, 2, *
, *, *
., *, .
, ., ."
[tile]
pos=1
type={TERRAIN}
set_no_flag={FLAG}
[/tile]
[tile]
pos=2
type={ADJACENT}
set_no_flag={FLAG}
[/tile]
[image]
name={BUILD_IMAGE IMAGE_SINGLE {IMAGESTEM} _1}
base=90,107
[/image]
[image]
name={BUILD_IMAGE IMAGE_SINGLE {IMAGESTEM} _2}
base=144,107
[/image]
[image]
name={BUILD_IMAGE IMAGE_SINGLE {IMAGESTEM} _3}
base=198,107
[/image]
probability={PROB}
[/terrain_graphics]
#enddef