summaryrefslogtreecommitdiffstats
path: root/crawl-ref/docs
diff options
context:
space:
mode:
authorEnne Walker <ennewalker@users.sourceforge.net>2009-12-23 23:32:52 -0500
committerEnne Walker <ennewalker@users.sourceforge.net>2009-12-24 00:15:48 -0500
commitbcc249f77c1459b75b7a4f96b018a15569e675b3 (patch)
tree72ad82e9ff51f45396c95933e3583437ab5489fb /crawl-ref/docs
parent5b9916a319a570598c8cd54e916eb10dab0eb916 (diff)
downloadcrawl-ref-bcc249f77c1459b75b7a4f96b018a15569e675b3.tar.gz
crawl-ref-bcc249f77c1459b75b7a4f96b018a15569e675b3.zip
Basic support for tile recolouring.
Added %variation, %repeat, %desat, %lum, %hue, %pal, %resetcol commands to rltiles. Also, multiple enum synonyms can now be specified. Documentation on all rltiles commands is forthcoming. Sorry. Added coloured variations for a number of floor and wall tiles, removing duplicate source art where it made sense. The variations probably need some adjusting to look less like fruit salad. COLOUR in a vault specification will now automatically try to pick coloured variations of basic floor and rock wall tiles by default. It will also pick coloured variations of any tiles specified by FTILE/RTILE/TILE. I'll leave it as an exercise for due to generalize this to features and monsters. tile_dngn_coloured (and corresponding functions for other tile sheets) can be used to look up coloured variations for a given tile index.
Diffstat (limited to 'crawl-ref/docs')
-rw-r--r--crawl-ref/docs/develop/levels/syntax.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/crawl-ref/docs/develop/levels/syntax.txt b/crawl-ref/docs/develop/levels/syntax.txt
index 0a7b56d7e2..d99fb5faf9 100644
--- a/crawl-ref/docs/develop/levels/syntax.txt
+++ b/crawl-ref/docs/develop/levels/syntax.txt
@@ -821,6 +821,9 @@ COLOUR: . = green / blue:5 / red / none
Even more so than base colours, elemental colours should be used
very, very, very sparingly.
+ Colours apply automatically to floor and rock wall tiles, although
+ not all branches have coloured variations for their tile set.
+
FTILE: . = floor_grass:20 / floor_dirt / none
Similar to COLOUR, FTILE allows you to attach explicit floor
tiles to any glyph. In non-tiles builds, this does nothing.
@@ -838,6 +841,9 @@ FTILE: . = floor_grass:20 / floor_dirt / none
Like COLOUR, this should be used sparingly.
+ If COLOUR is also specified and there is a coloured variation
+ of this tile, then it will be used.
+
RTILE: x = wall_hive:15 / wall_lair / none
Identical to FTILE, but for rock walls. Not useful for anything
but the rock wall feature.
@@ -854,6 +860,9 @@ TILE: x = wall_flesh
Like COLOUR and FTILE, this should be used sparingly and to good
effect.
+ If COLOUR is also specified and there is a coloured variation
+ of this tile, then it will be used.
+
To override doors, use the specific tile set in combination with the
"no_random" specifier. Example:
+ = no_random dngn_fleshy_orifice