This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import os | |
| import re | |
| import json | |
| from pprint import pprint | |
| from subprocess import Popen, PIPE, STDOUT | |
| from notion_client import Client | |
| DATABASE_ID = os.getenv('DATABASE_ID') #NOTE: ID of your notion database you want to import into |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| tool | |
| extends EditorScenePostImport | |
| var main_scene | |
| func post_import(scene): | |
| main_scene = scene | |
| add_hitboxes_to_structures(scene) | |
| print('Imported!') |