Merge remote-tracking branch 'origin/main_laptop_1' into sub_laptop_4
This commit is contained in:
@@ -321,7 +321,11 @@ def one_value(item: dict, local: list[dict] | None = None) -> dict:
|
||||
if group == "기계" and isinstance(ref, str) and MACHINE_SEP in ref:
|
||||
ref, _, field = ref.partition(MACHINE_SEP)
|
||||
try:
|
||||
if isinstance(item.get("slot"), dict): # 재료 자리(고정 · 선택 · 조건 찾기)
|
||||
if (
|
||||
isinstance(item.get("slot"), dict) and group in GROUP_RULE
|
||||
): # 인력 · 기계 · 유가 조건 찾기
|
||||
got = group_find(str(group), item["slot"], item.get("value"))
|
||||
elif isinstance(item.get("slot"), dict): # 재료 자리(고정 · 선택 · 조건 찾기)
|
||||
got = slot_price(item["slot"], item.get("value"), item.get("pick"))
|
||||
elif isinstance(ref, str) and _UKEY.match(ref):
|
||||
got = _user(ref, local or [])
|
||||
|
||||
Reference in New Issue
Block a user