Back to index

freedink-data  1.08.20080920
S4-ST2P.c
Go to the documentation of this file.
00001 void main( void )
00002 {
00003  //The furers ..
00004  say_stop("`4Good day sir.", &current_sprite);
00005 }
00006 
00007 void talk( void )
00008 {
00009  freeze(1);
00010  freeze(&current_sprite);
00011  choice_start()
00012 (&story < 11)"Ask about the store"
00013 (&story > 10)"See what's up"
00014  "See what's for sale"
00015  "Leave"
00016  choice_end()
00017   if (&result == 1)
00018   {        
00019    say_stop("How's the fur trading industry going?", 1);
00020    wait(250);
00021    say_stop("`4Well, but not too many here buy the furs.", &current_sprite);
00022    wait(250);
00023    say_stop("`4Mainly just those traveling to the northlands.", &current_sprite);
00024    wait(250);
00025    say_stop("Do you worship the ducks here?", 1);
00026    wait(250);
00027    say_stop("`4Yes, but only because of the community.", &current_sprite);
00028    wait(250);
00029    say_stop("`4It is quite a strange ritual they have, I wonder", &current_sprite);
00030    wait(250);
00031    say_stop("`4how some of them can handle the stress of not eating", &current_sprite);
00032    wait(250);
00033    say_stop("`4for so long.", &current_sprite);
00034    wait(250);
00035    say_stop("Yeah, it's pretty weird.", 1);
00036    wait(250);
00037    say_stop("What do you do for food?", 1);
00038    wait(250);
00039    say_stop("`4Oh me?  Well I'm not from these parts, and know how to", &current_sprite);
00040    wait(250);
00041    say_stop("`4make foods from other things.  I live on soups and herbs,", &current_sprite);
00042    wait(250);
00043    say_stop("`4not the meat and eggs they're used to here.", &current_sprite);
00044   }
00045   if (&result == 2)
00046   {
00047    say_stop("Hi man, how's the store doing?", 1);
00048    wait(250);
00049    say_stop("`4Oh goodness, it's been going quite well sir Dink.", &current_sprite);
00050    wait(250);
00051    say_stop("`4I owe you a debt for saving my humble store.", &current_sprite);
00052    wait(250);
00053    say_stop("Aww come on, I didn't do that much.", 1);
00054    wait(250);
00055    say_stop("Just showed the people here what to eat.", 1);
00056    wait(250);
00057    say_stop("`4Perhaps sir Dink, but either way my business has benefited.", &current_sprite);
00058    wait(250);
00059    say_stop("`4I think the travelers have finally heard that there's", &current_sprite);
00060    wait(250);
00061    say_stop("`4no longer a famine here.", &current_sprite);
00062    wait(250);
00063    say_stop("`4Thank you Dink, and if there's anything you need, just ask.", &current_sprite);
00064   }
00065   if (&result == 3)
00066   {
00067    say_stop("What exactly do you have for sale?", 1);
00068    wait(250);
00069    say_stop("`4Hides from dead things.", &current_sprite);
00070    wait(250);
00071    say_stop("Ah.  Thanks.", 1);
00072    //Let Dink buy stuff ...
00073   }
00074  unfreeze(1);
00075  unfreeze(&current_sprite);
00076 }
00077 
00078 void hit( void )
00079 {
00080  if (&story > 10)
00081  {
00082   say_stop("`3So that's your game, first save us, then kill us!", &current_sprite);
00083   return;
00084  }
00085  say_stop("`3Please no sir, I'm but a humble trader.", &current_sprite);
00086 }