Bỏ qua để đến nội dung

UI Logic Mapping - Item Visuals

DomainsDOL EnglishUX412 words2 min read
active

Hardening Note (SoT precedence): Tài liệu này tuân theo ../Core Logic/VOCV2_Product_Spec_Hardening_v1.md. Nếu có mâu thuẫn, ưu tiên SoT hardening.

  • Level thành thạo của mỗi từ là thang 0-5 trong max_stage (Seed -> Flowering).
  • Health là trạng thái hiện tại theo F_now so với Threshold.
  • Level và Health là 2 trục độc lập:
    • Level nói về đỉnh tiến bộ dài hạn.
    • Health nói về độ “khát nước” hiện tại.
LevelTênĐiều kiện đạtQuy tắc hiển thị
0Seedunseen (chưa có ItemLearner)Hạt giống
1SproutCó ItemLearner, chưa đạt điều kiện Level 2Cây mầm
2SeedlingF_peak >= 30Cây non
3SaplingF_peak >= Threshold(skill)Cây đang vững
4MaturesuccessCount >= 3Cây trưởng thành
5FloweringsuccessCount >= 5Cây nở hoa

Rule quan trọng:

  • max_stage chỉ tăng, không giảm theo F_now.
  • Một từ từng đạt Level 5 vẫn giữ icon Level 5, dù có thể đang Needs Water/Withered.
HealthĐiều kiệnÝ nghĩa
HealthyF_now >= Threshold(skill)Đang ổn
Needs Water0 < F_now < Threshold(skill)Cần ôn sớm
WitheredF_now = 0Quên nặng, cần relearn
  1. Render size/icon theo max_stage.
  2. Render health overlay theo F_now + Threshold.
  3. Không dùng F_now để hạ level 5->4->3.
  4. Cho phép tổ hợp như:
    • Level 5 + Needs Water
    • Level 3 + Healthy
    • Level 1 + Withered
  • max_stage (0..5)
  • F_now (0..100)
  • threshold theo skill
  • item.skill
  • is_unseen (hoặc kiểm tra ItemLearner record)