def shields_info(update, context): info_msg = '''``` Defines the number of energy units to be assigned to the shields. Energy is taken from total ship's energy. Note that the status display total energy includes shield energy. ```''' context.bot.edit_message_text(chat_id=update.effective_chat.id, message_id=update.callback_query.message.message_id, text=info_msg, reply_markup=manual_keyboard(), parse_mode=telegram.ParseMode.MARKDOWN)
def phasers_info(update, context): info_msg = '''``` Allows you to destroy the Klingon Battle Cruisers by zapping them with suitably large units of energy to deplete their shield power. (Remember, Klingons have phasers, too!) ```''' context.bot.edit_message_text(chat_id=update.effective_chat.id, message_id=update.callback_query.message.message_id, text=info_msg, reply_markup=manual_keyboard(), parse_mode=telegram.ParseMode.MARKDOWN)
def torpedoes_info(update, context): info_msg = '''``` Torpedo course is the same as used in helm control. If you hit the Klingon vessel, he is destroyed and cannot fire back at you. If you miss, you are subject to the phaser fire of all other Klingons in the quadrant. ```''' context.bot.edit_message_text(chat_id=update.effective_chat.id, message_id=update.callback_query.message.message_id, text=info_msg, reply_markup=manual_keyboard(), parse_mode=telegram.ParseMode.MARKDOWN)
def manual_menu(update, context): query = update.callback_query msg = '''``` ╔╦╗╔═╗╔╗╔╦ ╦╔═╗╦ ║║║╠═╣║║║║ ║╠═╣║ ╩ ╩╩ ╩╝╚╝╚═╝╩ ╩╩═╝ ```''' context.bot.edit_message_text(chat_id=query.message.chat_id, message_id=query.message.message_id, text=msg, reply_markup=manual_keyboard(), parse_mode=telegram.ParseMode.MARKDOWN)
def srs_info(update, context): info_msg = '''``` Symbology on your sensor screen is as follows: -O- = Your starship's position >!< = Klingon battlecruiser <O> = Federation starbase (Refuel/Repair/Re-Arm here) * = Star ```''' context.bot.edit_message_text(chat_id=update.effective_chat.id, message_id=update.callback_query.message.message_id, text=info_msg, reply_markup=manual_keyboard(), parse_mode=telegram.ParseMode.MARKDOWN)
def lrs_info(update, context): info_msg = '''``` Shows conditions in space for one quadrant on each side of the Enterprise (which is in the middle of the scan). The scan is coded in the form ### where the units digit is the number of stars, the tens digit is the number of starbases, and the hundreds digit is the number of Klingons. Example - 207 = 2 Klingons, No Starbases, & 7 stars. ```''' context.bot.edit_message_text(chat_id=update.effective_chat.id, message_id=update.callback_query.message.message_id, text=info_msg, reply_markup=manual_keyboard(), parse_mode=telegram.ParseMode.MARKDOWN)
def galaxy_info(update, context): info_msg = ''' ``` The galaxy is divided into an 8 X 8 quadrant grid, and each quadrant is further divided into an 8 x 8 sector grid. You will be assigned a starting point somewhere in the galaxy to begin a tour of duty as commander of the starship Enterprise. Your mission: to seek out and destroy the fleet of Klingon warships which are menacing the United Federation of Planets. ``` ''' context.bot.edit_message_text(chat_id=update.effective_chat.id, message_id=update.callback_query.message.message_id, text=info_msg, reply_markup=manual_keyboard(), parse_mode=telegram.ParseMode.MARKDOWN)
def helm_info(update, context): info_msg = '''``` Course is in a circular numerical vector arrangement as shown. Integer values may be used. 7 8 9 . . . ... 4 ---*--- 6 ... . . . 1 2 3 One warp factor is the size of one quadrant. Therefore, to get from quadrant 6x,5y to 5x,5y you would use course 4, warp factor 1. ```''' context.bot.edit_message_text(chat_id=update.effective_chat.id, message_id=update.callback_query.message.message_id, text=info_msg, reply_markup=manual_keyboard(), parse_mode=telegram.ParseMode.MARKDOWN)