case SV_SCROLL_ACQUIREMENT:
{
- acquirement(py, px, 1, TRUE, FALSE);
+ acquirement(py, px, 1, TRUE, FALSE, FALSE);
ident = TRUE;
break;
}
case SV_SCROLL_STAR_ACQUIREMENT:
{
- acquirement(py, px, randint1(2) + 1, TRUE, FALSE);
+ acquirement(py, px, randint1(2) + 1, TRUE, FALSE, FALSE);
ident = TRUE;
break;
}
extern cptr macro_trigger_keycode[2][MAX_MACRO_TRIG];
-/* ÆüËܸìÈǵ¡Ç½ÄɲäǻȤ¦ */
+/* Æ\81Eܸ\81Eǵ¡Ç½ÄɲäǻȤ¦ */
extern int level_up;
/*
extern bool make_gold(object_type *j_ptr);
extern void place_gold(int y, int x);
extern s16b drop_near(object_type *o_ptr, int chance, int y, int x);
-extern void acquirement(int y1, int x1, int num, bool great, bool known);
+extern void acquirement(int y1, int x1, int num, bool great, bool special, bool known);
extern void amusement(int y1, int x1, int num, bool known);
extern void init_normal_traps(void);
extern s16b choose_random_trap(void);
/*
* Scatter some "great" objects near the player
*/
-void acquirement(int y1, int x1, int num, bool great, bool known)
+void acquirement(int y1, int x1, int num, bool great, bool special, bool known)
{
object_type *i_ptr;
object_type object_type_body;
- u32b mode = AM_GOOD | (great ? AM_GREAT : 0L);
+ u32b mode = AM_GOOD | (great || special ? AM_GREAT : 0L) | (special ? AM_SPECIAL : 0L) ;
/* Acquirement */
while (num--)
}
}
-
/*
* Scatter some "amusing" objects near the player
*/
/* Good Objects */
case 'g':
if (command_arg <= 0) command_arg = 1;
- acquirement(py, px, command_arg, FALSE, TRUE);
+ acquirement(py, px, command_arg, FALSE, FALSE, TRUE);
break;
/* Hitpoint rerating */
do_cmd_wiz_summon(command_arg);
break;
+ /* Special(Random Artifact) Objects */
+ case 'S':
+ if (command_arg <= 0) command_arg = 1;
+ acquirement(py, px, command_arg, TRUE, TRUE, TRUE);
+ break;
+
/* Teleport */
case 't':
teleport_player(100, 0L);
/* Very Good Objects */
case 'v':
if (command_arg <= 0) command_arg = 1;
- acquirement(py, px, command_arg, TRUE, TRUE);
+ acquirement(py, px, command_arg, TRUE, FALSE, TRUE);
break;
/* Wizard Light the Level */
msg_print("'Use my gift wisely.'");
#endif
- acquirement(py, px, 1, FALSE, FALSE);
+ acquirement(py, px, 1, FALSE, FALSE, FALSE);
#ifdef JP
reward = "¾å¼Á¤Ê¥¢¥¤¥Æ¥à¤ò¼ê¤ËÆþ¤ì¤¿¡£";
#else
msg_print("'Use my gift wisely.'");
#endif
- acquirement(py, px, 1, TRUE, FALSE);
+ acquirement(py, px, 1, TRUE, FALSE, FALSE);
#ifdef JP
reward = "¹âµéÉʤΥ¢¥¤¥Æ¥à¤ò¼ê¤ËÆþ¤ì¤¿¡£";
#else
msg_print("'Thy deed hath earned thee a worthy reward.'");
#endif
- acquirement(py, px, randint1(2) + 1, FALSE, FALSE);
+ acquirement(py, px, randint1(2) + 1, FALSE, FALSE, FALSE);
#ifdef JP
reward = "¾å¼Á¤Ê¥¢¥¤¥Æ¥à¤ò¼ê¤ËÆþ¤ì¤¿¡£";
#else
msg_print("'Behold, mortal, how generously I reward thy loyalty.'");
#endif
- acquirement(py, px, randint1(2) + 1, TRUE, FALSE);
+ acquirement(py, px, randint1(2) + 1, TRUE, FALSE, FALSE);
#ifdef JP
reward = "¹âµéÉʤΥ¢¥¤¥Æ¥à¤ò¼ê¤ËÆþ¤ì¤¿¡£";
#else