diff options
author | gumi <mekolat@users.noreply.github.com> | 2017-01-15 12:11:40 -0500 |
---|---|---|
committer | gumi <mekolat@users.noreply.github.com> | 2017-01-17 14:04:55 -0500 |
commit | d20db213bb679b3daded777259144e48af0b23a4 (patch) | |
tree | 99a5322b67f1aeb4dd1227eb4e69fddbcbeaaaf6 /npc/functions/game-rules.txt | |
parent | 1dfe4d358d88e1cbe87c3b5ef7e4467023db0544 (diff) | |
download | serverdata-d20db213bb679b3daded777259144e48af0b23a4.tar.gz serverdata-d20db213bb679b3daded777259144e48af0b23a4.tar.bz2 serverdata-d20db213bb679b3daded777259144e48af0b23a4.tar.xz serverdata-d20db213bb679b3daded777259144e48af0b23a4.zip |
make openbook inherit book name from calling npc
Diffstat (limited to 'npc/functions/game-rules.txt')
-rw-r--r-- | npc/functions/game-rules.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/functions/game-rules.txt b/npc/functions/game-rules.txt index afefd530..bb1cd3da 100644 --- a/npc/functions/game-rules.txt +++ b/npc/functions/game-rules.txt @@ -44,12 +44,12 @@ OnCall: close; OnUseBook: - if (openbook(.book_name$)) + if (openbook()) read_book; bye; OnShelfUse: - if (openbookshelf(.book_name$)) + if (openbookshelf()) read_book; bye; |