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/001-2-5 | |
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/001-2-5')
-rw-r--r-- | npc/001-2-5/books.txt | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/npc/001-2-5/books.txt b/npc/001-2-5/books.txt index 16f67100..d8f3654b 100644 --- a/npc/001-2-5/books.txt +++ b/npc/001-2-5/books.txt @@ -17,19 +17,17 @@ } OnShelfUse: - @book_name$ = .bookname$; - if (openbookshelf ()) + if (openbookshelf()) read_book; close; OnUse: - @book_name$ = .bookname$; - if (openbook ()) + if (openbook()) read_book; close; OnInit: - .bookname$ = "Communication Theory"; + .book_name$ = "Communication Theory"; .sex = G_OTHER; .distance = 1; end; |