- racespoils... xml fehlt noch, kompiliert aber wieder

This commit is contained in:
Christian Schlittchen 2002-05-05 17:38:35 +00:00
parent b82f48e12e
commit c978a0f77d
3 changed files with 115 additions and 6 deletions

View File

@ -99,15 +99,90 @@ item_type it_halflingspoil = {
NULL /* give */
};
resource_type rt_halflingspoil = {
{ "halflingspoil", "halflingspoil_p" },
{ "halflingspoil", "halflingspoil_p" },
resource_type rt_humanspoil = {
{ "humanspoil", "humanspoil_p" },
{ "humanspoil", "humanspoil_p" },
RTF_ITEM|RTF_POOLED,
&res_changeitem
};
item_type it_halflingspoil = {
&rt_halflingspoil, /* resourcetype */
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 */
@ -122,5 +197,11 @@ register_racespoils(void)
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);
}

View File

@ -0,0 +1,28 @@
/* vi: set ts=2:
*
*
* Eressea PB(E)M host Copyright (C) 1998-2000
* Christian Schlittchen (corwin@amber.kn-bremen.de)
* Katja Zedel (katze@felidae.kn-bremen.de)
* Henning Peters (faroul@beyond.kn-bremen.de)
* Enno Rehling (enno@eressea-pbem.de)
* Ingo Wilken (Ingo.Wilken@informatik.uni-oldenburg.de)
*
* This program may not be used, modified or distributed without
* prior permission by the authors of Eressea.
*/
extern struct item_type it_elvenspoil;
extern struct item_type it_demonspoil;
extern struct item_type it_goblinspoil;
extern struct item_type it_dwarfspoil;
extern struct item_type it_halflingspoil;
extern struct item_type it_humanspoil;
extern struct item_type it_aquarianspoil;
extern struct item_type it_insectspoil;
extern struct item_type it_catspoil;
extern struct item_type it_orcspoil;
extern struct item_type it_trollspoil;
extern void register_racespoils(void);

View File

@ -1214,7 +1214,7 @@ t_item itemdata[MAXITEMS] = {
{ /* I_SACK_OF_CONSERVATION */
{"Magischer Kräuterbeutel", "Magische Kräuterbeutel", "", ""}, G_M,
IS_MAGIC, 0, 0, {0, 0, 0, 0, 0, 0}, 100, 0, 0, NULL
}
},
{ /* I_SPHERE_OF_INVISIBILITY */
{"Sphäre der Unsichtbarkeit", "Sphären der Unsichtbarkeit", "", ""}, G_M,
IS_MAGIC, 0, 0, {0, 0, 0, 0, 0, 0}, 100, 0, 0, NULL