code: def generate(plugin_type):
      if plugin_type == "game":
          generate_game_plugin()
      elif plugin_type == "game_agent":
          generate_game_agent_plugin()
      else:
          raise Exception(
              f"'{plugin_type}' is not a valid plugin type..."
          )
  
imports: import os
  import sys
  import shutil
  import subprocess
  import shlex
  import time
  import offshoot
  from serpent.utilities import clear_terminal, display_serpent_logo, is_linux, is_windows, wait_for_crossbar
  from serpent.window_controller import WindowController
label_desc: Use image node_id 18 for calling a global function with example usage: generate(plugin_type) without return types