I recently installed SerpentAI and I'm having an issue when creating a game plugin.
When running the command:
serpent generate game
I provide it with the following answers:
- RaftWars
web_browser
What is the name of the game? (Titleized, No Spaces i.e. AwesomeGame):RaftWars How is the game launched? (One of: 'steam', 'executable', 'web_browser'): web_browser OFFSHOOT: Attempting to install SerpentRaftWarsGamePlugin...
OFFSHOOT PLUGIN INSTALL: Verifying that plugin dependencies are installed...
OFFSHOOT PLUGIN INSTALL: Installing files...
There was a problem during installation... Reverting! Traceback (most recent call last): File "c:\users\marce\anaconda3\envs\serpent\lib\runpy.py", line 193, in _run_module_as_main "main", mod_spec) File "c:\users\marce\anaconda3\envs\serpent\lib\runpy.py", line 85, in _run_code exec(code, run_globals) File "C:\Users\marce\SerpentAI\plugins\SerpentRaftWarsGamePlugin\plugin.py", line 28, in offshoot.executable_hook(SerpentRaftWarsGamePlugin) File "c:\users\marce\anaconda3\envs\serpent\lib\site-packages\offshoot\base.py", line 185, in executable_hook plugin_class.install() File "c:\users\marce\anaconda3\envs\serpent\lib\site-packages\offshoot\plugin.py", line 35, in install cls.install_files() File "c:\users\marce\anaconda3\envs\serpent\lib\site-packages\offshoot\plugin.py", line 118, in install_files raise e File "c:\users\marce\anaconda3\envs\serpent\lib\site-packages\offshoot\plugin.py", line 91, in install_files is_valid, messages = cls._validate_file_for_pluggable(plugin_file_path, file_dict["pluggable"]) File "c:\users\marce\anaconda3\envs\serpent\lib\site-packages\offshoot\plugin.py", line 235, in _validate_file_for_pluggable raise PluginError("The Plugin definition specifies an invalid pluggable: %s => %s" % (file_path, pluggable)) offshoot.plugin.PluginError: The Plugin definition specifies an invalid pluggable: plugins\SerpentRaftWarsGamePlugin\files\serpent_RaftWars_game.py => Game