diff --git a/bin/mkmobilelist.py b/bin/mkmobilelist.py index 7e025a4..25e0717 100755 --- a/bin/mkmobilelist.py +++ b/bin/mkmobilelist.py @@ -35,6 +35,8 @@ PANEL2 = """ def print_header_nav(current_page_id): pages = [("page-skilltrees", "Skill Trees"), ("page-items", "Items"), + ("page-gather", "Gather"), + ("page-carve", "Carve"), ("page-hunterarts", "Hunter Arts"), ("page-monsters", "Monsters")] print """ @@ -104,6 +106,11 @@ def _main(): db = MHDB() strees = db.get_skill_trees() items = db.get_items(item_types=("Tool", "Book", "Consumable", "Ammo")) + gather_items = db.get_items(item_types= + ("Bone", "Plant", "Ore", "Fish", "Bug", "Sac/Fluid", "Meat")) + + carve_items = db.get_items(item_types=("Flesh",)) + print """ @@ -167,6 +174,22 @@ def _main(): print '' print '' + print '
' + print_header_nav("page-gather") + print '
' + mk_html_list(gather_items, ("icon_name", "name", "name_jp"), + ("icon_name", "name"), divider_fn=item_divider_fn) + print '
' + print '
' + + print '
' + print_header_nav("page-carve") + print '
' + mk_html_list(carve_items, ("icon_name", "name", "name_jp"), + ("icon_name", "name"), divider_fn=item_divider_fn) + print '
' + print '
' + ha_path = os.path.join(_pathfix.project_path, "db", "hunter_arts.json") with open(ha_path) as f: ha_list = json.load(f) diff --git a/web/translate/index.html b/web/translate/index.html index f16064b..304f3a0 100644 --- a/web/translate/index.html +++ b/web/translate/index.html @@ -35,6 +35,8 @@
  • Skill Trees
  • Items
  • +
  • Gather
  • +
  • Carve
  • Hunter Arts
  • Monsters
  • @@ -628,6 +630,8 @@
  • Skill Trees
  • Items
  • +
  • Gather
  • +
  • Carve
  • Hunter Arts
  • Monsters
  • @@ -1560,12 +1564,5469 @@ +
    +
    +
    + +
    +
    +
    + +
    +
    +
    +
    +
    + +
    +
    +
    + +
    +