/* vi: set ts=2: +-------------------+ Christian Schlittchen | | Enno Rehling | Eressea PBEM host | Katja Zedel | (c) 1998 - 2003 | 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 "racespoils.h" #include #include /* kernel includes */ #include /* libc includes */ #include resource_type rt_elfspoil = { { "elfspoil", "elfspoil_p" }, { "elfspoil", "elfspoil_p" }, RTF_ITEM|RTF_POOLED, &res_changeitem }; item_type it_elfspoil = { &rt_elfspoil, /* resourcetype */ 0, 1, 0, /* flags, weight, capacity */ NULL, /* construction */ NULL, /* use */ NULL /* give */ }; resource_type rt_demonspoil = { { "demonspoil", "demonspoil_p" }, { "demonspoil", "demonspoil_p" }, RTF_ITEM|RTF_POOLED, &res_changeitem }; item_type it_demonspoil = { &rt_demonspoil, /* resourcetype */ 0, 1, 0, /* flags, weight, capacity */ NULL, /* construction */ NULL, /* use */ NULL /* give */ }; resource_type rt_goblinspoil = { { "goblinspoil", "goblinspoil_p" }, { "goblinspoil", "goblinspoil_p" }, RTF_ITEM|RTF_POOLED, &res_changeitem }; item_type it_goblinspoil = { &rt_goblinspoil, /* resourcetype */ 0, 1, 0, /* flags, weight, capacity */ NULL, /* construction */ NULL, /* use */ NULL /* give */ }; resource_type rt_dwarfspoil = { { "dwarfspoil", "dwarfspoil_p" }, { "dwarfspoil", "dwarfspoil_p" }, RTF_ITEM|RTF_POOLED, &res_changeitem }; item_type it_dwarfspoil = { &rt_dwarfspoil, /* resourcetype */ 0, 1, 0, /* flags, weight, capacity */ NULL, /* construction */ NULL, /* use */ NULL /* give */ }; resource_type rt_halflingspoil = { { "halflingspoil", "halflingspoil_p" }, { "halflingspoil", "halflingspoil_p" }, RTF_ITEM|RTF_POOLED, &res_changeitem }; item_type it_halflingspoil = { &rt_halflingspoil, /* resourcetype */ 0, 1, 0, /* flags, weight, capacity */ NULL, /* construction */ NULL, /* use */ NULL /* give */ }; resource_type rt_humanspoil = { { "humanspoil", "humanspoil_p" }, { "humanspoil", "humanspoil_p" }, RTF_ITEM|RTF_POOLED, &res_changeitem }; item_type it_humanspoil = { &rt_humanspoil, /* resourcetype */ 0, 1, 0, /* flags, weight, capacity */ NULL, /* construction */ NULL, /* use */ NULL /* give */ }; resource_type rt_aquarianspoil = { { "aquarianspoil", "aquarianspoil_p" }, { "aquarianspoil", "aquarianspoil_p" }, RTF_ITEM|RTF_POOLED, &res_changeitem }; item_type it_aquarianspoil = { &rt_aquarianspoil, /* resourcetype */ 0, 1, 0, /* flags, weight, capacity */ NULL, /* construction */ NULL, /* use */ NULL /* give */ }; resource_type rt_insectspoil = { { "insectspoil", "insectspoil_p" }, { "insectspoil", "insectspoil_p" }, RTF_ITEM|RTF_POOLED, &res_changeitem }; item_type it_insectspoil = { &rt_insectspoil, /* resourcetype */ 0, 1, 0, /* flags, weight, capacity */ NULL, /* construction */ NULL, /* use */ NULL /* give */ }; resource_type rt_catspoil = { { "catspoil", "catspoil_p" }, { "catspoil", "catspoil_p" }, RTF_ITEM|RTF_POOLED, &res_changeitem }; item_type it_catspoil = { &rt_catspoil, /* resourcetype */ 0, 1, 0, /* flags, weight, capacity */ NULL, /* construction */ NULL, /* use */ NULL /* give */ }; resource_type rt_orcspoil = { { "orcspoil", "orcspoil_p" }, { "orcspoil", "orcspoil_p" }, RTF_ITEM|RTF_POOLED, &res_changeitem }; item_type it_orcspoil = { &rt_orcspoil, /* resourcetype */ 0, 1, 0, /* flags, weight, capacity */ NULL, /* construction */ NULL, /* use */ NULL /* give */ }; resource_type rt_trollspoil = { { "trollspoil", "trollspoil_p" }, { "trollspoil", "trollspoil_p" }, RTF_ITEM|RTF_POOLED, &res_changeitem }; item_type it_trollspoil = { &rt_trollspoil, /* resourcetype */ 0, 1, 0, /* flags, weight, capacity */ NULL, /* construction */ NULL, /* use */ NULL /* give */ }; resource_type rt_phoenixfeather = { { "phoenixfeather", "phoenixfeather_p" }, { "phoenixfeather", "phoenixfeather_p" }, RTF_ITEM|RTF_POOLED, &res_changeitem }; item_type it_phoenixfeather = { &rt_phoenixfeather, /* resourcetype */ 0, 1, 0, /* flags, weight, capacity */ NULL, /* construction */ NULL, /* use */ NULL /* give */ }; void register_racespoils(void) { it_register(&it_elfspoil); it_register(&it_demonspoil); it_register(&it_goblinspoil); it_register(&it_dwarfspoil); it_register(&it_halflingspoil); it_register(&it_humanspoil); it_register(&it_aquarianspoil); it_register(&it_insectspoil); it_register(&it_catspoil); it_register(&it_orcspoil); it_register(&it_trollspoil); it_register(&it_phoenixfeather); }