X-Git-Url: https://plomlompom.com/repos/processes?a=blobdiff_plain;f=rogue_chat.html;h=1c1fd1a125ddce134471b3cfb8432726e6a6e2ca;hb=d524cfceadd9338a18759e8a7ea1db659cd6cbb5;hp=9d5eddf47c8a44e3147185daefa322d582bd1435;hpb=571e36aae0c760cc008ef04c5ab2f7308eefa8f6;p=plomrogue2 diff --git a/rogue_chat.html b/rogue_chat.html index 9d5eddf..1c1fd1a 100644 --- a/rogue_chat.html +++ b/rogue_chat.html @@ -770,6 +770,12 @@ let tui = { this.switch_mode('play'); return; }; + if (mode_name == 'drop_thing' && (!player.carrying)) { + this.log_msg('? not carrying anything droppable'); + terminal.blink_screen(); + this.switch_mode('play'); + return; + } if (mode_name == 'admin_enter' && this.is_admin) { mode_name = 'admin'; } else if (['name_thing', 'admin_thing_protect'].includes(mode_name)) {