Esempio n. 1
0
void create() {
   ::create();
   set_long("Test docks.  The current Position is Tirun\n");
   set_short("Test Docks");
   set_name("Test Docks");
   set_letter("A");
}
Esempio n. 2
0
void create() {
  ::create();
  set_properties( ([ "light" : 0, "night light" : 0, "no teleport" : 1,
    "indoors" : 1, "beach" : 1, ]) );
  set_short("a dark cove");
  set_long(long);
  set_items( ([
    "rock" : "The entire ceiling is rock.",
    "mountain" : "It is above you.",
    "spines" : "Thin, sharp pieces of rock that stick up at angles.",
    "beach" : "The beach sand is a dark and coarse grain mixed with dirt. "
      "Its small arc is covered by mountain rock.",
  ]) );
  set_letter("n");
  check_cave();
}
Esempio n. 3
0
File: 0,0,0.c Progetto: ehershey/pd
void create() {
  ::create();
  set_properties( ([ "no fly" : 1, "indoors" : 0, "light" : 1, "night light" : -1, "jungle" : 1 ]) );
  set_short("A very humid jungle");
  set_long("A small expanse of beach lies here with a steep sandy bank leading "
           "up towards the jungle. To the west is nothing but light green ocean, "
	   "to the east naught but vibrant green plants. A few stalwart trees "
	   "grow straight up out of the sand.");
  set_items( ([
    "beach" : "A small sandy bit of ground that barely separates the jungle from the ocean.",
    "jungle" : "The jungle is dense with trees, ferns, and other plants.",
    "ocean" : "Bright green, clean water sparkles invitingly.",
    "trees" : "A few of the jungle trees have managed to put down roots here.",
  ]) );
  set_smell("default", "A light scent of fresh rain and foliage fills the air.");
  set_inventory( ([ RIDARIN_ITEMS+"randomfood" : 1 ]) );
  set_exits( ([
    "east" : RIDARIN+"1,0,0",
  ]) );
  set_letter("o");
}
Esempio n. 4
0
File: beach.c Progetto: ehershey/pd
void create() {
    ::create();
    set_short("The Killy beach");
    set_long("The isle is a rather large one, unusual for "
      "this part of the sea.  Thick forestation covers "
      "most of the island, preventing anyone from "
      "crossing the island any further than the beach.");
    set_exits(([
      ]));
    set_max_catch(20);
    set_max_fishing(2);
    set_chance(75);
    set_fish(([
	"rainbow fish":10,
	"trout":15,
	"gold fish":5,
	"pirch":5,
	"stingray": 10,
	"lamprey":15
      ]));
    set_letter("m");
}
Esempio n. 5
0
int main(void)
{
  /* Watchdog timer disabled */
  WDTCTL = WDTPW + WDTHOLD;
  set_letter('B');
  initPorts();
  LED_OUT &= ~(LED0);

  BCSCTL3 |= LFXT1S_2; 	// Use slow oscillator (12kHz)

  TACTL = 0x0200 + TAIE + MC_3 + ID_3; //0x0200 = SMCLK
  TACCTL0 = CCIE;
  TACCR0 = 99;

  WRITE_SR(GIE);       // Enable global interrupts

  test_blink(P1OUT_, LED0);
  //LED_OUT^= 0xff;
  while(1)
  {
    //Loop forever
    
  }
}