Implements language selection properly

Adds a configuration option for the plugin language
Loads the selected language instead of always loading "en"
Makes sure the language is updated upon reloading
This commit is contained in:
2022-10-21 00:46:01 +02:00
parent 9f433cb0f1
commit 39e164c9c8
3 changed files with 12 additions and 1 deletions

View File

@ -1,5 +1,8 @@
# Blacksmith Configuration
# The language used for messages. Only "en" is supported
language: en
# The settings which apply to all Blacksmith NPCs. These can also be changed using the /blacksmithconfig command
global:
# The minimum price of each cost