Esempio n. 1
0
 public void get(DSpiresSocket c) {
   if (c.inhand == 47) {
     c.pSend(
         "(Sir J. looks around to see if anyone's watching and takes the herb. He tastes it and puts it in his pocket.\n(Sir J. gives you 70 gold!");
     c.setHands(0);
     c.updateGold(70);
   } else c.pSend("(Sir J.: Wts?");
 }
Esempio n. 2
0
  public void get(DSpiresSocket c) {
    if (c.inhand >= c.map.items + 9 && c.inhand <= c.map.items + 16) {
      c.pSend(
          "("
              + name
              + ": Wow! Another snail! Thank you! You may have one of my berries.\n(* You pluck a red berry from the tree.");
      c.setHands(255);
      return;
    }

    c.pSend("(" + name + ": I only like snails.");
  }
Esempio n. 3
0
  public void get(DSpiresSocket c) {
    if (state == 0) {
      if (c.inhand == 165) {
        c.pSend(
            "("
                + name
                + ": Oh! Thank you! Just what a girl like me needs! No more lonely days and nights with nobody to talk to! I don't know how I can repay you.. oh yes, my gem, here, take it!");
        c.setHands(168);
        state = 1;
        return;
      }
    }

    c.pSend("(" + name + ": No thank you.");
  }
Esempio n. 4
0
 public void get(DSpiresSocket c) {
   if (state == 0) {
     if (c.inhand == 153) {
       c.pSend(
           "("
               + name
               + ": Thank you so much!!! *gulps down the water* Here, take this grey scroll, it will help protect you on your journeys.\n("
               + name
               + " gives you a grey scroll!");
       c.setHands(101);
       state = 1;
     }
   } else {
     c.pSend("(" + name + ": No thanks, I don't need anything right now.");
   }
 }