Overwrite

Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
This commit is contained in:
Unstable Kitsune
2023-11-28 23:20:26 -05:00
parent 3cd54811de
commit b918192e4e
11608 changed files with 2644205 additions and 47 deletions

View File

@@ -0,0 +1,10 @@
Generated by Unstable Kitsune
Just Extract into ServUO-XX\Scripts -or- ServUO-XX\Scripts\Custom(s)
XX = Your Verison Number
I used ServUO 57-3 Copiled Just fine. I used BagofRegeants.cs and altered it,
to make these bags. Which is just part 1 of what i plan on creating.
Any support needed please Message me in ServUO or Discord.

View File

@@ -0,0 +1,45 @@
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class BoneArmorBag : Bag
{
public override bool IsArtifact { get { return true; } }
public override string DefaultName
{
get { return "Bone Armor Bag"; }
}
[Constructable]
public BoneArmorBag()
{
Hue = 0x0;
DropItem( new BoneChest() );
DropItem( new BoneArms() );
DropItem( new BoneGloves() );
DropItem( new BoneHelm() );
DropItem( new BoneLegs() );
}
public BoneArmorBag( 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();
}
}
}

View File

@@ -0,0 +1,43 @@
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class ChainArmorBag : Bag
{
public override bool IsArtifact { get { return true; } }
public override string DefaultName
{
get { return "Chain Armor Bag"; }
}
[Constructable]
public ChainArmorBag()
{
Hue = 0x0;
DropItem( new ChainCoif() );
DropItem( new ChainChest() );
DropItem( new ChainLegs() );
}
public ChainArmorBag( 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();
}
}
}

View File

@@ -0,0 +1,46 @@
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class FemaleLeatherArmorBagA : Bag
{
public override bool IsArtifact { get { return true; } }
public override string DefaultName
{
get { return "Female Leather Armor Bag A"; }
}
[Constructable]
public FemaleLeatherArmorBagA()
{
Hue = 0x0;
DropItem( new FemaleLeatherChest() );
DropItem( new LeatherArms() );
DropItem( new LeatherGloves() );
DropItem( new LeatherGorget() );
DropItem( new LeatherShorts() );
DropItem( new LeatherCap() );
}
public FemaleLeatherArmorBagA( 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();
}
}
}

View File

@@ -0,0 +1,46 @@
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class FemaleLeatherArmorBagB : Bag
{
public override bool IsArtifact { get { return true; } }
public override string DefaultName
{
get { return "Female Leather Armor Bag B"; }
}
[Constructable]
public FemaleLeatherArmorBagB()
{
Hue = 0x0;
DropItem( new LeatherBustierArms() );
DropItem( new LeatherArms() );
DropItem( new LeatherGloves() );
DropItem( new LeatherGorget() );
DropItem( new LeatherSkirt() );
DropItem( new LeatherCap() );
}
public FemaleLeatherArmorBagB( 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();
}
}
}

View File

@@ -0,0 +1,46 @@
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class FemalePlateArmorBag : Bag
{
public override bool IsArtifact { get { return true; } }
public override string DefaultName
{
get { return "Female Plate Armor Bag"; }
}
[Constructable]
public FemalePlateArmorBag()
{
Hue = 0x0;
DropItem( new PlateHelm() );
DropItem( new FemalePlateChest() );
DropItem( new PlateArms() );
DropItem( new PlateGloves() );
DropItem( new PlateGorget() );
DropItem( new PlateLegs() );
}
public FemalePlateArmorBag( 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();
}
}
}

View File

@@ -0,0 +1,45 @@
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class FemaleStuddedLeatherArmorBagA : Bag
{
public override bool IsArtifact { get { return true; } }
public override string DefaultName
{
get { return "Female Studded Leather Armor Bag A"; }
}
[Constructable]
public FemaleStuddedLeatherArmorBagA()
{
Hue = 0x0;
DropItem( new FemaleStuddedChest() );
DropItem( new StuddedArms() );
DropItem( new StuddedGloves() );
DropItem( new StuddedGorget() );
DropItem( new StuddedLegs() );
}
public FemaleStuddedLeatherArmorBagA( 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();
}
}
}

View File

@@ -0,0 +1,45 @@
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class FemaleStuddedLeatherArmorBagB : Bag
{
public override bool IsArtifact { get { return true; } }
public override string DefaultName
{
get { return "Female Studded Leather Armor Bag B"; }
}
[Constructable]
public FemaleStuddedLeatherArmorBagB()
{
Hue = 0x0;
DropItem( new StuddedBustierArms() );
DropItem( new StuddedArms() );
DropItem( new StuddedGloves() );
DropItem( new StuddedGorget() );
DropItem( new StuddedLegs() );
}
public FemaleStuddedLeatherArmorBagB( 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();
}
}
}

