Files
dusk/tools/mapeditor/mapeditor.py
2025-06-13 19:53:55 -05:00

11 lines
298 B
Python
Executable File

#!/usr/bin/python3
import sys, os
# Dynamically add ../shared to sys.path
shared_path = os.path.abspath(os.path.join(os.path.dirname(__file__), '..', 'shared'))
sys.path.append(shared_path)
# Import shared modules
from worlddefs import CHUNK_WIDTH, CHUNK_HEIGHT, ENTITY_TYPE_MAP, CHUNK_DATA_DIR