summaryrefslogtreecommitdiff
path: root/npc/functions/game-rules.txt
diff options
context:
space:
mode:
authorgumi <mekolat@users.noreply.github.com>2017-01-15 12:11:40 -0500
committergumi <mekolat@users.noreply.github.com>2017-01-17 14:04:55 -0500
commitd20db213bb679b3daded777259144e48af0b23a4 (patch)
tree99a5322b67f1aeb4dd1227eb4e69fddbcbeaaaf6 /npc/functions/game-rules.txt
parent1dfe4d358d88e1cbe87c3b5ef7e4467023db0544 (diff)
downloadserverdata-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.txt4
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;