11 lines
298 B
Python
Executable File
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
|
|
|