{"nodes": [{"id": "game_scripts_structure_system", "label": "StructureSystem", "file_type": "code", "source_file": "game/scripts/structure_system.gd", "source_location": "L1", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "game_scripts_structure_system_layout_changed", "label": "layout_changed (signal)", "file_type": "code", "source_file": "game/scripts/structure_system.gd", "source_location": "L20", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "game_scripts_structure_system_built", "label": "built (signal)", "file_type": "code", "source_file": "game/scripts/structure_system.gd", "source_location": "L21", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "game_scripts_structure_system_destroyed", "label": "destroyed (signal)", "file_type": "code", "source_file": "game/scripts/structure_system.gd", "source_location": "L22", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "game_scripts_structure_system_hurt", "label": "hurt (signal)", "file_type": "code", "source_file": "game/scripts/structure_system.gd", "source_location": "L24", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "game_scripts_structure_system_repaired", "label": "repaired (signal)", "file_type": "code", "source_file": "game/scripts/structure_system.gd", "source_location": "L25", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "game_scripts_structure_system_turret_fired", "label": "turret_fired (signal)", "file_type": "code", "source_file": "game/scripts/structure_system.gd", "source_location": "L26", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "game_scripts_structure_system_trap_sprung", "label": "trap_sprung (signal)", "file_type": "code", "source_file": "game/scripts/structure_system.gd", "source_location": "L27", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "game_scripts_structure_system_setup", "label": "setup()", "file_type": "code", "source_file": "game/scripts/structure_system.gd", "source_location": "L72", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "game_scripts_structure_system_max_hp", "label": "max_hp()", "file_type": "code", "source_file": "game/scripts/structure_system.gd", "source_location": "L102", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "game_scripts_structure_system_turret_range", "label": "turret_range()", "file_type": "code", "source_file": "game/scripts/structure_system.gd", "source_location": "L110", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "game_scripts_structure_system_trap_slow_time", "label": "trap_slow_time()", "file_type": "code", "source_file": "game/scripts/structure_system.gd", "source_location": "L114", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "game_scripts_structure_system_blocks", "label": "blocks()", "file_type": "code", "source_file": "game/scripts/structure_system.gd", "source_location": "L118", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "game_scripts_structure_system_snap", "label": "snap()", "file_type": "code", "source_file": "game/scripts/structure_system.gd", "source_location": "L127", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "game_scripts_structure_system_footprint", "label": "footprint()", "file_type": "code", "source_file": "game/scripts/structure_system.gd", "source_location": "L132", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "game_scripts_structure_system_corners", "label": "corners()", "file_type": "code", "source_file": "game/scripts/structure_system.gd", "source_location": "L142", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "game_scripts_structure_system_validate", "label": "validate()", "file_type": "code", "source_file": "game/scripts/structure_system.gd", "source_location": "L153", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "game_scripts_structure_system_place", "label": "place()", "file_type": "code", "source_file": "game/scripts/structure_system.gd", "source_location": "L193", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "game_scripts_structure_system_dismantle", "label": "dismantle()", "file_type": "code", "source_file": "game/scripts/structure_system.gd", "source_location": "L209", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "game_scripts_structure_system_damage", "label": "damage()", "file_type": "code", "source_file": "game/scripts/structure_system.gd", "source_location": "L225", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "game_scripts_structure_system_repair_cost", "label": "repair_cost()", "file_type": "code", "source_file": "game/scripts/structure_system.gd", "source_location": "L250", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "game_scripts_structure_system_repair", "label": "repair()", "file_type": "code", "source_file": "game/scripts/structure_system.gd", "source_location": "L266", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "game_scripts_structure_system_structure_near", "label": "structure_near()", "file_type": "code", "source_file": "game/scripts/structure_system.gd", "source_location": "L278", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "game_scripts_structure_system_try_trap", "label": "try_trap()", "file_type": "code", "source_file": "game/scripts/structure_system.gd", "source_location": "L293", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "game_scripts_structure_system_step", "label": "step()", "file_type": "code", "source_file": "game/scripts/structure_system.gd", "source_location": "L305", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "game_scripts_structure_system_sync_from_state", "label": "sync_from_state()", "file_type": "code", "source_file": "game/scripts/structure_system.gd", "source_location": "L341", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "game_scripts_structure_system_make_ghost", "label": "make_ghost()", "file_type": "code", "source_file": "game/scripts/structure_system.gd", "source_location": "L358", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "game_scripts_structure_system_process", "label": "_process()", "file_type": "code", "source_file": "game/scripts/structure_system.gd", "source_location": "L371", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "game_scripts_structure_system_remove", "label": "_remove()", "file_type": "code", "source_file": "game/scripts/structure_system.gd", "source_location": "L403", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "game_scripts_structure_system_update_nav", "label": "_update_nav()", "file_type": "code", "source_file": "game/scripts/structure_system.gd", "source_location": "L417", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "game_scripts_structure_system_add_view", "label": "_add_view()", "file_type": "code", "source_file": "game/scripts/structure_system.gd", "source_location": "L426", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "game_scripts_structure_system_build_view", "label": "_build_view()", "file_type": "code", "source_file": "game/scripts/structure_system.gd", "source_location": "L464", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "game_scripts_structure_system_strip_collision", "label": "_strip_collision()", "file_type": "code", "source_file": "game/scripts/structure_system.gd", "source_location": "L547", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "game_scripts_structure_system_ground_y", "label": "_ground_y()", "file_type": "code", "source_file": "game/scripts/structure_system.gd", "source_location": "L554", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "game_scripts_structure_system_world_blocked", "label": "_world_blocked()", "file_type": "code", "source_file": "game/scripts/structure_system.gd", "source_location": "L565", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "game_scripts_structure_system_distance_to_outline", "label": "_distance_to_outline()", "file_type": "code", "source_file": "game/scripts/structure_system.gd", "source_location": "L608", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "game_scripts_structure_system_overlaps_rect", "label": "_overlaps_rect()", "file_type": "code", "source_file": "game/scripts/structure_system.gd", "source_location": "L617", "source_url": null, "captured_at": null, "author": null, "contributor": null}, {"id": "game_scripts_structure_system_overlap", "label": "_overlap()", "file_type": "code", "source_file": "game/scripts/structure_system.gd", "source_location": "L623", "source_url": null, "captured_at": null, "author": null, "contributor": null}], "edges": [{"source": "game_scripts_structure_system", "target": "game_scripts_structure_system_layout_changed", "relation": "contains", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": "L20", "weight": 1.0}, {"source": "game_scripts_structure_system", "target": "game_scripts_structure_system_built", "relation": "contains", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": "L21", "weight": 1.0}, {"source": "game_scripts_structure_system", "target": "game_scripts_structure_system_destroyed", "relation": "contains", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": "L22", "weight": 1.0}, {"source": "game_scripts_structure_system", "target": "game_scripts_structure_system_hurt", "relation": "contains", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": "L24", "weight": 1.0}, {"source": "game_scripts_structure_system", "target": "game_scripts_structure_system_repaired", "relation": "contains", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": "L25", "weight": 1.0}, {"source": "game_scripts_structure_system", "target": "game_scripts_structure_system_turret_fired", "relation": "contains", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": "L26", "weight": 1.0}, {"source": "game_scripts_structure_system", "target": "game_scripts_structure_system_trap_sprung", "relation": "contains", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": "L27", "weight": 1.0}, {"source": "game_scripts_structure_system", "target": "game_scripts_structure_system_setup", "relation": "contains", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": "L72", "weight": 1.0}, {"source": "game_scripts_structure_system", "target": "game_scripts_structure_system_max_hp", "relation": "contains", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": "L102", "weight": 1.0}, {"source": "game_scripts_structure_system", "target": "game_scripts_structure_system_turret_range", "relation": "contains", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": "L110", "weight": 1.0}, {"source": "game_scripts_structure_system", "target": "game_scripts_structure_system_trap_slow_time", "relation": "contains", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": "L114", "weight": 1.0}, {"source": "game_scripts_structure_system", "target": "game_scripts_structure_system_blocks", "relation": "contains", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": "L118", "weight": 1.0}, {"source": "game_scripts_structure_system", "target": "game_scripts_structure_system_snap", "relation": "contains", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": "L127", "weight": 1.0}, {"source": "game_scripts_structure_system", "target": "game_scripts_structure_system_footprint", "relation": "contains", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": "L132", "weight": 1.0}, {"source": "game_scripts_structure_system", "target": "game_scripts_structure_system_corners", "relation": "contains", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": "L142", "weight": 1.0}, {"source": "game_scripts_structure_system", "target": "game_scripts_structure_system_validate", "relation": "contains", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": "L153", "weight": 1.0}, {"source": "game_scripts_structure_system", "target": "game_scripts_structure_system_place", "relation": "contains", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": "L193", "weight": 1.0}, {"source": "game_scripts_structure_system", "target": "game_scripts_structure_system_dismantle", "relation": "contains", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": "L209", "weight": 1.0}, {"source": "game_scripts_structure_system", "target": "game_scripts_structure_system_damage", "relation": "contains", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": "L225", "weight": 1.0}, {"source": "game_scripts_structure_system", "target": "game_scripts_structure_system_repair_cost", "relation": "contains", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": "L250", "weight": 1.0}, {"source": "game_scripts_structure_system", "target": "game_scripts_structure_system_repair", "relation": "contains", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": "L266", "weight": 1.0}, {"source": "game_scripts_structure_system", "target": "game_scripts_structure_system_structure_near", "relation": "contains", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": "L278", "weight": 1.0}, {"source": "game_scripts_structure_system", "target": "game_scripts_structure_system_try_trap", "relation": "contains", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": "L293", "weight": 1.0}, {"source": "game_scripts_structure_system", "target": "game_scripts_structure_system_step", "relation": "contains", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": "L305", "weight": 1.0}, {"source": "game_scripts_structure_system", "target": "game_scripts_structure_system_sync_from_state", "relation": "contains", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": "L341", "weight": 1.0}, {"source": "game_scripts_structure_system", "target": "game_scripts_structure_system_make_ghost", "relation": "contains", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": "L358", "weight": 1.0}, {"source": "game_scripts_structure_system", "target": "game_scripts_structure_system_process", "relation": "contains", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": "L371", "weight": 1.0}, {"source": "game_scripts_structure_system", "target": "game_scripts_structure_system_remove", "relation": "contains", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": "L403", "weight": 1.0}, {"source": "game_scripts_structure_system", "target": "game_scripts_structure_system_update_nav", "relation": "contains", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": "L417", "weight": 1.0}, {"source": "game_scripts_structure_system", "target": "game_scripts_structure_system_add_view", "relation": "contains", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": "L426", "weight": 1.0}, {"source": "game_scripts_structure_system", "target": "game_scripts_structure_system_build_view", "relation": "contains", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": "L464", "weight": 1.0}, {"source": "game_scripts_structure_system", "target": "game_scripts_structure_system_strip_collision", "relation": "contains", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": "L547", "weight": 1.0}, {"source": "game_scripts_structure_system", "target": "game_scripts_structure_system_ground_y", "relation": "contains", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": "L554", "weight": 1.0}, {"source": "game_scripts_structure_system", "target": "game_scripts_structure_system_world_blocked", "relation": "contains", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": "L565", "weight": 1.0}, {"source": "game_scripts_structure_system", "target": "game_scripts_structure_system_distance_to_outline", "relation": "contains", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": "L608", "weight": 1.0}, {"source": "game_scripts_structure_system", "target": "game_scripts_structure_system_overlaps_rect", "relation": "contains", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": "L617", "weight": 1.0}, {"source": "game_scripts_structure_system", "target": "game_scripts_structure_system_overlap", "relation": "contains", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": "L623", "weight": 1.0}, {"source": "game_scripts_structure_system", "target": "game_scripts_campaign_controller", "relation": "imports_from", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_structure_system", "target": "game_scripts_game_config", "relation": "imports_from", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_structure_system", "target": "game_scripts_farm_navigation", "relation": "imports_from", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_structure_system", "target": "game_scripts_farm_zones", "relation": "imports_from", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_structure_system", "target": "game_scripts_enemy_system", "relation": "imports_from", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_structure_system", "target": "game_scripts_farm_projectiles", "relation": "imports_from", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_structure_system", "target": "game_scripts_player_character", "relation": "imports_from", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_structure_system", "target": "game_scripts_upgrades", "relation": "imports_from", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_structure_system", "target": "game_scripts_resource_store", "relation": "imports_from", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_structure_system_setup", "target": "game_scripts_farm_zones_crop_units", "relation": "calls", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_structure_system_setup", "target": "game_scripts_farm_zones_gaps", "relation": "calls", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_structure_system_setup", "target": "game_scripts_structure_system_sync_from_state", "relation": "calls", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_structure_system_setup", "target": "game_scripts_farm_navigation", "relation": "calls", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_structure_system_max_hp", "target": "game_scripts_game_config_structure_hp", "relation": "calls", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_structure_system_max_hp", "target": "game_scripts_upgrades_value", "relation": "calls", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_structure_system_turret_range", "target": "game_scripts_upgrades_value", "relation": "calls", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_structure_system_trap_slow_time", "target": "game_scripts_upgrades_value", "relation": "calls", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_structure_system_validate", "target": "game_scripts_structure_system_footprint", "relation": "calls", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_structure_system_validate", "target": "game_scripts_structure_system_corners", "relation": "calls", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_structure_system_validate", "target": "game_scripts_structure_system_distance_to_outline", "relation": "calls", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_structure_system_validate", "target": "game_scripts_structure_system_overlaps_rect", "relation": "calls", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_structure_system_validate", "target": "game_scripts_structure_system_overlap", "relation": "calls", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_structure_system_validate", "target": "game_scripts_structure_system_world_blocked", "relation": "calls", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_structure_system_validate", "target": "game_scripts_structure_system_blocks", "relation": "calls", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_structure_system_validate", "target": "game_scripts_resource_store_can_afford", "relation": "calls", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_structure_system_validate", "target": "game_scripts_resource_store_describe", "relation": "calls", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_structure_system_validate", "target": "game_scripts_resource_store_missing", "relation": "calls", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_structure_system_validate", "target": "game_scripts_campaign_controller", "relation": "calls", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_structure_system_place", "target": "game_scripts_farm_state_pay", "relation": "calls", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_structure_system_place", "target": "game_scripts_structure_system_max_hp", "relation": "calls", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_structure_system_place", "target": "game_scripts_farm_state_record_event", "relation": "calls", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_structure_system_place", "target": "game_scripts_structure_system_add_view", "relation": "calls", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_structure_system_place", "target": "game_scripts_structure_system_update_nav", "relation": "calls", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_structure_system_dismantle", "target": "game_scripts_farm_state_structure", "relation": "calls", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_structure_system_dismantle", "target": "game_scripts_structure_system_remove", "relation": "calls", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_structure_system_damage", "target": "game_scripts_farm_state_structure", "relation": "calls", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_structure_system_damage", "target": "game_scripts_farm_state_record_event", "relation": "calls", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_structure_system_damage", "target": "game_scripts_structure_system_remove", "relation": "calls", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_structure_system_repair_cost", "target": "game_scripts_farm_state_structure", "relation": "calls", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_structure_system_repair_cost", "target": "game_scripts_structure_system_max_hp", "relation": "calls", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_structure_system_repair", "target": "game_scripts_structure_system_repair_cost", "relation": "calls", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_structure_system_repair", "target": "game_scripts_farm_state_pay", "relation": "calls", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_structure_system_repair", "target": "game_scripts_farm_state_structure", "relation": "calls", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_structure_system_repair", "target": "game_scripts_structure_system_max_hp", "relation": "calls", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_structure_system_repair", "target": "game_scripts_farm_state_record_event", "relation": "calls", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_structure_system_structure_near", "target": "game_scripts_structure_system_max_hp", "relation": "calls", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_structure_system_structure_near", "target": "game_scripts_structure_system_distance_to_outline", "relation": "calls", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_structure_system_structure_near", "target": "game_scripts_structure_system_corners", "relation": "calls", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_structure_system_structure_near", "target": "game_scripts_structure_system_footprint", "relation": "calls", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_structure_system_step", "target": "game_scripts_structure_system_turret_range", "relation": "calls", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_structure_system_step", "target": "game_scripts_farm_projectiles", "relation": "calls", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_structure_system_step", "target": "game_scripts_farm_navigation", "relation": "calls", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_structure_system_sync_from_state", "target": "game_scripts_structure_system_add_view", "relation": "calls", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_structure_system_sync_from_state", "target": "game_scripts_structure_system_update_nav", "relation": "calls", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_structure_system_make_ghost", "target": "game_scripts_structure_system_build_view", "relation": "calls", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_structure_system_make_ghost", "target": "game_scripts_structure_system_strip_collision", "relation": "calls", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_structure_system_process", "target": "game_scripts_structure_system_max_hp", "relation": "calls", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_structure_system_remove", "target": "game_scripts_structure_system_update_nav", "relation": "calls", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_structure_system_update_nav", "target": "game_scripts_structure_system_blocks", "relation": "calls", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_structure_system_update_nav", "target": "game_scripts_structure_system_corners", "relation": "calls", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_structure_system_update_nav", "target": "game_scripts_structure_system_footprint", "relation": "calls", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_structure_system_update_nav", "target": "game_scripts_farm_navigation", "relation": "calls", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_structure_system_add_view", "target": "game_scripts_structure_system_build_view", "relation": "calls", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_structure_system_add_view", "target": "game_scripts_structure_system_ground_y", "relation": "calls", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_structure_system_build_view", "target": "game_scripts_structure_system_footprint", "relation": "calls", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_structure_system_build_view", "target": "game_scripts_structure_system_strip_collision", "relation": "calls", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_structure_system_overlaps_rect", "target": "game_scripts_structure_system_overlap", "relation": "calls", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_structure_system_place", "target": "game_scripts_structure_system_built", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_structure_system_damage", "target": "game_scripts_structure_system_hurt", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_structure_system_damage", "target": "game_scripts_structure_system_destroyed", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_structure_system_repair", "target": "game_scripts_structure_system_repaired", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_structure_system_try_trap", "target": "game_scripts_structure_system_trap_sprung", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_structure_system_step", "target": "game_scripts_structure_system_turret_fired", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_structure_system_update_nav", "target": "game_scripts_structure_system_layout_changed", "relation": "references", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "game/scripts/structure_system.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_structure_system", "target": "game_scripts_farm_state", "relation": "shares_data_with", "confidence": "INFERRED", "confidence_score": 0.95, "source_file": "game/scripts/structure_system.gd", "source_location": null, "weight": 1.0}, {"source": "game_scripts_structure_system_validate", "target": "game_scripts_upgrades_blocker", "relation": "semantically_similar_to", "confidence": "INFERRED", "confidence_score": 0.75, "source_file": "game/scripts/structure_system.gd", "source_location": null, "weight": 1.0}], "hyperedges": [{"id": "reason_string_validators", "label": "Why-not reason-string validators (\"\" = allowed)", "nodes": ["game_scripts_structure_system_validate", "game_scripts_upgrades_blocker", "game_scripts_interactions_blocker"], "relation": "implement", "confidence": "INFERRED", "confidence_score": 0.75, "source_file": "game/scripts/structure_system.gd"}]}