コード例 #1
0
 public override string Play(Player p)
 {
     if (p.getCurrentRoom() == 17)
     {
         p.addCChip(1);
         return(p.getPlayerName() + " played " + thisImage + " for 1 craft chip");
     }
     return(p.getPlayerName() + " played " + thisImage + " FAILED");
 }
コード例 #2
0
 public override string Play(Player p)
 {
     if (p.getCurrentRoom() == 17)
     {
         p.addCChip(1);
         return (p.getPlayerName() + " played " + thisImage + " for 1 craft chip");
     }
     return (p.getPlayerName() + " played " + thisImage + " FAILED");
 }
コード例 #3
0
 public override string Play(Player p)
 {
     if (p.getCurrentRoom() == 0 && p.getIChip() > 3)
     {
         p.addCChip(2);
         return(p.getPlayerName() + " played KIN 253" + thisImage + " for 2 craft chips");
     }
     p.setCurrentRoom(13);
     return(p.getPlayerName() + " played " + thisImage + " FAILED");
 }
コード例 #4
0
 public override string Play(Player p)
 {
     if (p.getCurrentRoom() == 16 && p.getLChip() > 3)
     {
         p.addCChip(2);
         return(p.getPlayerName() + " played " + thisImage + " for 2 craft chips");
     }
     p.addQPoint(-2);
     return(p.getPlayerName() + " played " + thisImage + " FAILED");
 }
コード例 #5
0
 public override string Play(Player p)
 {
     if (p.getCurrentRoom() == 16 && p.getLChip() > 3)
     {
         p.addCChip(2);
         return (p.getPlayerName() + " played " + thisImage + " for 2 craft chips");
     }
     p.addQPoint(-2);
     return (p.getPlayerName() + " played " + thisImage + " FAILED");
 }
コード例 #6
0
 public override string Play(Player p)
 {
     if (p.getCurrentRoom() == 1 && p.getLChip() > 2)
     {
         p.addIChip(1);
         p.addCChip(1);
         return (p.getPlayerName() + " played " + thisImage + " for 1 integrity chip and 1 craft chip");
     }
     p.setCurrentRoom(20);
     return (p.getPlayerName() + " played " + thisImage + " FAILED");
 }
コード例 #7
0
 public override string Play(Player p)
 {
     if (p.getCurrentRoom() == 1 && p.getLChip() > 2)
     {
         p.addIChip(1);
         p.addCChip(1);
         return(p.getPlayerName() + " played " + thisImage + " for 1 integrity chip and 1 craft chip");
     }
     p.setCurrentRoom(20);
     return(p.getPlayerName() + " played " + thisImage + " FAILED");
 }