mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-20 19:31:00 +00:00

Now it uses modules in a sub-directory, to reduce the bloat in the main file. Updated castle graphics, improved them not tiling well since they became 72x72. There is still work to be done. Added forest-to-castle transitions.
31 lines
678 B
INI
31 lines
678 B
INI
|
|
# Attachs an image to a single terrain tile, with a given probability.
|
|
# example: {TERRAIN_BASE_PROBABILITY g grassland-rocks 20}
|
|
|
|
#define TERRAIN_BASE_PROBABILITY LETTER IMAGE PROBABILITY
|
|
[terrain_graphics]
|
|
[tile]
|
|
x=0
|
|
y=0
|
|
type="{LETTER}"
|
|
[image]
|
|
z_index=-99
|
|
name={IMAGE}
|
|
[/image]
|
|
[/tile]
|
|
|
|
probability={PROBABILITY}
|
|
no_flag="terrain-{LETTER}"
|
|
set_flag="terrain-{LETTER}"
|
|
[/terrain_graphics]
|
|
#enddef
|
|
|
|
# Same as above, but with 100% probability
|
|
# example: {TERRAIN_BASE g grassland}
|
|
# Should be last on the list: when a terrain has been placed, no other one can.
|
|
|
|
#define TERRAIN_BASE LETTER IMAGE
|
|
{TERRAIN_BASE_PROBABILITY ({LETTER}) {IMAGE} 100}
|
|
#enddef
|
|
|