M:CLOSED_DOOR
W:10
K:DESTROYED:FLOOR
+K:OPEN:OPEN_DOOR
K:BASH:BROKEN_DOOR
K:SPIKE:JAMMED_DOOR_1
F:POWER_0 | NOTICE | REMEMBER | BASH | SPIKE | TUNNEL | DOOR | HURT_ROCK |
M:CLOSED_DOOR
W:10
K:DESTROYED:FLOOR
+K:OPEN:OPEN_DOOR
K:BASH:BROKEN_DOOR
K:SPIKE:JAMMED_DOOR_2
F:POWER_1 | NOTICE | REMEMBER | BASH | SPIKE | TUNNEL | DOOR | HURT_ROCK |
M:CLOSED_DOOR
W:10
K:DESTROYED:FLOOR
+K:OPEN:OPEN_DOOR
K:BASH:BROKEN_DOOR
K:SPIKE:JAMMED_DOOR_3
F:POWER_2 | NOTICE | REMEMBER | BASH | SPIKE | TUNNEL | DOOR | HURT_ROCK |
M:CLOSED_DOOR
W:10
K:DESTROYED:FLOOR
+K:OPEN:OPEN_DOOR
K:BASH:BROKEN_DOOR
K:SPIKE:JAMMED_DOOR_4
F:POWER_3 | NOTICE | REMEMBER | BASH | SPIKE | TUNNEL | DOOR | HURT_ROCK |
M:CLOSED_DOOR
W:10
K:DESTROYED:FLOOR
+K:OPEN:OPEN_DOOR
K:BASH:BROKEN_DOOR
K:SPIKE:JAMMED_DOOR_5
F:POWER_4 | NOTICE | REMEMBER | BASH | SPIKE | TUNNEL | DOOR | HURT_ROCK |
M:CLOSED_DOOR
W:10
K:DESTROYED:FLOOR
+K:OPEN:OPEN_DOOR
K:BASH:BROKEN_DOOR
K:SPIKE:JAMMED_DOOR_6
F:POWER_5 | NOTICE | REMEMBER | BASH | SPIKE | TUNNEL | DOOR | HURT_ROCK |
M:CLOSED_DOOR
W:10
K:DESTROYED:FLOOR
+K:OPEN:OPEN_DOOR
K:BASH:BROKEN_DOOR
K:SPIKE:JAMMED_DOOR_7
F:POWER_6 | NOTICE | REMEMBER | BASH | SPIKE | TUNNEL | DOOR | HURT_ROCK |
M:CLOSED_DOOR
W:10
K:DESTROYED:FLOOR
+K:OPEN:OPEN_DOOR
K:BASH:BROKEN_DOOR
K:SPIKE:JAMMED_DOOR_7
F:POWER_7 | NOTICE | REMEMBER | BASH | SPIKE | TUNNEL | DOOR | HURT_ROCK |
{
/* Message */
#ifdef JP
- msg_print("¥É¥¢¤ò²õ¤·¤¿¡ª");
+ msg_format("%s¤ò²õ¤·¤¿¡ª", f_name + f_ptr->name);
#else
- msg_print("The door crashes open!");
+ msg_format("The %s crashes open!", f_name + f_ptr->name);
#endif
/* Break down the door */
- if (randint0(100) < 50)
+ if ((randint0(100) < 50) || (feat_state(c_ptr->feat, FF_OPEN) == c_ptr->feat))
{
cave_alter_feat(y, x, FF_BASH);
}
if (did_open_door || did_bash_door)
{
/* Break down the door */
- if (did_bash_door && (randint0(100) < 50))
+ if (did_bash_door && ((randint0(100) < 50) || (feat_state(c_ptr->feat, FF_OPEN) == c_ptr->feat)))
{
cave_alter_feat(ny, nx, FF_BASH);
}