Skip to content

Commit

Permalink
Add Warning Not To Edit the Quest Book Lang
Browse files Browse the repository at this point in the history
  • Loading branch information
IntegerLimit committed Feb 10, 2024
1 parent 746e822 commit 98d2ada
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
4 changes: 4 additions & 0 deletions nomi-ceu/assets/questbook/lang/en_us.lang
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# DO NOT EDIT THIS FILE!
# THIS IS A SOURCE FILE ONLY!
# See https://github.com/Nomi-CEu/Nomi-CEu/wiki/Part-1:-Contributing-Information#section-2-quest-book-contributing FOR HOW TO EDIT THE QUEST BOOK!

# Normal Quest Lang Entries:

# line 0 of mode normal
Expand Down
7 changes: 7 additions & 0 deletions tools/tasks/moduleSpecific/transformQuestBook.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,13 @@ export async function transformQuestBook(): Promise<void> {
// Extract title/desc pairs into a lang file.
const lines: string[] = [];

lines.push(
"# DO NOT EDIT THIS FILE!",
"# THIS IS A SOURCE FILE ONLY!",
"# See https://github.com/Nomi-CEu/Nomi-CEu/wiki/Part-1:-Contributing-Information#section-2-quest-book-contributing FOR HOW TO EDIT THE QUEST BOOK!",
"",
);

lines.push("# Normal Quest Lang Entries:", "");

// Normal Mode Quest lines.
Expand Down

0 comments on commit 98d2ada

Please sign in to comment.