UO-Dev Arama


Yazar: Lord Streamline
Tarih: 23-08-2009 16:02


Paylaş : Paylaş

Kod:
//RunUO Script: Sephiroth
//Copyright (c) 2007 by Sephiroth
//This script is free software;
//you can redistribute it and/or modify it under the terms of the GNU General Public License as
//published by the Free Software Foundation version 2 of the License applies. This program is
//distributed in the hope that it will be useful,but WITHOUT ANY WARRANTY without even the implied
//warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
//License for more details.
//Please do NOT remove or change this header.

using System;
using Server.Network;

namespace Server.Items
{
    public class BlessBag : Container
    {
      public virtual int MaxHolding{ get{ return 5; } }
     
public override int DefaultGumpID{ get{ return 0x3C; } }
public override int DefaultDropSound{ get{ return 0x48; } }
public override Rectangle2D Bounds
      {
         get{ return new Rectangle2D( 44, 65, 142, 94 ); }
      }

   [Constructable]
      public BlessBag() : base( 0x9B2 )
      {
Name = "<basefontcolor=red>The Blessed Bag";
         Weight = 3.0;
         LootType = LootType.Blessed;
Hue = 1;
      }

      public BlessBag( Serial serial ) : base( serial )
      {
      }

      public override void Serialize( GenericWriter writer )
      {
         base.Serialize( writer );

         writer.Write( (int) 0 ); // version
      }

      public override void Deserialize( GenericReader reader )
      {
         base.Deserialize( reader );

         int version = reader.ReadInt();
      }

      public override bool OnDragDrop( Mobile from, Item dropped )
      {
        if ( !base.OnDragDrop( from, dropped ) )
return false;
dropped.LootType = LootType.Blessed;
from.SendMessage("Koyduğunuz Item Blessed Olmuştur!");
         //LootType = LootType.Blessed;

return true;
      }

      public override bool OnDragDropInto( Mobile from, Item item, Point3D p )
      {
         if ( !base.OnDragDropInto( from, item, p ) )
return false;
item.LootType = LootType.Blessed;
from.SendMessage("Koyduğunuz Item Blessed Olmuştur!");
return true;
      }

      //public override void OnItemRemoved(Mobile from, Item item )
      //{
//base.OnItemRemoved( item );
//PublicOverheadMessage( Network.MessageType.Regular, 0x3B2, Utility.Random( 1042891, 8 ) );
//PublicOverheadMessage( "Koyduğunuz Item Blessed Olmuştur!" );
//from.SendMessage("Thank You! Come Again.");
     // }

   }
}



Yorumlar

Henüz yorum yapılmamıştır.

Oylamalar

Oylama :
Üyelerin oylama ortalaması (10 dışında) : Henüz Oylanmamış   
Oylar: 0

Benzer Sayfalar

SayfalarYorumlarGönderenTarih
İtem Bless Deed0ubeyid23-08-2009
Clothing Bless Deed0Amesron05-08-2009
Deed Bless0TheRaskol31-07-2009
Bless Deed0TheRaskol31-07-2009
Bless Deed0TheRaskol31-07-2009


Keywords:

ultima online, RunUO, ultima online download, sphere scripting, role play, uo grafik, second age ultima, uo loop, macroman, pvp server, server kurulumu, sphere, multool, ml mulls, 56b 55r 55i, htmlgumps, client 4x, client edit, sphere release, osi, rp server, sunucular, ghost mouse, inside uo, kingdom reborn, stygian abyss, uo nasıl oynanır, mondain's legacy, age of shadows, world build, grandmaster, ultima online pvp, player dosyaları, ultima online indir, frp game, RunUO 1.0.0, razor, uo rice, hue editör, skill tools, ultima online patch, axis, world build, verdata, verdata patcher, map editör, gump editör, mul patcher, aos mulls, scriptler, anim edit, anim publish, hues mul, hosting vps, event dialog, account sistemi, skill gain, static yapımı,