Move close_item, open_item and store_item functionality into "base_dragonrealms_script.rb" and update references