Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New/additional achievement info #241

Merged
merged 4 commits into from
Oct 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 52 additions & 0 deletions .github/workflows/update-achievement.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: Achievement Update

on:
schedule:
# Runs at 1:00 AM every Thursday
- cron: '0 1 * * 4'
workflow_dispatch: # Allows manual triggering

jobs:
update-banners:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- name: Checkout main branch
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '20.x'

- name: Install missing packages
run: sudo apt-get update && sudo apt-get install -y git curl unzip

- name: Setup Bun
uses: oven-sh/setup-bun@v1
with:
bun-version: latest

- name: Install project dependencies
run: bun install

- name: Run update script
run: bun run ./scripts/workflow/additional_achievement.ts

- name: Create Pull Request
uses: peter-evans/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: "Auto-update Achievement data"
title: "Auto-update: Achievement Data Update"
body: |
This is an automated pull request to update Achievement data.

Please review the changes and merge if everything looks correct.
branch: auto-update-achievement-data
base: main
delete-branch: true
2 changes: 1 addition & 1 deletion .github/workflows/update-banners.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Biweekly Cron Job
name: Banner Update

on:
schedule:
Expand Down
177 changes: 177 additions & 0 deletions data/EN/AchievementCategory/ARealmBeyondSeries1Extra.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,177 @@
[
{
"achievement": "Realm Sans Frontières",
"description": "Use the Serenitea Pot to enter your realm.",
"requirements": "",
"primo": "5",
"id": 81049
},
{
"achievement": "High Adeptal Energy Readings Ahead",
"description": "Reach 20,000 Adeptal Energy in 1 realm layout.",
"requirements": "",
"primo": "5",
"id": 81050
},
{
"achievement": "High Adeptal Energy Readings Ahead",
"description": "Reach 20,000 Adeptal Energy in 2 realm layouts.",
"requirements": "",
"primo": "10",
"id": 81050
},
{
"achievement": "High Adeptal Energy Readings Ahead",
"description": "Reach 20,000 Adeptal Energy in 3 realm layouts.",
"requirements": "",
"primo": "20",
"id": 81050
},
{
"achievement": "Friend of the Realm",
"description": "Reach Trust Rank 4 with the teapot spirit.",
"requirements": "",
"primo": "5",
"id": 81053
},
{
"achievement": "Friend of the Realm",
"description": "Reach Trust Rank 7 with the teapot spirit.",
"requirements": "",
"primo": "10",
"id": 81053
},
{
"achievement": "Friend of the Realm",
"description": "Reach Trust Rank 10 with the teapot spirit.",
"requirements": "",
"primo": "20",
"id": 81053
},
{
"achievement": "T—T—T—Timberhochwandi",
"description": "Obtain 100 pieces of wood.",
"requirements": "",
"primo": "5",
"id": 81056
},
{
"achievement": "T—T—T—Timberhochwandi",
"description": "Obtain 600 pieces of wood.",
"requirements": "",
"primo": "10",
"id": 81056
},
{
"achievement": "T—T—T—Timberhochwandi",
"description": "Obtain 2,000 pieces of wood.",
"requirements": "",
"primo": "20",
"id": 81056
},
{
"achievement": "If I Were a Rich Man",
"description": "Obtain 2,000 realm currency.",
"requirements": "",
"primo": "5",
"id": 81059
},
{
"achievement": "If I Were a Rich Man",
"description": "Obtain 10,000 realm currency.",
"requirements": "",
"primo": "10",
"id": 81059
},
{
"achievement": "If I Were a Rich Man",
"description": "Obtain 50,000 realm currency.",
"requirements": "",
"primo": "20",
"id": 81059
},
{
"achievement": "Not Just a Small Bench",
"description": "Create 120 furnishings.",
"requirements": "",
"primo": "5",
"id": 81062
},
{
"achievement": "Not Just a Small Bench",
"description": "Create 300 furnishings.",
"requirements": "",
"primo": "10",
"id": 81062
},
{
"achievement": "Not Just a Small Bench",
"description": "Create 600 furnishings.",
"requirements": "",
"primo": "20",
"id": 81062
},
{
"achievement": "Color It In",
"description": "Create 50 dyes.",
"requirements": "",
"primo": "5",
"id": 81065
},
{
"achievement": "Color It In",
"description": "Create 200 dyes.",
"requirements": "",
"primo": "10",
"id": 81065
},
{
"achievement": "Color It In",
"description": "Create 600 dyes.",
"requirements": "",
"primo": "20",
"id": 81065
},
{
"achievement": "Precision Modeling",
"description": "Learn 60 furnishing blueprints.",
"requirements": "",
"primo": "5",
"id": 81068
},
{
"achievement": "Precision Modeling",
"description": "Learn 120 furnishing blueprints.",
"requirements": "",
"primo": "10",
"id": 81068
},
{
"achievement": "Precision Modeling",
"description": "Learn 180 furnishing blueprints.",
"requirements": "",
"primo": "20",
"id": 81068
},
{
"achievement": "My... Territory",
"description": "Place 50 furnishings in a single realm layout.",
"requirements": "",
"primo": "5",
"id": 81071
},
{
"achievement": "My... Territory",
"description": "Place 150 furnishings in a single realm layout.",
"requirements": "",
"primo": "10",
"id": 81071
},
{
"achievement": "My... Territory",
"description": "Place 300 furnishings in a single realm layout.",
"requirements": "",
"primo": "20",
"id": 81071
}
]
51 changes: 51 additions & 0 deletions data/EN/AchievementCategory/ARealmBeyondSeries2Extra.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
[
{
"achievement": "Honored Guest of the Realm",
"description": "Invite a companion to move in to your Serenitea Pot.",
"requirements": "",
"primo": "5",
"id": 81079
},
{
"achievement": "Fireside Chats",
"description": "Unlock 10 interactions with your companions.",
"requirements": "",
"primo": "5",
"id": 81080
},
{
"achievement": "Fireside Chats",
"description": "Unlock 20 interactions with your companions.",
"requirements": "",
"primo": "10",
"id": 81080
},
{
"achievement": "Fireside Chats",
"description": "Unlock 30 interactions with your companions.",
"requirements": "",
"primo": "20",
"id": 81080
},
{
"achievement": "Gifts All Around",
"description": "Receive 5 gifts from your companions.",
"requirements": "",
"primo": "5",
"id": 81083
},
{
"achievement": "Gifts All Around",
"description": "Receive 10 gifts from your companions.",
"requirements": "",
"primo": "10",
"id": 81083
},
{
"achievement": "Gifts All Around",
"description": "Receive 20 gifts from your companions.",
"requirements": "",
"primo": "20",
"id": 81083
}
]
72 changes: 72 additions & 0 deletions data/EN/AchievementCategory/ARealmBeyondSeries3Extra.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
[
{
"achievement": "Just Like a Game of Chess",
"description": "Set up a Realm Waypoint in your Serenitea Pot for the first time.",
"requirements": "",
"primo": "5",
"id": 81086
},
{
"achievement": "We're Going to Need More Crops!",
"description": "Gather 40 items in \"A Path of Value: Jade Field.\"",
"requirements": "",
"primo": "5",
"id": 81087
},
{
"achievement": "We're Going to Need More Crops!",
"description": "Gather 200 items in \"A Path of Value: Jade Field.\"",
"requirements": "",
"primo": "10",
"id": 81087
},
{
"achievement": "We're Going to Need More Crops!",
"description": "Gather 800 items in \"A Path of Value: Jade Field.\"",
"requirements": "",
"primo": "20",
"id": 81087
},
{
"achievement": "My Blooming Abode",
"description": "Gather 40 items in \"A Path of Value: Luxuriant Glebe.\"",
"requirements": "",
"primo": "5",
"id": 81090
},
{
"achievement": "My Blooming Abode",
"description": "Gather 200 items in \"A Path of Value: Luxuriant Glebe.\"",
"requirements": "",
"primo": "10",
"id": 81090
},
{
"achievement": "My Blooming Abode",
"description": "Gather 800 items in \"A Path of Value: Luxuriant Glebe.\"",
"requirements": "",
"primo": "20",
"id": 81090
},
{
"achievement": "Stop! Gather Time.",
"description": "Gather 40 items in \"A Path of Value: Orderly Meadow.\"",
"requirements": "",
"primo": "5",
"id": 81093
},
{
"achievement": "Stop! Gather Time.",
"description": "Gather 200 items in \"A Path of Value: Orderly Meadow.\"",
"requirements": "",
"primo": "10",
"id": 81093
},
{
"achievement": "Stop! Gather Time.",
"description": "Gather 800 items in \"A Path of Value: Orderly Meadow.\"",
"requirements": "",
"primo": "20",
"id": 81093
}
]
Loading