From 5c517de9c5817642ac747d480c5ad2a2f747e29f Mon Sep 17 00:00:00 2001 From: Reid Date: Mon, 13 Jun 2016 01:42:22 +0200 Subject: Complete Robin Williams tribute. --- npc/001-2-4/robin.txt | 58 +++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 56 insertions(+), 2 deletions(-) diff --git a/npc/001-2-4/robin.txt b/npc/001-2-4/robin.txt index 06930fdf..2457e5bc 100644 --- a/npc/001-2-4/robin.txt +++ b/npc/001-2-4/robin.txt @@ -5,8 +5,62 @@ // Librarian 001-2-4,27,33,0 script Robin NPC_ROBIN,{ - speech 4, - l("Hi."); + + function need_help + { + speech 4, + l("Do you need help with something?"); + + switch (select(l("What kinds of books are there here?"), + l("Nothing."))) + { + case 1: + closedialog; + npctalk3 l("Mostly manuals and tutorials but you won't find out until you open one!"); + break; + case 2: + closedialog; + npctalk3 l("Good day to you!"); + } + return; + } + + function mythologise_people + { + npctalkonce l("In Artis they really do mythologise people when they die."); + + return; + } + + function no_matter_what + { + npctalkonce l("No matter what people tell you, words and ideas can change the world."); + + return; + } + + function outside_inside + { + npctalkonce l("What counts in a book is like so many things, not what is on the outside, but what is on the inside."); + + return; + } + + switch (rand(4)) + { + case 0: + no_matter_what(); + break; + case 1: + mythologise_people(); + break; + case 2: + outside_inside(); + break; + case 3: + need_help(); + break; + } close; -- cgit v1.2.3-60-g2f50