-
-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
moved lang modifications to client scripts
- Loading branch information
1 parent
09d2131
commit 72da441
Showing
2 changed files
with
33 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
//priority: 800 | ||
const entries = [ | ||
{ | ||
key: 'block.naturesaura.infused_iron_block', | ||
value: { | ||
normal: 'Infused Iron Block', | ||
expert: 'Infused Ironwood Block' | ||
} | ||
}, | ||
{ | ||
key: 'item.naturesaura.infused_iron', | ||
value: { | ||
normal: 'Infused Iron Ingot', | ||
expert: 'Infused Ironwood Ingot' | ||
} | ||
}, | ||
{ | ||
key: 'advancement.naturesaura.infused_materials.desc', | ||
value: { | ||
normal: 'Use the Natural Altar to create Infused Iron', | ||
expert: 'Use the Natural Altar to create Infused Ironwood' | ||
} | ||
} | ||
]; | ||
|
||
let lang_file = `kubejs/assets/enigmatica/lang/en_us.json`; | ||
let lang_json = JsonIO.read(lang_file); | ||
|
||
entries.forEach((entry) => { | ||
lang_json[entry.key] = entry.value[packMode]; | ||
}); | ||
|
||
JsonIO.write(lang_file, lang_json); |
This file was deleted.
Oops, something went wrong.