From 829215cbaea4bb81e512f98f69e63a074d700712 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lilian=20J=C3=B3nsd=C3=B3ttir?= Date: Sat, 8 Aug 2020 16:27:13 -0700 Subject: [PATCH] update readme --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 56d8a71..e7d5563 100644 --- a/README.md +++ b/README.md @@ -36,16 +36,16 @@ For modders, an interop module is included. Use it like so: ```Lua -local interop = require("celediel.DoorRandomizer.interop") -- the module +local doorRandomizer = require("celediel.DoorRandomizer.interop") -- the module -local chance = interop.getRandomizeChance() -- get global randomize chance -interop.setRandomizeChance(chance + 25) -- set global randomize chance +local chance = doorRandomizer.getRandomizeChance() -- get global randomize chance +doorRandomizer.setRandomizeChance(chance + 25) -- set global randomize chance -- https://mwse.readthedocs.io/en/latest/lua/type/tes3door.html local door -- a tes3door references -interop.randomizeDoor(door, 100) -- overrides randomize chance for this one door -interop.unRandomizeDoor(door) -- removes overrides +doorRandomizer.randomizeDoor(door, 100) -- overrides randomize chance for this one door +doorRandomizer.unRandomizeDoor(door) -- removes overrides ``` ## Requirements ##