-- World resources table - stores harvestable resources from Unity scenes
CREATE TABLE world_resources (
    id INTEGER PRIMARY KEY,
    item_id INTEGER NOT NULL,
    scene_name TEXT NOT NULL,
    pos_x REAL NOT NULL,
    pos_y REAL NOT NULL,
    pos_z REAL NOT NULL,
    object_name TEXT NOT NULL
);

CREATE INDEX idx_world_resources_item_id ON world_resources(item_id);
CREATE INDEX idx_world_resources_scene ON world_resources(scene_name);
CREATE INDEX idx_world_resources_position ON world_resources(pos_x, pos_z);
