diff --git a/src/common/kernel/item.c b/src/common/kernel/item.c index 0ea229698..42fc94677 100644 --- a/src/common/kernel/item.c +++ b/src/common/kernel/item.c @@ -760,11 +760,6 @@ static t_item itemdata[MAXITEMS] = { {"Sphäre der Unsichtbarkeit", "Sphären der Unsichtbarkeit", "", ""}, IS_MAGIC, 0, 0, {0, 0, 0, 0, 0, 0}, 100, 0, 0, NULL }, - { /* I_TOADSLIME 73 */ - {"Tiegel mit Krötenschleim", "Tiegel mit Krötenschleim", - "", ""}, - IS_MAGIC, 0, 0, {0, 0, 0, 0, 0, 0}, 100, 0, 0, NULL - }, { /* I_BAG_OF_HOLDING */ {"Zauberbeutel", "Zauberbeutel", "Zauberbeutel", "Zauberbeutel"}, IS_MAGIC, 0, 0, {0, 0, 0, 0, 0, 0}, 100, 0, FL_ITEM_NOTINBAG|FL_ITEM_NOTLOST, NULL @@ -883,6 +878,7 @@ static translate_t translation[] = { { "Drachenblut", "dragonblood", "dragonblood_p", "dragonblood", "dragonblood_p" }, { "Feenstiefel", "fairyboot", "fairyboot_p", "fairyboot", "fairyboot_p" }, { "Gürtel der Trollstärke", "trollbelt", "trollbelt_p", "trollbelt", "trollbelt_p" }, + { "Tiegel mit Krötenschleim", "toadslime", "toadslime_p", "toadslime", "toadslime_p" }, { "Mallorn", "mallorn", "mallorn_p", "mallorn", "mallorn_p" }, { "Wagen", "cart", "cart_p", "cart", "cart_p" }, { "Plattenpanzer", "plate", "plate_p", "plate", "plate_p" }, diff --git a/src/common/kernel/item.h b/src/common/kernel/item.h index 02687dc6c..76e57fda6 100644 --- a/src/common/kernel/item.h +++ b/src/common/kernel/item.h @@ -284,7 +284,6 @@ enum { I_AURAKULUM, I_SEASERPENTHEAD, I_SPHERE_OF_INVISIBILITY, - I_TOADSLIME, I_BAG_OF_HOLDING, I_SACK_OF_CONSERVATION, I_TACTICCRYSTAL, diff --git a/src/common/kernel/magic.c b/src/common/kernel/magic.c index db38f5fc6..64011c4f4 100644 --- a/src/common/kernel/magic.c +++ b/src/common/kernel/magic.c @@ -1318,7 +1318,12 @@ do_fumble(castorder *co) * trigger and that's added to the triggerlit of the mage gone toad. */ trigger * trestore = trigger_changerace(u, u->race, u->irace); - if (rand()%10>2) t_add(&trestore, trigger_giveitem(u, olditemtype[I_TOADSLIME], 1)); + if (chance(0.7)) { + const item_type * it_toadslime = it_find("toadslime"); + if (it_toadslime!=NULL) { + t_add(&trestore, trigger_giveitem(u, it_toadslime, 1)); + } + } add_trigger(&u->attribs, "timer", trigger_timeout(duration, trestore)); } u->race = new_race[RC_TOAD]; diff --git a/src/res/resources.xml b/src/res/resources.xml index 3e87eb313..6dccb840c 100644 --- a/src/res/resources.xml +++ b/src/res/resources.xml @@ -636,4 +636,8 @@ + + + +