주 메뉴 열기
대문
임의의 문서로
로그인
설정
Stardew Valley Wiki 소개
면책 조항
Stardew Valley Wiki
검색
모듈:Calcgrangepoints 문서 원본 보기
←
모듈:Calcgrangepoints
문서 편집 권한이 없습니다. 다음 이유를 확인해주세요:
요청한 명령은 다음 권한을 가진 사용자에게 제한됩니다:
사용자
.
모듈
이름공간의 문서를 편집할 권한이 없습니다.
문서의 원본을 보거나 복사할 수 있습니다.
local p = {} function p.cgp(frame) --Template must call Calcsellprice and send result here local price = tonumber(frame.args.p) --quality must be 0, 1, 2, or 4 local quality = tonumber(frame.args.q) local totalpoints = 0 totalpoints = quality + 1 if (price >= 20) then totalpoints = totalpoints + 1 end if (price >= 90) then totalpoints = totalpoints + 1 end if (price >= 200) then totalpoints = totalpoints + 1 end if (price >= 300 and quality < 2) then totalpoints = totalpoints + 1 end if (price >= 400 and quality < 1) then totalpoints = totalpoints + 1 end return totalpoints end return p
이 문서에서 사용한 틀:
모듈:Calcgrangepoints/설명문서
(
원본 보기
)
모듈:Calcgrangepoints
문서로 돌아갑니다.