Overwrite
Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class AncientTitanHelm : NorseHelm
|
||||
{
|
||||
|
||||
[Constructable]
|
||||
public AncientTitanHelm()
|
||||
{
|
||||
Weight = 5.0;
|
||||
Hue = 1266;
|
||||
Name = "Ancient Titan Helmet";
|
||||
}
|
||||
|
||||
public AncientTitanHelm( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
writer.Write( (int) 0 );
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
112
Scripts/Scripts-master/Quests/Titan Quest/AncientTitanQUEST.cs
Normal file
112
Scripts/Scripts-master/Quests/Titan Quest/AncientTitanQUEST.cs
Normal file
@@ -0,0 +1,112 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using Server.ContextMenus;
|
||||
using Server.Misc;
|
||||
using Server.Network;
|
||||
using Server;
|
||||
using Server.Items;
|
||||
using Server.Gumps;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class AncientTitanQUEST : Titan
|
||||
{
|
||||
|
||||
[Constructable]
|
||||
public AncientTitanQUEST()
|
||||
{
|
||||
Name = "Ancient Titan";
|
||||
Body = 76;
|
||||
BaseSoundID = 609;
|
||||
Hue = 2101;
|
||||
CantWalk = true;
|
||||
Blessed = true;
|
||||
}
|
||||
|
||||
public AncientTitanQUEST( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
public override void GetContextMenuEntries(Mobile from, List<ContextMenuEntry> list)
|
||||
{
|
||||
base.GetContextMenuEntries( from, list );
|
||||
list.Add( new TitanEntry( from, this ) );
|
||||
}
|
||||
|
||||
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 class TitanEntry : ContextMenuEntry
|
||||
{
|
||||
private Mobile m_Mobile;
|
||||
private Mobile m_Giver;
|
||||
|
||||
public TitanEntry( Mobile from, Mobile giver ) : base( 6146, 3 )
|
||||
{
|
||||
m_Mobile = from;
|
||||
m_Giver = giver;
|
||||
}
|
||||
|
||||
public override void OnClick()
|
||||
{
|
||||
|
||||
|
||||
if( !( m_Mobile is PlayerMobile ) )
|
||||
return;
|
||||
|
||||
PlayerMobile mobile = (PlayerMobile) m_Mobile;
|
||||
|
||||
{
|
||||
if ( ! mobile.HasGump( typeof( TitanGump ) ) )
|
||||
{
|
||||
mobile.SendGump( new TitanGump( mobile ));
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public override bool OnDragDrop( Mobile from, Item dropped )
|
||||
{
|
||||
Mobile m = from;
|
||||
PlayerMobile mobile = m as PlayerMobile;
|
||||
|
||||
if ( mobile != null)
|
||||
{
|
||||
if( dropped is AncientTitanHelm )
|
||||
{
|
||||
|
||||
|
||||
dropped.Delete();
|
||||
|
||||
mobile.SendMessage( "Thank you for returning my ancient titan helmet!." );
|
||||
mobile.AddToBackpack( new TitanWarriorSandals() );
|
||||
|
||||
return true;
|
||||
|
||||
}
|
||||
|
||||
else
|
||||
{
|
||||
SayTo( from, "That's not my ancient titan helm." );
|
||||
}
|
||||
}
|
||||
return false;
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
70
Scripts/Scripts-master/Quests/Titan Quest/Aramagool.cs
Normal file
70
Scripts/Scripts-master/Quests/Titan Quest/Aramagool.cs
Normal file
@@ -0,0 +1,70 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using Server.Items;
|
||||
using Server.Targeting;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
[CorpseName( "Aramagool's Corpse" )]
|
||||
public class Aramagool : Titan
|
||||
{
|
||||
[Constructable]
|
||||
public Aramagool()
|
||||
{
|
||||
Name = "Aramagool";
|
||||
Body = 76;
|
||||
BaseSoundID = 609;
|
||||
|
||||
|
||||
SetStr( 500 );
|
||||
SetDex( 300 );
|
||||
SetInt( 200 );
|
||||
|
||||
SetHits( 1250 );
|
||||
|
||||
SetDamage( 23, 38 );
|
||||
|
||||
SetDamageType( ResistanceType.Physical, 75 );
|
||||
SetDamageType( ResistanceType.Poison, 25 );
|
||||
|
||||
SetResistance( ResistanceType.Physical, 50 );
|
||||
SetResistance( ResistanceType.Fire, 50 );
|
||||
SetResistance( ResistanceType.Cold, 50 );
|
||||
SetResistance( ResistanceType.Poison, 50 );
|
||||
SetResistance( ResistanceType.Energy, 50 );
|
||||
|
||||
SetSkill( SkillName.MagicResist, 100.0 );
|
||||
SetSkill( SkillName.Tactics, 100.0 );
|
||||
SetSkill( SkillName.Wrestling, 100.0 );
|
||||
|
||||
Fame = 1000;
|
||||
Karma = -8000;
|
||||
|
||||
VirtualArmor = 50;
|
||||
|
||||
PackItem( new AncientTitanHelm() );
|
||||
|
||||
}
|
||||
|
||||
public override void GenerateLoot()
|
||||
{
|
||||
AddLoot( LootPack.FilthyRich );
|
||||
}
|
||||
|
||||
public Aramagool( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
writer.Write( (int) 0 );
|
||||
}
|
||||
|
||||
public override void Deserialize( GenericReader reader )
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
83
Scripts/Scripts-master/Quests/Titan Quest/TitanGump.cs
Normal file
83
Scripts/Scripts-master/Quests/Titan Quest/TitanGump.cs
Normal file
@@ -0,0 +1,83 @@
|
||||
using System;
|
||||
using Server;
|
||||
using Server.Gumps;
|
||||
using Server.Network;
|
||||
using Server.Items;
|
||||
using Server.Mobiles;
|
||||
using Server.Commands;
|
||||
|
||||
namespace Server.Gumps
|
||||
{
|
||||
public class TitanGump : Gump
|
||||
{
|
||||
public static void Initialize()
|
||||
{
|
||||
CommandSystem.Register("TitanGump", AccessLevel.GameMaster, new CommandEventHandler(TitanGump_OnCommand));
|
||||
}
|
||||
|
||||
private static void TitanGump_OnCommand( CommandEventArgs e )
|
||||
{
|
||||
e.Mobile.SendGump( new TitanGump( e.Mobile ) );
|
||||
}
|
||||
|
||||
public TitanGump( Mobile owner ) : base( 50,50 )
|
||||
{
|
||||
//----------------------------------------------------------------------------------------------------
|
||||
|
||||
AddPage( 0 );
|
||||
AddImageTiled( 54, 33, 369, 400, 2624 );
|
||||
AddAlphaRegion( 54, 33, 369, 400 );
|
||||
|
||||
AddImageTiled( 416, 39, 44, 389, 203 );
|
||||
//--------------------------------------Window size bar--------------------------------------------
|
||||
|
||||
AddImage( 97, 49, 9005 );
|
||||
AddImageTiled( 58, 39, 29, 390, 10460 );
|
||||
AddImageTiled( 412, 37, 31, 389, 10460 );
|
||||
AddLabel( 140, 60, 0x34, "Titan Quest" );
|
||||
|
||||
|
||||
AddHtml( 107, 140, 300, 230, "<BODY>" +
|
||||
//----------------------/----------------------------------------------/
|
||||
"<BASEFONT COLOR=Blue><I>* The old titan looks at you with anger. *</I><br><br>" +
|
||||
"<BASEFONT Color=Blue> Why are you here?! I should blast you away with my magic !!<br><br>" +
|
||||
"<BASEFONT COLOR=Blue><I>* Realizing he hates humans, you prepare for battle. *</I><br><br>" +
|
||||
"<BASEFONT COLOR=Blue> I do not want to fight you. What I do want is my Ancient Titan Helmet. It was taken by a younger Titan by the name of Aramagool. Can you help me?<br><br>" +
|
||||
"<BASEFONT COLOR=Blue> You see, I am too old to fight him, but if you can defeat him and get my helmet back, I will give you a special pair of sandals that Titan warriors wear.<br><br>" +
|
||||
"<BASEFONT COLOR=Blue> Aramagool lives near Cyclops Dungeon, in Ilshenar.<br><br>" +
|
||||
"<BASEFONT COLOR=Blue><I>* You realize that killing the Titan is the only way to get the helmet back *</I><br>" +
|
||||
"</BODY>", false, true);
|
||||
|
||||
AddImage( 430, 9, 10441);
|
||||
AddImageTiled( 40, 38, 17, 391, 9263 );
|
||||
AddImage( 6, 25, 10421 );
|
||||
AddImage( 34, 12, 10420 );
|
||||
AddImageTiled( 94, 25, 342, 15, 10304 );
|
||||
AddImageTiled( 40, 427, 415, 16, 10304 );
|
||||
AddImage( -10, 314, 10402 );
|
||||
AddImage( 56, 150, 10411 );
|
||||
AddImage( 155, 120, 2103 );
|
||||
AddImage( 136, 84, 96 );
|
||||
|
||||
AddButton( 225, 390, 0xF7, 0xF8, 0, GumpButtonType.Reply, 0 );
|
||||
|
||||
//--------------------------------------------------------------------------------------------------------------
|
||||
}
|
||||
|
||||
public override void OnResponse( NetState state, RelayInfo info ) //Function for GumpButtonType.Reply Buttons
|
||||
{
|
||||
Mobile from = state.Mobile;
|
||||
|
||||
switch ( info.ButtonID )
|
||||
{
|
||||
case 0: //Case uses the ActionIDs defenied above. Case 0 defenies the actions for the button with the action id 0
|
||||
{
|
||||
//Cancel
|
||||
from.SendMessage( "Please return my helmet!!!" );
|
||||
break;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,43 @@
|
||||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
|
||||
public class TitanWarriorSandals : Sandals
|
||||
{
|
||||
public override int BasePhysicalResistance{ get{ return 3; } }
|
||||
public override int BaseFireResistance{ get{ return 0; } }
|
||||
public override int BaseColdResistance{ get{ return 4; } }
|
||||
public override int BasePoisonResistance{ get{ return 0; } }
|
||||
public override int BaseEnergyResistance{ get{ return 5; } }
|
||||
|
||||
[Constructable]
|
||||
public TitanWarriorSandals()
|
||||
{
|
||||
Name = "Titan Warrior Sandals";
|
||||
Hue = Utility.RandomList( 1161, 1150, 1266 );
|
||||
Attributes.BonusDex = 10;
|
||||
Attributes.BonusStr = 15;
|
||||
}
|
||||
|
||||
public TitanWarriorSandals( Serial Serial ) : base ( Serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
writer.Write( (int) 0 );
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user