diff --git a/README.md b/README.md index 8164476..a13ec10 100644 --- a/README.md +++ b/README.md @@ -1,17 +1,21 @@ # mod-LuaEngine -中文|[english](README_EN.md) + english | [chinese](README_CN.md) -一个用于AzerothCore的ELUNA模块. +a Eluna module for AzerothCore -为了兼容AzerothCore.更改了一个eluna的api +To make Eluna compatible with Azerothcore.one lua Api has been changed. ``` OnConfigLoad(bool reload) => OnConfigLoad(bool reload, bool isBefore) ``` -如何安装: -* 下载这个模块:[download](https://github.com/AyaseCore/mod-LuaEngine/archive/master.zip) -* 解压并放到Azerothcore源码的modules文件夹中. -* 下载ELUNA的核心文件:[download](https://github.com/AyaseCore/Eluna/archive/ElunaAzerothWotlk.zip) -* 解压并放置到模块的LuaEngine文件夹中:mod-LuaEngine/LuaEngine -* 重新cmake. -* 重新生成. +How to install: +* download or clone this module: +> [download zip file.](https://github.com/azerothcore/mod-eluna-lua-engine/archive/master.zip) +> clone `git clone https://github.com/azerothcore/mod-eluna-lua-engine.git` +* Put it in the modules folder of the Azerothcore. +* download or clone the ELUNA core file: +> [download zip file.](https://github.com/ElunaLuaEngine/Eluna/archive/master.zip) +> clone `git clone https://github.com/ElunaLuaEngine/Eluna.git` +* Put it in the lua module folder:mod-LuaEngine/LuaEngine +* cmake again +* rebuild. \ No newline at end of file diff --git a/README_CN.md b/README_CN.md new file mode 100644 index 0000000..7093e8f --- /dev/null +++ b/README_CN.md @@ -0,0 +1,21 @@ +# mod-LuaEngine +[english](README.md) | 中文 + +一个用于AzerothCore的ELUNA模块. + +为了兼容AzerothCore.更改了一个eluna的api +``` +OnConfigLoad(bool reload) => OnConfigLoad(bool reload, bool isBefore) +``` + +如何安装: +* 下载或者克隆这个模块: +> [下载zip压缩包](https://github.com/azerothcore/mod-eluna-lua-engine/archive/master.zip) +> 或者克隆 `git clone https://github.com/azerothcore/mod-eluna-lua-engine.git` +* 解压并放到Azerothcore源码的modules文件夹中. +* 下载或者克隆ELUNA的核心文件: +> [download zip file.](https://github.com/ElunaLuaEngine/Eluna/archive/master.zip) +> clone `git clone https://github.com/ElunaLuaEngine/Eluna.git` +* 解压并放置到模块的LuaEngine文件夹中:mod-LuaEngine/LuaEngine +* 重新cmake. +* 重新生成. \ No newline at end of file diff --git a/README_EN.md b/README_EN.md deleted file mode 100644 index d2115fd..0000000 --- a/README_EN.md +++ /dev/null @@ -1,17 +0,0 @@ -# mod-LuaEngine -[chinese](README.md) | english - -a Eluna module for AzerothCore - -To make Eluna compatible with Azerothcore.one lua Api has been changed. -``` -OnConfigLoad(bool reload) => OnConfigLoad(bool reload, bool isBefore) -``` - -How to install: -* download this module:[download](https://github.com/AyaseCore/mod-LuaEngine/archive/master.zip) -* unzip this module.Put it in the modules folder of the Azerothcore. -* download ELUNA core file:[download](https://github.com/AyaseCore/Eluna/archive/ElunaAzerothWotlk.zip) -* unzip,Put it in the lua module folder:mod-LuaEngine/LuaEngine -* cmake again -* rebuild.