summaryrefslogtreecommitdiff
path: root/npc/001-2-5
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/001-2-5
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/001-2-5')
-rw-r--r--npc/001-2-5/books.txt8
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;