I had also to change following lines/commands in spaceship_generator.py to work again in Blender 3.1:
bmesh.ops.create_icosphere - now needs parameter radius instead of diameter - line 310
bmesh.ops.create.cone - radius1, radius2 instead of diameter1, diameter2 - lines 200,232,245,,258,272,282,291,341,354,372,380
tip: use find&replace (worked for me)
I had also to change following lines/commands in spaceship_generator.py to work again in Blender 3.1: bmesh.ops.create_icosphere - now needs parameter radius instead of diameter - line 310 bmesh.ops.create.cone - radius1, radius2 instead of diameter1, diameter2 - lines 200,232,245,,258,272,282,291,341,354,372,380 tip: use find&replace (worked for me)
Hope this helps Thomas