/* vi: set ts=2: +-------------------+ Christian Schlittchen | | Enno Rehling | Eressea PBEM host | Katja Zedel | (c) 1998 - 2001 | Henning Peters | | Ingo Wilken +-------------------+ Stefan Reich This program may not be used, modified or distributed without prior permission by the authors of Eressea. */ #include #include #include "xmas2001.h" /* kernel includes */ #include #include #include /* gamecode includes */ #include "xmas.h" /* util includes */ #include #include #include #include static void presents(unit * senior) { /* Ein Mistelzweig für alle Anführer */ static const item_type * itype = NULL; if (itype==NULL) itype = it_find("mistletoe"); assert(itype!=NULL); i_change(&senior->items, itype, 1); } int xmas2001(void) { region * r = findregion(0, 0); unit * santa = make_santa(r); santa_comes_to_town(r, santa, presents); return 0; }