View File

@@ -0,0 +1,46 @@
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class MaleLeatherArmorBag : Bag
{
public override bool IsArtifact { get { return true; } }
public override string DefaultName
{
get { return "Male Leather Armor Bag"; }
}
[Constructable]
public MaleLeatherArmorBag()
{
Hue = 0x0;
DropItem( new LeatherCap() );
DropItem( new LeatherChest() );
DropItem( new LeatherArms() );
DropItem( new LeatherGloves() );
DropItem( new LeatherGorget() );
DropItem( new LeatherLegs() );
}
public MaleLeatherArmorBag( 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();
}
}
}

View File

@@ -0,0 +1,46 @@
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class MalePlateArmorBag : Bag
{
public override bool IsArtifact { get { return true; } }
public override string DefaultName
{
get { return "Male Plate Armor Bag"; }
}
[Constructable]
public MalePlateArmorBag()
{
Hue = 0x0;
DropItem( new PlateHelm() );
DropItem( new PlateChest() );
DropItem( new PlateArms() );
DropItem( new PlateGloves() );
DropItem( new PlateGorget() );
DropItem( new PlateLegs() );
}
public MalePlateArmorBag( 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();
}
}
}

View File

@@ -0,0 +1,45 @@
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class MaleStuddedLeatherArmorBag : Bag
{
public override bool IsArtifact { get { return true; } }
public override string DefaultName
{
get { return "Male Studded Leather Armor Bag"; }
}
[Constructable]
public MaleStuddedLeatherArmorBag()
{
Hue = 0x0;
DropItem( new StuddedChest() );
DropItem( new StuddedArms() );
DropItem( new StuddedGloves() );
DropItem( new StuddedGorget() );
DropItem( new StuddedLegs() );
}
public MaleStuddedLeatherArmorBag( 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();
}
}
}

View File

@@ -0,0 +1,44 @@
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class RingmailArmorBag : Bag
{
public override bool IsArtifact { get { return true; } }
public override string DefaultName
{
get { return "Ringmail Armor Bag"; }
}
[Constructable]
public RingmailArmorBag()
{
Hue = 0x0;
DropItem( new RingmailLegs() );
DropItem( new RingmailChest() );
DropItem( new RingmailArms() );
DropItem( new RingmailGloves() );
}
public RingmailArmorBag( 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();
}
}
}

View File

@@ -0,0 +1,149 @@
using System;
using System.Collections;
namespace Server.Mobiles
{
[CorpseName("a abysmal wisp corpse")]
public class AbysmalWisp : BaseCreature
{
private DateTime m_NextFlare;
[Constructable]
public AbysmalWisp()
: base(AIType.AI_Animal, FightMode.Aggressor, 10, 1, 0.2, 0.4)
{
this.Body = 165;
this.Hue = 0x901;
this.Name = ("a abysmal wisp");
this.VirtualArmor = Utility.Random(0, 6);
this.BaseSoundID = 466;
this.SetStr(50);
this.SetDex(60);
this.SetInt(100);
this.SetHits(50);
this.SetStam(60);
this.SetMana(0);
this.SetDamage(5, 10);
this.SetDamageType(ResistanceType.Energy, 100);
this.SetResistance(ResistanceType.Physical, 10, 15);
this.SetResistance(ResistanceType.Fire, 10, 15);
this.SetResistance(ResistanceType.Cold, 10, 15);
this.SetResistance(ResistanceType.Poison, 10, 15);
this.SetResistance(ResistanceType.Energy, 99);
this.Skills[SkillName.Wrestling].Base = (6);
this.Skills[SkillName.Tactics].Base = (6);
this.Skills[SkillName.MagicResist].Base = (5);
this.Fame = Utility.Random(0, 1249);
this.Karma = Utility.Random(0, -624);
this.Tamable = true;
this.ControlSlots = 1;
this.MinTameSkill = 0.0;
}
public AbysmalWisp(Serial serial)
: base(serial)
{
}
public override int GetAngerSound()
{
return 0x1B;
}
public override int GetIdleSound()
{
return 0x1C;
}
public override int GetAttackSound()
{
return 0x1D;
}
public override int GetHurtSound()
{
return 0x1E;
}
public override int GetDeathSound()
{
return 0x1F;
}
public override void OnThink()
{
base.OnThink();
if (DateTime.UtcNow < this.m_NextFlare)
return;
this.m_NextFlare = DateTime.UtcNow + TimeSpan.FromSeconds(5.0 + (25.0 * Utility.RandomDouble()));
this.FixedEffect(0x37C4, 1, 12, 1109, 6);
this.PlaySound(0x1D3);
Timer.DelayCall(TimeSpan.FromSeconds(0.5), new TimerCallback(Flare));
}
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();
}
private void Flare()
{
Mobile caster = this.ControlMaster;
if (caster == null)
caster = this.SummonMaster;
if (caster == null)
return;
ArrayList list = new ArrayList();
IPooledEnumerable eable = GetMobilesInRange(5);
foreach (Mobile m in eable)
{
if (m.Player && m.Alive && !m.IsDeadBondedPet && m.Karma <= 0 && m.IsPlayer())
list.Add(m);
}
eable.Free();
for (int i = 0; i < list.Count; ++i)
{
Mobile m = (Mobile)list[i];
bool friendly = true;
for (int j = 0; friendly && j < caster.Aggressors.Count; ++j)
friendly = (caster.Aggressors[j].Attacker != m);
for (int j = 0; friendly && j < caster.Aggressed.Count; ++j)
friendly = (caster.Aggressed[j].Defender != m);
if (friendly)
{
m.FixedEffect(0x37C4, 1, 12, 1109, 3); // At player
m.Mana += 1 - (m.Karma / 1000);
}
}
}
}
}

