update readme

This commit is contained in:
Lilian Jónsdóttir 2020-09-07 16:30:47 -07:00
parent 46ff8e8c20
commit d3078ee29d

View file

@ -30,7 +30,7 @@ Open dialogues.lua to edit the dialogues. I'm no writer so they're probably bad,
To add a new language add something like this to dialogues.lua: To add a new language add something like this to dialogues.lua:
``` ```Lua
["your language"] = { ["your language"] = {
-- guards might say this every so often to players who are sneaking -- guards might say this every so often to players who are sneaking
-- %s is replaced with race or class -- %s is replaced with race or class
@ -57,6 +57,16 @@ To add a new language add something like this to dialogues.lua:
The MCM dropdown will automatically be populated with the configured language, and once selected, those dialogues will be used. The MCM dropdown will automatically be populated with the configured language, and once selected, those dialogues will be used.
## Interop ##
Currently extremely basic. Exposes some data for use in other mods.
```Lua
local mag = require("celediel.MoreAttentiveGuards.interop")
-- returns tes3reference of currently following guard, or nil if no follower
local followingGuard = mag.getGuardFollower()
```
## Requirements ## ## Requirements ##
MWSE 2.1 nightly @ [github](https://github.com/MWSE/MWSE) MWSE 2.1 nightly @ [github](https://github.com/MWSE/MWSE)