[Package Index | Mudlib Index | Effect Index]
Written by Kaylar
Started June 2005
void add_pattern(int page_number, string name, string * messages, string difficulty, int times)
For embroidery: add_pattern( 4, "rose", ({ "It is embroidered with a single rose created in $colours$ thread.\n", "A beautiful rose created from $colours$ thread has been embroidered " "on the $item$.\n", "A small but beautiful bunch of $colours$ roses has been delicately " "embroidered on the $item$.\n", "A lovely bouquet of $colours$ roses has been skillfully embroidered " "on it.\n", "It has an unattractive rose embroidered on it.\n", "A rose is embroidered on it with crooked $colours$ stitches.\n", "A mess of $colours$ stitches marr the $item$.\n", "It is embroidered with chaotic collection of $colours$ stitches.\n" }), "difficult", 3 );
For quilting: add_pattern( 5, "trailing ivy", "It has been quilted all over with a pattern of trailing ivy in " "$colours$ thread.\n", "A pattern of trailing ivy has been quilted on it in $colours$ " "thread.\n", "Delicate quilting in a pattern of trailing ivy decorates the " "$item$ in $colours$ thread.\n", "A beautiful pattern of trailing ivy has been quilted on it in " "$colours$ thread.\n", "A simple pattern of trailing ivy has been quilted on it in $colours$ " "thread.\n", "It is quilted with a messy pattern of trailing ivy in $colours$ " "thread.\n", "A few wobbly $colours$ lines have been quilted on it.\n", "A few wobbly $colours$ lines have been quilted on it.\n" }), "easy", 3 );
For appliqueing: add_pattern( 3, "cat", ({ "cat", "neatly cut cat", "cute cat", "elegant cat", "poorly cut cat", "crooked cat", "ragged cat", "deformed cat" }), "difficult", 0 );
int do_tear(int number)
string query_craft_type()
int query_flexible()
int query_pattern_book()
mixed query_pattern_info(int page_number)
mapping query_patterns()
void set_craft_type(string craft_type)
set_craft_type( "engraving" );