1
0
Fork 0
mirror of https://github.com/ganelson/inform.git synced 2024-07-05 16:44:21 +03:00
inform7/Documentation/Examples/Palette.txt
2019-02-05 00:44:07 +00:00

21 lines
1.3 KiB
Plaintext

* Understanding values
(Colour names for exotic pigments; Palette)
An artist's workshop in which the canvas can be painted in any colour, and where painterly names for pigments ("cerulean") are accepted alongside everyday ones ("blue").
There are hundreds of traditional pigments, from lampblack to burnt sienna, so we will confine ourselves to just two:
{*}"Palette"
The Atelier is a room. "The floridly untidy loft space used by a moderately unsuccessful artist (you, that is)." The canvas, palette and paint brush are here. Understand "painting" as the canvas.
Colour is a kind of value. The colours are white, red, blue and green.
The canvas has a colour. The canvas is white. The printed name of the canvas is "largely [colour] canvas".
Painting is an action applying to one thing and one colour. Check painting: if the noun is not the canvas, say "Centuries of tradition suggest that canvas is the natural home of paint." instead. Carry out painting: now the colour of the canvas is the colour understood. Report painting: say "You splash away at the now [canvas]."
Understand "paint [something] [a colour]" as painting.
Understand "calico" as white. Understand "cerulean" or "cerulean blue" as blue.
Test me with "examine canvas / paint canvas red / examine canvas / paint canvas cerulean / examine canvas".