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

Achievements Additions #72731

Merged
merged 2 commits into from
Mar 31, 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
84 changes: 84 additions & 0 deletions data/json/achievements.json
Original file line number Diff line number Diff line change
Expand Up @@ -2238,5 +2238,89 @@
"description": "Reach a Police Station"
}
]
},
{
"id": "achievement_read_books_250",
"type": "achievement",
"name": "Avid Reader",
"description": "Read any book 250 times",
"requirements": [ { "event_statistic": "num_reads_book", "is": ">=", "target": 250, "description": "Read books 250 times" } ]
},
{
"id": "achievement_read_books_500",
"type": "achievement",
"name": "Dedicated Reader",
"description": "Read any book 500 times",
"hidden_by": [ "achievement_read_books_250" ],
"requirements": [ { "event_statistic": "num_reads_book", "is": ">=", "target": 500, "description": "Read books 500 times" } ]
},
{
"id": "achievement_read_books_1000",
"type": "achievement",
"name": "Bibliophile",
"description": "Read any book 1000 times",
"hidden_by": [ "achievement_read_books_500" ],
"requirements": [ { "event_statistic": "num_reads_book", "is": ">=", "target": 1000, "description": "Read books 1000 times" } ]
},
{
"id": "achievement_break_3_bones",
"type": "achievement",
"name": "That's not supposed to bend that way!",
"requirements": [ { "event_statistic": "num_broken_bone", "is": ">=", "target": 3, "description": "Break 3 bones" } ]
},
{
"id": "achievement_break_6_bones",
"type": "achievement",
"name": "Paper mache limbs",
"hidden_by": [ "achievement_break_3_bones" ],
"requirements": [ { "event_statistic": "num_broken_bone", "is": ">=", "target": 6, "description": "Break 6 bones" } ]
},
{
"id": "achievement_break_10_bones",
"type": "achievement",
"name": "Amateur Orthopedic Surgeon",
"hidden_by": [ "achievement_break_6_bones" ],
"requirements": [ { "event_statistic": "num_broken_bone", "is": ">=", "target": 10, "description": "Break 10 bones" } ]
},
{
"id": "achievement_heal_250_damage",
"type": "achievement",
"name": "Beginner Survivor",
"requirements": [ { "event_statistic": "avatar_damage_healed", "is": ">=", "target": 250, "description": "Heal 250 Damage" } ]
},
{
"id": "achievement_heal_1000_damage",
"type": "achievement",
"name": "Accomplished Survivor",
"hidden_by": [ "achievement_heal_250_damage" ],
"requirements": [ { "event_statistic": "avatar_damage_healed", "is": ">=", "target": 1000, "description": "Heal 1,000 Damage" } ]
},
{
"id": "achievement_heal_2500_damage",
"type": "achievement",
"name": "Veteran Survivor",
"hidden_by": [ "achievement_heal_1000_damage" ],
"requirements": [ { "event_statistic": "avatar_damage_healed", "is": ">=", "target": 2500, "description": "Heal 2,500 Damage" } ]
},
{
"id": "achievement_heal_5000_damage",
"type": "achievement",
"name": "Hardened Survivor",
"hidden_by": [ "achievement_heal_2500_damage" ],
"requirements": [ { "event_statistic": "avatar_damage_healed", "is": ">=", "target": 5000, "description": "Heal 5,000 Damage" } ]
},
{
"id": "achievement_reach_LIXA",
"type": "achievement",
"name": "Brilliant!",
"requirements": [
{
"event_statistic": "num_avatar_enters_LIXA",
"is": ">=",
"target": 1,
"visible": "when_achievement_completed",
"description": "Reach a research lab"
}
]
}
]
15 changes: 15 additions & 0 deletions data/json/statistics.json
Original file line number Diff line number Diff line change
Expand Up @@ -2711,5 +2711,20 @@
"stat_type": "count",
"event_transformation": "avatar_enters_trans_lab",
"description": { "str": "Trans Coastal Lab entered", "str_pl": "Trans Coastal Labs entered" }
},
{
"id": "avatar_enters_LIXA",
"type": "event_transformation",
"event_transformation": "avatar_enters_oter_type",
"value_constraints": {
"oter_type_id": { "equals_any": [ "oter_type_str_id", [ "LIXA_surface_1a", "LIXA_surface_1b", "LIXA_surface_2a", "LIXA_surface_2b" ] ] }
}
},
{
"id": "num_avatar_enters_LIXA",
"type": "event_statistic",
"stat_type": "count",
"event_transformation": "avatar_enters_LIXA",
"description": { "str": "LIXA entered", "str_pl": "LIXAs entered" }
}
]
Loading