What a mess
This commit is contained in:
@@ -120,7 +120,10 @@ def load_world() -> World:
|
||||
description=loc_data['description'],
|
||||
image_path=loc_data['image_path'],
|
||||
x=loc_data.get('x', 0.0),
|
||||
y=loc_data.get('y', 0.0)
|
||||
y=loc_data.get('y', 0.0),
|
||||
tags=loc_data.get('tags', []),
|
||||
npcs=loc_data.get('npcs', []),
|
||||
danger_level=loc_data.get('danger_level', 0)
|
||||
)
|
||||
|
||||
# Add interactables using template-based format
|
||||
|
||||
Reference in New Issue
Block a user