wesnoth/data/core/terrain-graphics/enduring-trash.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

305 lines
5.0 KiB
INI

#textdomain wesnoth
# this does not use any external macros
#define TRASH_DISABLE TERRAIN
#arg FLAG
detritus_medium#endarg
[terrain_graphics]
map="
, *
* , *
, 1
* , *
, *"
[tile]
pos=1
type={TERRAIN}
set_flag=litter_base,{FLAG},{FLAG}_drawn
[/tile]
probability=100
[/terrain_graphics]
#enddef
#define TRASH_A TERRAIN PROB IMAGESTEM
[terrain_graphics]
map="
, *
* , *
, 1
* , *
, *"
[tile]
pos=1
type={TERRAIN}
set_no_flag=litter_base
[/tile]
probability={PROB}
[image]
name={IMAGESTEM}-@V.png
variations="1;2;3;4;5"
base=90,144
center=90,144
layer=-201
[/image]
[/terrain_graphics]
#enddef
#define LITTER_BASE TERRAIN IMAGESTEM
[terrain_graphics]
map="
, *
* , *
, 1
* , *
, *"
[tile]
pos=1
type={TERRAIN}
set_no_flag=litter_base
[/tile]
probability=100
[image]
name={IMAGESTEM}@V.png
variations=";2;3;4;5;6"
base=90,144
center=90,144
layer=-201
[/image]
[/terrain_graphics]
#enddef
##################### two neighbours ########################
#define TRASH_B TERRAIN FLAG PROB VARIATIONS IMAGE
# set flags
[terrain_graphics]
map="
, *
* , *
, 1
2 , 2
, *"
[tile]
pos=1
type={TERRAIN}
set_no_flag={FLAG}
[/tile]
[tile]
pos=2
type={TERRAIN}
has_flag=litter_base
no_flag={FLAG}
[/tile]
probability=100
[/terrain_graphics]
[terrain_graphics]
map="
, *
* , 2
, 1
* , 2
, *"
[tile]
pos=1
type={TERRAIN}
set_no_flag={FLAG}
[/tile]
[tile]
pos=2
type={TERRAIN}
has_flag=litter_base
no_flag={FLAG}
[/tile]
probability=100
[/terrain_graphics]
[terrain_graphics]
map="
, *
2 , 2
, 1
* , *
, *"
[tile]
pos=1
type={TERRAIN}
set_no_flag={FLAG}
[/tile]
[tile]
pos=2
type={TERRAIN}
has_flag=litter_base
no_flag={FLAG}
[/tile]
probability=100
[/terrain_graphics]
[terrain_graphics]
map="
, *
2 , *
, 1
2 , *
, *"
[tile]
pos=1
type={TERRAIN}
set_no_flag={FLAG}
[/tile]
[tile]
pos=2
type={TERRAIN}
has_flag=litter_base
no_flag={FLAG}
[/tile]
probability=100
[/terrain_graphics]
# draw images
[terrain_graphics]
map="
, *
* , *
, 1
* , *
, *"
[tile]
pos=1
type={TERRAIN}
has_flag={FLAG}
set_no_flag={FLAG}_drawn
[/tile]
probability={PROB}
[image]
name={IMAGE}-@V.png
variations={VARIATIONS}
base=90,144
center=90,144
layer=-200
[/image]
[/terrain_graphics]
#enddef
############################## Major ##########################
#define TRASH_C TERRAIN FLAG FLAG2 PROB VARIATIONS IMAGE
# set flags
[terrain_graphics]
map="
, 2
3 , 3
, 1
3 , 3
, 2"
[tile]
pos=1
type={TERRAIN}
set_no_flag={FLAG}
[/tile]
[tile]
pos=2
has_flag={FLAG2}
no_flag={FLAG}
[/tile]
[tile]
pos=3
no_flag={FLAG}
[/tile]
probability=100
[/terrain_graphics]
[terrain_graphics]
map="
, 3
3 , 2
, 1
2 , 3
, 3"
[tile]
pos=1
type={TERRAIN}
set_no_flag={FLAG}
[/tile]
[tile]
pos=2
has_flag={FLAG2}
no_flag={FLAG}
[/tile]
[tile]
pos=3
no_flag={FLAG}
[/tile]
probability=100
[/terrain_graphics]
[terrain_graphics]
map="
, 3
2 , 3
, 1
3 , 2
, 3"
[tile]
pos=1
type={TERRAIN}
set_no_flag={FLAG}
[/tile]
[tile]
pos=2
has_flag={FLAG2}
no_flag={FLAG}
[/tile]
[tile]
pos=3
no_flag={FLAG}
[/tile]
probability=100
[/terrain_graphics]
# draw images
[terrain_graphics]
map="
, *
* , *
, 1
* , *
, *"
[tile]
pos=1
type={TERRAIN}
has_flag={FLAG}
set_no_flag={FLAG}_drawn
[/tile]
probability={PROB}
[image]
name={IMAGE}-@V.png
variations={VARIATIONS}
base=90,144
center=90,144
layer=-199
[/image]
[/terrain_graphics]
#enddef