forked from github/server
removing more hardcoded items from the source.
This commit is contained in:
parent
4a74bfdf9d
commit
aaf7443d53
File diff suppressed because it is too large
Load Diff
|
@ -1,6 +1,6 @@
|
||||||
/* vi: set ts=2:
|
/* vi: set ts=2:
|
||||||
*
|
*
|
||||||
* Eressea PB(E)M host Copyright (C) 1998-2003
|
* Eressea PB(E)M host Copyright (C) 1998-2003
|
||||||
* Christian Schlittchen (corwin@amber.kn-bremen.de)
|
* Christian Schlittchen (corwin@amber.kn-bremen.de)
|
||||||
* Katja Zedel (katze@felidae.kn-bremen.de)
|
* Katja Zedel (katze@felidae.kn-bremen.de)
|
||||||
* Henning Peters (faroul@beyond.kn-bremen.de)
|
* Henning Peters (faroul@beyond.kn-bremen.de)
|
||||||
|
@ -26,9 +26,9 @@ struct locale;
|
||||||
struct troop;
|
struct troop;
|
||||||
|
|
||||||
typedef struct item {
|
typedef struct item {
|
||||||
const struct item_type * type;
|
const struct item_type * type;
|
||||||
int number;
|
int number;
|
||||||
struct item * next;
|
struct item * next;
|
||||||
} item;
|
} item;
|
||||||
|
|
||||||
typedef struct resource {
|
typedef struct resource {
|
||||||
|
@ -254,71 +254,65 @@ extern resource_type * r_unit;
|
||||||
extern resource_type * r_hp;
|
extern resource_type * r_hp;
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
I_IRON, /* 0 */
|
I_IRON, /* 0 */
|
||||||
I_STONE,
|
I_STONE,
|
||||||
I_HORSE,
|
I_HORSE,
|
||||||
/* alte Artefakte */
|
/* alte Artefakte */
|
||||||
I_AMULET_OF_HEALING,
|
I_AMULET_OF_HEALING,
|
||||||
I_AMULET_OF_TRUE_SEEING,
|
I_AMULET_OF_TRUE_SEEING,
|
||||||
I_RING_OF_INVISIBILITY,
|
I_RING_OF_INVISIBILITY,
|
||||||
I_RING_OF_POWER,
|
I_RING_OF_POWER,
|
||||||
I_DRAGONHEAD,
|
I_CHASTITY_BELT, /* bleibt */
|
||||||
I_CHASTITY_BELT, /* bleibt */
|
I_LAEN,
|
||||||
I_LAEN,
|
I_FEENSTIEFEL,
|
||||||
I_DRACHENBLUT,
|
I_BIRTHDAYAMULET,
|
||||||
I_FEENSTIEFEL,
|
I_PEGASUS,
|
||||||
I_BIRTHDAYAMULET,
|
I_UNICORN,
|
||||||
I_PEGASUS,
|
I_DOLPHIN,
|
||||||
I_UNICORN,
|
I_RING_OF_NIMBLEFINGER,
|
||||||
I_DOLPHIN,
|
I_TROLLBELT,
|
||||||
I_RING_OF_NIMBLEFINGER,
|
I_PRESSCARD,
|
||||||
I_TROLLBELT,
|
I_AURAKULUM,
|
||||||
I_PRESSCARD,
|
|
||||||
I_AURAKULUM,
|
|
||||||
I_SEASERPENTHEAD,
|
|
||||||
I_SPHERE_OF_INVISIBILITY,
|
I_SPHERE_OF_INVISIBILITY,
|
||||||
I_BAG_OF_HOLDING,
|
I_BAG_OF_HOLDING,
|
||||||
I_SACK_OF_CONSERVATION,
|
I_SACK_OF_CONSERVATION,
|
||||||
I_TACTICCRYSTAL,
|
I_TACTICCRYSTAL,
|
||||||
MAX_ITEMS /* do not use outside item.c ! */
|
MAX_ITEMS /* do not use outside item.c ! */
|
||||||
};
|
};
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
/* ITEMS: */
|
/* ITEMS: */
|
||||||
R_IRON,
|
R_IRON,
|
||||||
R_STONE,
|
R_STONE,
|
||||||
R_HORSE,
|
R_HORSE,
|
||||||
/**/
|
/**/
|
||||||
R_AMULET_OF_HEALING,
|
R_AMULET_OF_HEALING,
|
||||||
R_AMULET_OF_TRUE_SEEING,
|
R_AMULET_OF_TRUE_SEEING,
|
||||||
R_RING_OF_INVISIBILITY,
|
R_RING_OF_INVISIBILITY,
|
||||||
R_RING_OF_POWER,
|
R_RING_OF_POWER,
|
||||||
R_DRAGONHEAD,
|
R_CHASTITY_BELT,
|
||||||
R_CHASTITY_BELT,
|
R_EOG,
|
||||||
R_EOG,
|
R_FEENSTIEFEL,
|
||||||
R_DRACHENBLUT,
|
R_BIRTHDAYAMULET,
|
||||||
R_FEENSTIEFEL,
|
R_PEGASUS,
|
||||||
R_BIRTHDAYAMULET,
|
R_UNICORN,
|
||||||
R_PEGASUS,
|
R_DOLPHIN,
|
||||||
R_UNICORN,
|
R_RING_OF_NIMBLEFINGER,
|
||||||
R_DOLPHIN,
|
R_TROLLBELT,
|
||||||
R_RING_OF_NIMBLEFINGER,
|
R_PRESSCARD,
|
||||||
R_TROLLBELT,
|
R_AURAKULUM,
|
||||||
R_PRESSCARD,
|
|
||||||
R_AURAKULUM,
|
|
||||||
R_SEASERPENTHEAD,
|
|
||||||
R_SPHERE_OF_INVISIBILITY,
|
R_SPHERE_OF_INVISIBILITY,
|
||||||
R_BAG_OF_HOLDING,
|
R_BAG_OF_HOLDING,
|
||||||
R_SACK_OF_CONSERVATION,
|
R_SACK_OF_CONSERVATION,
|
||||||
R_TACTICCRYSTAL,
|
R_TACTICCRYSTAL,
|
||||||
|
|
||||||
/* SONSTIGE */
|
/* SONSTIGE */
|
||||||
R_SILVER,
|
R_SILVER,
|
||||||
R_AURA, /* Aura */
|
R_AURA, /* Aura */
|
||||||
R_PERMAURA, /* Permanente Aura */
|
R_PERMAURA, /* Permanente Aura */
|
||||||
|
|
||||||
MAX_RESOURCES, /* do not use outside item.c ! */
|
MAX_RESOURCES, /* do not use outside item.c ! */
|
||||||
NORESOURCE = -1
|
NORESOURCE = -1
|
||||||
};
|
};
|
||||||
|
|
||||||
extern struct potion_type * oldpotiontype[];
|
extern struct potion_type * oldpotiontype[];
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,6 +1,18 @@
|
||||||
<?xml version="1.0"?>
|
<?xml version="1.0"?>
|
||||||
<resources>
|
<resources>
|
||||||
|
|
||||||
|
<resource name="seaserpenthead">
|
||||||
|
<item weight="500" score="400"/>
|
||||||
|
</resource>
|
||||||
|
|
||||||
|
<resource name="dragonblood">
|
||||||
|
<item weight="100" score="100"/>
|
||||||
|
</resource>
|
||||||
|
|
||||||
|
<resource name="dragonhead">
|
||||||
|
<item weight="500" score="300"/>
|
||||||
|
</resource>
|
||||||
|
|
||||||
<resource name="seed" limited="yes">
|
<resource name="seed" limited="yes">
|
||||||
<item weight="10" score="50">
|
<item weight="10" score="50">
|
||||||
<construction skill="herbalism" minskill="3" reqsize="1"/>
|
<construction skill="herbalism" minskill="3" reqsize="1"/>
|
||||||
|
|
Loading…
Reference in New Issue