|
|
ba013bf461
|
fix: f-string 완전 제거 + position/radius 방식 + pcall + try/except
근본 원인: f-string 안의 Lua {{}} 중괄호가 Python 이스케이프와 충돌
- scan_resources: area 대신 position+radius (중첩 중괄호 없음)
- 모든 Lua: f-string 제거, pcall 감싸기
- get_inventory: get_contents() 대신 인덱스 접근 (Factorio 2.0 호환)
- get_buildings: force="player"로 간결하게
- 모든 Python 파싱: try/except + startswith("{") 검증
|
2026-03-25 20:20:47 +09:00 |
|
|
|
6ee4fef688
|
fix: Factorio 2.0 호환 + 자원 스캔 반경 500 + type 기반 검색
- scan_resources: radius 200→500, type="resource"로 검색 (이름 호환 문제 없음)
- get_buildings: name 대신 type 기반 + pcall 안전 감싸기
- summarize_for_ai: 자원 거리 표시 추가
|
2026-03-25 20:09:02 +09:00 |
|
|
|
ea4be446bb
|
fix: state_reader game.player → game.players[1]
|
2026-03-25 15:09:48 +09:00 |
|
|
|
55c9657500
|
Update state_reader.py - 상태 읽기 모듈 최신 버전
|
2026-03-25 10:26:28 +09:00 |
|
|
|
d2d6f6ef17
|
Add state_reader.py - Game state reading module
|
2026-03-25 00:09:32 +09:00 |
|