polyself weapon drop feedback
Don't say "you must drop your weapon" when it doesn't actually get dropped. And make "weapon" be more specific, comparable to the handing for slippery fingers.
This commit is contained in:
@@ -102,7 +102,8 @@ static NEARDATA const char kebabable[] = {
|
||||
};
|
||||
|
||||
/* weapon's skill category name for use as generalized description of weapon */
|
||||
const char *weapon_descr(obj)
|
||||
const char *
|
||||
weapon_descr(obj)
|
||||
struct obj *obj;
|
||||
{
|
||||
int skill = weapon_type(obj);
|
||||
@@ -112,7 +113,8 @@ struct obj *obj;
|
||||
switch (skill) {
|
||||
case P_NONE:
|
||||
/* not a weapon: use item class name; override "food" for corpses */
|
||||
descr = (obj->otyp == CORPSE) ? "corpse" :
|
||||
descr = (obj->otyp == CORPSE || obj->otyp == TIN || obj->otyp == EGG) ?
|
||||
OBJ_NAME(objects[obj->otyp]) :
|
||||
def_oc_syms[(int)obj->oclass].name;
|
||||
break;
|
||||
case P_SLING:
|
||||
|
||||
Reference in New Issue
Block a user