case ART_GANDALF:
{
#ifdef JP
-return "õº÷¡¢Á´´¶ÃΡ¢Á´´ÕÄê : 1000 ¥¿¡¼¥óËè";
+return "Ä´ºº¡¢Á´´¶ÃΡ¢Á´´ÕÄê : 100 ¥¿¡¼¥óËè";
#else
- return "probing, detection and full id every 1000 turns";
+ return "probing, detection and full id every 100 turns";
#endif
}
#endif
}
case ART_NIGHT:
+ case ART_HELL:
{
#ifdef JP
return "°Å¹õ¤ÎÍò(250) : 150+d150 ¥¿¡¼¥óËè";
#endif
}
+ case ART_SACRED_KNIGHTS:
+ {
+#ifdef JP
+return "*²ò¼ö*¤ÈÄ´ºº: ¤¤¤Ä¤Ç¤â";
+#else
+ return "Dispel Curse and Probing every turn";
+#endif
+
+ }
+ case ART_CHARMED:
+ {
+#ifdef JP
+return "ËâÎÏÉü³è: 777 ¥¿¡¼¥óËè";
+#else
+ return "Restore Mana every 777 turns";
+#endif
+
+ }
}
*/
static void prepare_label_string(char *label, int mode)
{
- cptr alphabet_chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
+ cptr alphabet_chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
int offset = (mode == USE_EQUIP) ? INVEN_RARM : 0;
int i;
strcpy(label, alphabet_chars);
/* Move each label */
- for (i = 0; i < 52 + 10; i++)
+ for (i = 0; i < 52; i++)
{
int index;
char c = alphabet_chars[i];
*/
static void prepare_label_string_floor(char *label, int floor_list[], int floor_num)
{
- cptr alphabet_chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
+ cptr alphabet_chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
int i;
/* Prepare normal labels */
strcpy(label, alphabet_chars);
/* Move each label */
- for (i = 0; i < 52 + 10; i++)
+ for (i = 0; i < 52; i++)
{
int index;
char c = alphabet_chars[i];
char out_desc[23][MAX_NLEN];
int target_item_label = 0;
int wid, hgt;
- char inven_label[52 + 10 + 1];
+ char inven_label[52 + 1];
/* Starting column */
col = command_gap;
char out_desc[23][MAX_NLEN];
int target_item_label = 0;
int wid, hgt;
- char equip_label[52 + 10 + 1];
+ char equip_label[52 + 1];
/* Starting column */
col = command_gap;
/* Get the item index */
if (repeat_pull(cp))
{
- if (*cp == INVEN_FORCE) { /* the_force */
- item_tester_tval = 0;
- item_tester_hook = NULL;
- return (TRUE);
- } else
+ /* the_force */
+ if (*cp == INVEN_FORCE)
+ {
+ item_tester_tval = 0;
+ item_tester_hook = NULL;
+ command_cmd = 0; /* Hack -- command_cmd is no longer effective */
+ return (TRUE);
+ }
+
/* Floor item? */
- if (*cp < 0)
+ else if (*cp < 0)
{
object_type *o_ptr;
/* Forget the item_tester_hook restriction */
item_tester_hook = NULL;
+ command_cmd = 0; /* Hack -- command_cmd is no longer effective */
+
/* Success */
return (TRUE);
}
/* Forget the item_tester_hook restriction */
item_tester_hook = NULL;
+ command_cmd = 0; /* Hack -- command_cmd is no longer effective */
+
/* Success */
return (TRUE);
}
/* Warning if needed */
if (oops && str) msg_print(str);
+ if (item)
+ {
#ifdef ALLOW_REPEAT
- if (item) repeat_push(*cp);
+ repeat_push(*cp);
#endif /* ALLOW_REPEAT */
+ command_cmd = 0; /* Hack -- command_cmd is no longer effective */
+ }
+
/* Result */
return (item);
}
int floor_list[23], floor_num;
int wid, hgt;
- char floor_label[52 + 10 + 1];
+ char floor_label[52 + 1];
/* Get size */
Term_get_size(&wid, &hgt);
/* Get the item index */
if (repeat_pull(cp))
{
- if (*cp == INVEN_FORCE) { /* the_force */
- item_tester_tval = 0;
- item_tester_hook = NULL;
- return (TRUE);
- } else
+ /* the_force */
+ if (*cp == INVEN_FORCE)
+ {
+ item_tester_tval = 0;
+ item_tester_hook = NULL;
+ command_cmd = 0; /* Hack -- command_cmd is no longer effective */
+ return (TRUE);
+ }
+
/* Floor item? */
- if (*cp < 0)
+ else if (*cp < 0)
{
object_type *o_ptr;
/* Forget the item_tester_hook restriction */
item_tester_hook = NULL;
+ command_cmd = 0; /* Hack -- command_cmd is no longer effective */
+
/* Success */
return (TRUE);
}
/* Forget the item_tester_hook restriction */
item_tester_hook = NULL;
+ command_cmd = 0; /* Hack -- command_cmd is no longer effective */
+
/* Success */
return (TRUE);
}
/* Warning if needed */
if (oops && str) msg_print(str);
+ if (item)
+ {
#ifdef ALLOW_REPEAT
- if (item) repeat_push(*cp);
+ repeat_push(*cp);
#endif /* ALLOW_REPEAT */
+ command_cmd = 0; /* Hack -- command_cmd is no longer effective */
+ }
+
/* Result */
return (item);
}