dragon slayer -  19-08-2012 14:05
Kod:
[snowglobedec2000]
{
get=base_item
id=0x0E2D
decay=1
weight=100
newbie
script=5041
}

[snowglobedec2001]
{
get=base_item
id=0x0E2D
decay=1
weight=100
newbie
script=5042
}


snowglobe2000.js
Kod:
var snowglobe2000Names = new Array( "Britain", "Buccaneers Den", "Cove", "Delucia", "Empath Abbey",
                                  "Jhelom", "Magincia", "Minoc", "Moonglow", "Nujel’m", "Occlo", "Papua",
                                  "Serpent’s hold", "Skara Brae", "The Lycaeum", "Trinsic", "Vesper", "Wind",
                                  "Yew" );
                     
function onCreateDFN( objMade, objType )
{
   if( objType == 0 )
   {
      if( objMade.id = 0x0E2D )
      {
         var i = RandomNumber( 0, 19 );
         objMade.name = "A Snowy Scene of "+ snowglobe2000Names[i];
      }
   }
}


snowglobe2001.js
Kod:
var snowglobe2001Names = new Array( "Ancient Citadel", "Blackthorne’s Castle", "City of Montor", 
                                 "City of Mistas", "Exodus’ Lair", "Lake of Fire", "Lakeshire", "Pass on Karnaugh",
                                 "The Etheral Fortress", "Twin Oaks Tavern", "Chaos Shrine", "Shrine of Humility",
                                 "Shrine of Sacrifice", "Shrine of Compassion", "Shrine of Honor", "Shrine of Honesty",
                                 "Shrine of Spirituality", "Shrine of Justice", "Shrine of Valor" );
                     
function onCreateDFN( objMade, objType )
{
   if( objType == 0 )
   {
      if( objMade.id = 0x0E2D )
      {
         var i = RandomNumber( 0, 19 );
         objMade.name = "A Snowy Scene of "+ snowglobe2001Names[i];
      }
   }
}

YORUMLAR (0)

Henüz yorum yapılmamış.

BENZER SAYFALAR