View File

@@ -0,0 +1,91 @@
//Created by Script Creator
using System;
using Server;
namespace Server.Items
{
public class ShadowCrescentBlade : CrescentBlade
{
public override int ArtifactRarity{ get{ return 75; } }
public override int AosMinDamage{ get{ return 20; } }
public override int AosMaxDamage{ get{ return 30; } }
[Constructable]
public ShadowCrescentBlade()
{
Weight = 2;
Name = "Shadow Crescent Blade";
Hue = 2565;
WeaponAttributes.DurabilityBonus = 0;
WeaponAttributes.HitColdArea = 0;
WeaponAttributes.HitDispel = 75;
WeaponAttributes.HitEnergyArea = 0;
WeaponAttributes.HitFireArea = 0;
WeaponAttributes.HitHarm = 0;
WeaponAttributes.HitLeechHits = 0;
WeaponAttributes.HitLeechMana = 25;
WeaponAttributes.HitLeechStam = 0;
WeaponAttributes.HitLightning = 0;
WeaponAttributes.HitLowerAttack = 10;
WeaponAttributes.HitMagicArrow = 0;
WeaponAttributes.HitPhysicalArea = 0;
WeaponAttributes.HitPoisonArea = 0;
WeaponAttributes.LowerStatReq = 0;
WeaponAttributes.MageWeapon = 1;
WeaponAttributes.ResistColdBonus = 0;
WeaponAttributes.ResistEnergyBonus = 0;
WeaponAttributes.ResistPhysicalBonus = 0;
WeaponAttributes.ResistPoisonBonus = 0;
WeaponAttributes.ResistFireBonus = 0;
WeaponAttributes.SelfRepair = 1;
WeaponAttributes.UseBestSkill = 1;
Attributes.AttackChance = 50;
Attributes.BonusDex = 0;
Attributes.BonusHits = 0;
Attributes.BonusInt = 0;
Attributes.BonusMana = 0 ;
Attributes.BonusStam = 0;
Attributes.CastRecovery = 0;
Attributes.CastSpeed = 0;
Attributes.DefendChance = 0;
Attributes.EnhancePotions = 0;
Attributes.LowerManaCost = 0;
Attributes.LowerRegCost = 0;
Attributes.Luck = 20;
Attributes.NightSight = 1;
Attributes.ReflectPhysical = 0;
Attributes.RegenHits = 0;
Attributes.RegenMana = 0;
Attributes.RegenStam = 0;
Attributes.SpellChanneling = 1;
Attributes.SpellDamage = 0;
Attributes.WeaponDamage = 5;
Attributes.WeaponSpeed = 5;
LootType = LootType.Blessed;
LootType = LootType.Cursed;
}
public ShadowCrescentBlade( 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();
}
}
}

View File

@@ -0,0 +1,50 @@
//=================================================
//This script was created by Gizmo's Uo Quest Maker
//This script was created on 5/9/2023 11:01:56 PM
//=================================================
using System;
using Server;
namespace Server.Items
{
public class StaffofShadows : NoDachi
{
public override int ArtifactRarity{ get{ return 100; } }
public override int InitMinHits{ get{ return 200; } }
public override int InitMaxHits{ get{ return 250; } }
[Constructable]
public StaffofShadows()
{
Name = "Staff of Shadows";
Hue = 2501;
LootType = LootType.Blessed;
Weight = 1;
Attributes.WeaponDamage = 25;
Attributes.SpellChanneling = 1;
WeaponAttributes.SelfRepair = 1;
WeaponAttributes.HitLeechHits = 25;
WeaponAttributes.MageWeapon = 1;
}
public StaffofShadows( 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();
}
}
}