#include "grid/feature.h"
#include "grid/grid.h"
#include "main/sound-definitions-table.h"
#include "main/sound-of-music.h"
#include "grid/feature.h"
#include "grid/grid.h"
#include "main/sound-definitions-table.h"
#include "main/sound-of-music.h"
#include "player/player-move.h"
#include "system/floor-type-definition.h"
#include "util/bit-flags-calculator.h"
#include "player/player-move.h"
#include "system/floor-type-definition.h"
#include "util/bit-flags-calculator.h"
- if (have_flag(f_ptr->flags, FF_PERMANENT)) {
- if (have_flag(mimic_f_ptr->flags, FF_PERMANENT))
+ if (has_flag(f_ptr->flags, FF_PERMANENT)) {
+ if (has_flag(mimic_f_ptr->flags, FF_PERMANENT))
msg_print(_("この岩は硬すぎて掘れないようだ。", "This seems to be permanent rock."));
else
msg_print(_("そこは掘れない!", "You can't tunnel through that!"));
msg_print(_("この岩は硬すぎて掘れないようだ。", "This seems to be permanent rock."));
else
msg_print(_("そこは掘れない!", "You can't tunnel through that!"));
if (creature_ptr->skill_dig > randint0(20 * power)) {
msg_format(_("%sをくずした。", "You have removed the %s."), name);
cave_alter_feat(creature_ptr, y, x, FF_TUNNEL);
if (creature_ptr->skill_dig > randint0(20 * power)) {
msg_format(_("%sをくずした。", "You have removed the %s."), name);
cave_alter_feat(creature_ptr, y, x, FF_TUNNEL);
if (creature_ptr->skill_dig > power + randint0(40 * power)) {
if (tree)
msg_format(_("%sを切り払った。", "You have cleared away the %s."), name);
if (creature_ptr->skill_dig > power + randint0(40 * power)) {
if (tree)
msg_format(_("%sを切り払った。", "You have cleared away the %s."), name);
sound(SOUND_GLASS);
cave_alter_feat(creature_ptr, y, x, FF_TUNNEL);
sound(SOUND_GLASS);
cave_alter_feat(creature_ptr, y, x, FF_TUNNEL);