dos33fsprogs/gr-sim/tfv/tfv_dialog.c

382 lines
10 KiB
C
Raw Normal View History

2018-07-14 04:04:03 +00:00
#include <stdio.h>
#include "tfv_dialog.h"
#include "tfv_items.h"
struct dialog_type dialog[MAX_DIALOG]={
// Talbot Hall
[DIALOG_LIZ_WILL] = {
.statement[0].words="Let\'s discuss cool things in the lounge.",
2018-07-16 03:54:06 +00:00
.statement[0].next=1,
.statement[0].action=ACTION_QUERY,
2018-07-14 04:04:03 +00:00
.statement[1].words="YES!",
2018-07-16 03:54:06 +00:00
.statement[1].next=3,
2018-07-16 05:29:57 +00:00
.statement[2].words="Need to do engineering homework",
2018-07-16 03:54:06 +00:00
.statement[2].next=4,
.statement[3].words="Four hours pass...",
.statement[3].action=ACTION_TIME,
.statement[3].next=0,
.statement[4].words="Maybe next time.",
.statement[4].action=ACTION_DONE,
2018-07-16 03:54:06 +00:00
.statement[4].next=0,
2018-07-14 04:04:03 +00:00
},
[DIALOG_PETE] = {
.statement[0].words="Your journey takes you toward Bel Air.",
.statement[0].next=1,
.statement[1].words="Hari Seldon predicted this!",
2018-07-14 04:21:21 +00:00
.statement[1].next=2,
2018-07-14 04:04:03 +00:00
.statement[2].words="PLOT!",
.statement[2].next=2,
},
[DIALOG_KENJESU] = {
.statement[0].words="Have you found your lost guinea pig?",
.statement[0].next=0,
2018-07-16 02:19:14 +00:00
.statement[0].action=ACTION_ITEM,
.statement[0].item=ITEM_VORTEXCANNON,
2018-07-14 04:04:03 +00:00
},
[DIALOG_MATHEMAGICIAN] = {
.statement[0].words="Have you tried finding the eigenvalues?",
.statement[0].next=0,
},
[DIALOG_DARTH_TATER] = {
2018-07-14 04:21:21 +00:00
.statement[0].words="In Talbot 0101C",
2018-07-14 04:04:03 +00:00
.statement[0].next=1,
.statement[1].words="There lived a big giant bee",
.statement[1].next=2,
.statement[2].words="Don't open the door,",
.statement[2].next=3,
.statement[3].words="Because there before",
.statement[3].next=4,
.statement[4].words="Will be a big giant bee",
.statement[4].next=0,
.statement[4].action=ACTION_ITEM,
.statement[4].item=ITEM_5K_RESISTOR,
2018-07-14 04:04:03 +00:00
},
// Dining Hall
[DIALOG_OSCAR]= {
.statement[0].words="Beware the killer crabs",
.statement[0].next=1,
.statement[1].words="They want to meet you",
.statement[1].next=2,
.statement[2].words="They want to eat you",
.statement[2].next=0,
2018-07-16 02:19:14 +00:00
.statement[2].action=ACTION_ITEM,
.statement[2].item=ITEM_CHEX_MIX,
2018-07-14 04:04:03 +00:00
},
[DIALOG_NICOLE]= {
2018-07-15 23:55:01 +00:00
.statement[0].words="Have something from my homeland.",
.statement[0].next=1,
2018-07-16 02:19:14 +00:00
.statement[0].action=ACTION_ITEM,
.statement[0].item=ITEM_VEGEMITE,
2018-07-15 23:55:01 +00:00
.statement[1].words="Not New Jersey, the other one.",
.statement[1].next=0,
2018-07-14 04:04:03 +00:00
},
[DIALOG_CINDY]= {
.statement[0].words="...",
.statement[0].next=0,
},
[DIALOG_ELAINE]= {
.statement[0].words="Remember Ohm\'s Law",
2018-07-15 23:55:01 +00:00
.statement[0].next=1,
2018-07-14 04:04:03 +00:00
.statement[1].words="Twinkle Twinkle Little Star",
2018-07-15 23:55:01 +00:00
.statement[1].next=2,
2018-07-14 04:04:03 +00:00
.statement[2].words="V is equal to IR",
.statement[2].next=0,
2018-07-16 02:19:14 +00:00
.statement[2].action=ACTION_ITEM,
.statement[2].item=ITEM_1K_RESISTOR,
2018-07-14 04:04:03 +00:00
},
[DIALOG_CAFETERIA_LADY]= {
.statement[0].words="Happpy Birthday!",
2018-07-15 23:55:01 +00:00
.statement[0].next=1,
2018-07-14 04:04:03 +00:00
.statement[1].words="Have a cupcake",
.statement[1].next=0,
2018-07-16 02:19:14 +00:00
.statement[1].action=ACTION_ITEM,
.statement[1].item=ITEM_CUPCAKE,
2018-07-14 04:04:03 +00:00
},
// Metro Station
[DIALOG_METRO_WORKER]= {
.statement[0].words="Would you like to buy a SmartPass?",
2018-07-14 04:04:03 +00:00
.statement[0].next=1,
2018-07-16 03:54:06 +00:00
.statement[0].action=ACTION_QUERY,
.statement[1].words="YES",
.statement[1].next=3,
.statement[1].action=ACTION_SMARTPASS,
2018-07-16 17:41:04 +00:00
// .statement[1].item=ITEM_SMARTPASS,
2018-07-16 03:54:06 +00:00
.statement[2].words="NO",
.statement[2].next=4,
.statement[3].words="That will be $5",
// .statement[3].action=ACTION_SMARTPASS,
// .statement[3].item=ITEM_SMARTPASS,
2018-07-16 03:54:06 +00:00
.statement[3].next=4,
.statement[4].words="Sorry, all trains cancelled. SmartTrip",
.statement[4].next=4,
.statement[4].action=ACTION_ITEM,
.statement[4].item=ITEM_SMARTPASS,
2018-07-14 04:04:03 +00:00
},
[DIALOG_TINY_CAPABARA]= {
.statement[0].words="GRONK",
.statement[0].next=0,
2018-07-16 02:19:14 +00:00
.statement[0].action=ACTION_ITEM,
.statement[0].item=ITEM_CARROT,
2018-07-14 04:04:03 +00:00
},
[DIALOG_GIANT_GUINEA_PIG]= {
.statement[0].words="SQUEAK?",
.statement[0].next=0,
},
[DIALOG_LARGE_BIRD]= {
.statement[0].words="WARK?",
.statement[0].next=0,
2018-07-16 03:54:06 +00:00
.statement[0].action=ACTION_QUERY,
2018-07-16 17:41:04 +00:00
.statement[1].words="NO",
.statement[1].next=4,
.statement[2].words="YES",
.statement[2].next=3,
// .statement[2].action=ACTION_BIRD,
2018-07-16 03:54:06 +00:00
.statement[3].words="WARK!",
.statement[3].action=ACTION_BIRD,
.statement[3].next=0,
.statement[4].words="Poot-tee-tweet",
.statement[4].next=0,
2018-07-16 17:41:04 +00:00
.statement[4].action=ACTION_DONE,
2018-07-14 04:04:03 +00:00
},
// FOUNTAIN
[DIALOG_MERMAID]= {
.statement[0].words="Did ye put bubbles in yon fountain?",
.statement[0].next=0,
2018-07-16 03:54:06 +00:00
.statement[0].action=ACTION_QUERY,
.statement[1].words="YES",
.statement[1].next=3,
.statement[2].words="NO",
.statement[2].next=4,
2018-07-16 17:41:04 +00:00
.statement[2].action=ACTION_RESTORE,
2018-07-16 03:54:06 +00:00
.statement[3].words="Begone, wastrel!",
.statement[3].next=0,
2018-07-16 17:41:04 +00:00
.statement[3].action=ACTION_DONE,
2018-07-16 03:54:06 +00:00
.statement[4].words="Must have been those band knaves.",
.statement[4].next=0,
2018-07-16 17:41:04 +00:00
.statement[4].action=ACTION_DONE,
// .statement[4].action=ACTION_RESTORE,
2018-07-14 04:04:03 +00:00
},
// BEL AIR
[DIALOG_CMW]= {
.statement[0].words="No admittance without black trenchcoat",
.statement[0].next=0,
},
[DIALOG_MALL]= {
2018-07-15 23:55:01 +00:00
.statement[0].words="Closed for rennovation",
2018-07-14 04:04:03 +00:00
.statement[0].next=0,
},
[DIALOG_MINIGOLF]= {
.statement[0].words="Closed for the season",
.statement[0].next=0,
},
// VIDEO HOMEROOM
[DIALOG_SCARYNUN]= {
2018-07-15 23:55:01 +00:00
.statement[0].words="No talking in the library.",
2018-07-14 04:04:03 +00:00
.statement[0].next=0,
},
[DIALOG_GUS]= {
.statement[0].words="I found this...",
.statement[0].next=0,
2018-07-16 02:19:14 +00:00
.statement[0].action=ACTION_ITEM,
.statement[0].item=ITEM_GLAMDRING,
2018-07-14 04:04:03 +00:00
},
[DIALOG_RAISTLIN]= {
.statement[0].words="This may aid you on your journey",
.statement[0].next=0,
2018-07-16 02:19:14 +00:00
.statement[0].action=ACTION_ITEM,
.statement[0].item=ITEM_LINUX_CD,
.statement[1].words="Should I sell my Amiga for an SGI Indigo2",
.statement[1].next=0,
2018-07-14 04:04:03 +00:00
},
[DIALOG_FORD]= {
.statement[0].words="557-0868 Utopia BBS is really great!",
.statement[0].next=0,
},
// AP-CALCULUS
[DIALOG_APPLEBY]= {
.statement[0].words="ROAR!",
.statement[0].next=0,
},
[DIALOG_PADRINO]= {
.statement[0].words="I MET SOMEONE AT THE DOG SHOW",
2018-07-15 23:55:01 +00:00
.statement[0].next=1,
2018-07-14 04:04:03 +00:00
.statement[1].words="SHE WAS HOLDING MY LEFT ARM",
.statement[1].next=0,
},
[DIALOG_JENNI]= {
2018-07-15 23:55:01 +00:00
.statement[0].words="I need to get to the art room.",
.statement[0].next=1,
2018-07-14 04:04:03 +00:00
.statement[1].words="Jen, Jenny, Jenno and Jenn waiting",
.statement[1].next=0,
},
[DIALOG_KATHY]= {
.statement[0].words="LOW D-HIGH LESS HIGH D-LOW",
2018-07-15 23:55:01 +00:00
.statement[0].next=1,
2018-07-14 04:04:03 +00:00
.statement[1].words="DRAW A LINE AND DOWN BELOW",
2018-07-15 23:55:01 +00:00
.statement[1].next=2,
2018-07-14 04:04:03 +00:00
.statement[2].words="DENOMINATOR SQUARED MUST GO",
.statement[2].next=0,
2018-07-16 02:19:14 +00:00
.statement[2].action=ACTION_ITEM,
.statement[2].item=ITEM_9V_BATTERY,
2018-07-14 04:04:03 +00:00
},
// HALLWAY
[DIALOG_LIZBETH]={
2018-07-15 23:55:01 +00:00
.statement[0].words="Let's start a guinea pig and goat farm.",
2018-07-14 04:04:03 +00:00
.statement[0].next=0,
2018-07-16 02:19:14 +00:00
.statement[0].action=ACTION_ITEM,
.statement[0].item=ITEM_LIZBETH_STAR,
2018-07-14 04:04:03 +00:00
},
[DIALOG_BLUME]={
.statement[0].words="Deater con patillas",
.statement[0].next=0,
},
//DEUTSCH
[DIALOG_NIRE]= {
2018-07-15 23:55:01 +00:00
.statement[0].words="What are you doing now?",
.statement[0].next=1,
.statement[1].words="No more lawsuits.",
.statement[1].next=0,
2018-07-16 02:19:14 +00:00
.statement[1].action=ACTION_ITEM,
.statement[1].item=ITEM_AA_BATTERY,
2018-07-14 04:04:03 +00:00
// Sue you?
},
[DIALOG_AGENT_S]= {
.statement[0].words="...",
.statement[0].next=0,
},
[DIALOG_AGENT_G]= {
.statement[0].words="Cultural experience on Friday!",
.statement[0].next=0,
},
[DIALOG_AGENT_AP]= {
2018-07-15 23:55:01 +00:00
.statement[0].words="Gehen wir zum Schinken und Bonbon Cafe",
2018-07-14 04:04:03 +00:00
.statement[0].next=0,
},
[DIALOG_FRAU]= {
.statement[0].words="Immer mit der Ruhe!",
2018-07-15 23:55:01 +00:00
.statement[0].next=1,
.statement[1].words="Karte Spiel!",
2018-07-14 04:04:03 +00:00
.statement[1].next=0,
2018-07-16 02:19:14 +00:00
.statement[1].action=ACTION_ITEM,
.statement[1].item=ITEM_KARTE_SPIEL,
2018-07-14 04:04:03 +00:00
},
// HOMEROOM
[DIALOG_MEAN_LADY]= {
.statement[0].words="Time for homeroom cleanup!",
.statement[0].next=0,
// PUFFS PLUS
},
[DIALOG_TRAPANI]= {
.statement[0].words="WEAVE!",
2018-07-15 23:55:01 +00:00
.statement[0].next=1,
2018-07-14 04:04:03 +00:00
.statement[1].words="MAN THAT PARTY WAS SOMETHING ELSE",
.statement[1].next=0,
},
[DIALOG_WARWICK]={
.statement[0].words="MARIOKART PARTY AT MY HOUSE",
.statement[0].next=0,
2018-07-16 02:19:14 +00:00
.statement[0].action=ACTION_ITEM,
.statement[0].item=ITEM_BLUE_LED,
2018-07-14 04:04:03 +00:00
},
[DIALOG_WARGO]={
.statement[0].words="WARWICK! AMAZING SWIMMER MUSCLES",
2018-07-15 23:55:01 +00:00
.statement[0].next=1,
2018-07-14 04:04:03 +00:00
.statement[1].words="*SWOON*",
2018-07-15 23:55:01 +00:00
.statement[1].next=1,
2018-07-14 04:04:03 +00:00
},
// MATH OFFICE (ACADEMIC TEAM)
[DIALOG_CAPTAIN_STEVE]= {
.statement[0].words="Remember Reyerson\'s Rule",
2018-07-15 23:55:01 +00:00
.statement[0].next=1,
2018-07-14 04:04:03 +00:00
.statement[1].words="Any given team can be beaten",
.statement[1].next=0,
.statement[2].words="on any given day.",
.statement[2].next=0,
2018-07-16 02:19:14 +00:00
.statement[2].action=ACTION_ITEM,
.statement[2].action=ITEM_ARMY_KNIFE,
2018-07-14 04:04:03 +00:00
},
[DIALOG_BRIGHID]= {
.statement[0].words="...",
.statement[0].next=0,
},
[DIALOG_RACHAEL]= {
.statement[0].words="AP Bio Lab Partners must stick together",
.statement[0].next=0,
},
[DIALOG_MREE]= {
.statement[0].words="I\'m not evil",
2018-07-15 23:55:01 +00:00
.statement[0].next=1,
2018-07-14 04:04:03 +00:00
.statement[1].words="No esta aqui",
.statement[1].next=0,
2018-07-16 02:19:14 +00:00
.statement[1].action=ACTION_ITEM,
.statement[1].item=ITEM_ELF_RUNES,
2018-07-14 04:04:03 +00:00
},
// Patriot Room
[DIALOG_MAC]= {
.statement[0].words="File not found",
2018-07-15 23:55:01 +00:00
.statement[0].next=1,
2018-07-14 04:04:03 +00:00
.statement[1].words="Abort, Retry, Fail",
2018-07-15 23:55:01 +00:00
.statement[1].next=2,
2018-07-14 04:04:03 +00:00
.statement[2].words="Do you like my DOS impression?",
2018-07-15 23:55:01 +00:00
.statement[2].next=3,
2018-07-14 04:04:03 +00:00
.statement[3].words="Shall we play a game?",
2018-07-15 23:55:01 +00:00
.statement[3].next=3,
2018-07-14 04:04:03 +00:00
},
[DIALOG_AGENT_N]= {
2018-07-15 23:55:01 +00:00
.statement[0].words="Not another Starfleet Mission.",
2018-07-14 04:04:03 +00:00
.statement[0].next=0,
2018-07-16 02:19:14 +00:00
.statement[0].action=ACTION_ITEM,
.statement[0].item=ITEM_RED_LED,
2018-07-14 04:04:03 +00:00
},
[DIALOG_STEVE2]= {
.statement[0].words="How bout them O\'s",
2018-07-15 23:55:01 +00:00
.statement[0].next=1,
.statement[1].words="Want to hear about Fantasy Baseball?",
2018-07-14 04:04:03 +00:00
.statement[1].next=0,
},
[DIALOG_GRABOWSKI]= {
.statement[0].words="Ahhh, Mr. Bombem.",
.statement[0].next=0,
},
#if 0
OFFICE:
ACTING PRINCIPAL ROBOKNEE
SINCE WE HAVE NO ELECTRICITY WE HAVE NO LIGHTS
SUSIE: Squeak
PUZZLE:
Need wire,
670nm
1.9ma V=IR
9V, 4.7k
WHICH LED?
WHICH RESISTOR?
WHICH BATTERY?
ZAPPO, FREE THE GUINEA PIG
(in cage?)
show zapping through cloud of school
GUINEA PIG joins your party
Then RK attack
#endif
};
void init_dialog(void) {
int i;
for(i=0;i<MAX_DIALOG;i++) {
dialog[i].count=-1;
}
}