Resource icon

one of the items from the event/quest system im working on

Requirements
this deco fireplace is a corner fireplace with a built in forge/anvil and a deco Phoenix on top of the fireplace that is a rejuvenation ankh (replace this part if full refresh for player inside there home is not wanted)
https://drive.google.com/open?id=0B0EIh_cFesluS3FGem52UV9zNVk
//=======================================================================================//
//Script created for the Blessings Of The Fey (made for Phoenyx Rising shard and servuo) //
//By TheRisingPhoenyx (Laschiel DeLaFey of Osi,Pandora, owner of PhoenyxRising Shard) //
//=======================================================================================//

using System;

namespace Server.Items
{

public class IcePhoenyxComponent : AddonComponent
{
[Constructable]
public IcePhoenyxComponent()
: base(16944)
{
this.Hue = 1154;
this.Movable = false;
this.Name = "A Sculpture Of The Ice Phoenyx";
}
public IcePhoenyxComponent(Serial serial)
: base(serial)
{
}

public override void OnDoubleClick(Mobile from)
{
from.FixedEffect(0x373A, 1, 16);

{
from.Hits = from.HitsMax;
from.Mana = from.ManaMax;
from.Stam = from.StamMax;
from.SendMessage ("an arctic blast of winter surges through your veins!"); //
}
}


private static void AddComplexComponent(BaseAddon addon, int item, int xoffset, int yoffset, int zoffset, int hue, int lightsource)
{
AddComplexComponent(addon, item, xoffset, yoffset, zoffset, hue, lightsource, null, 1);
}

private static void AddComplexComponent(BaseAddon addon, int item, int xoffset, int yoffset, int zoffset, int hue, int lightsource, string name, int amount)
{
AddonComponent ac;
ac = new AddonComponent(item);
if (name != null && name.Length > 0)
ac.Name = name;
if (hue != 0)
ac.Hue = hue;
if (amount > 1)
{
ac.Stackable = true;
ac.Amount = amount;
}
if (lightsource != -1)
ac.Light = (LightType) lightsource;
addon.AddComponent(ac, xoffset, yoffset, zoffset);
}
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();
}
[Server.Engines.Craft.Forge]
public class icephoenyxForge : AddonComponent
{
[Constructable]
public icephoenyxForge()
: base(4012)
{
this.Hue = 1154;
this.Movable = false;
this.Name = "FrostWood Embers";
}

public icephoenyxForge(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();
}
[Server.Engines.Craft.Anvil]
public class icephoenyxAnvil : AddonComponent
{
[Constructable]
public icephoenyxAnvil()
: base(488)
{
this.Hue = 1153;
this.Movable = false;
this.Name = "A shard of Arctis Tor";
}

public icephoenyxAnvil(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();
}
public class WynterQuestPhoenyxAddonDeed : BaseAddonDeed
{
[Constructable]
public WynterQuestPhoenyxAddonDeed()
{
Name = "Shrine Of The Ice Phoenyx";
}
public WynterQuestPhoenyxAddonDeed(Serial serial)
: base(serial)
{
}

public override BaseAddon Addon
{
get
{
return new WynterQuestPhoenyxAddon();
}
}

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();

}
public class WynterQuestPhoenyxAddon : BaseAddon
{
[Constructable]
public WynterQuestPhoenyxAddon()
{

AddComponent(new IcePhoenyxComponent(), 1, 1, 18);// 1
AddComponent(new icephoenyxAnvil(), 0, 0, 1); // 2
AddComponent(new icephoenyxForge(), 1, 1, 5);// 3

AddComplexComponent( (BaseAddon) this, 6571, 1, 1, 8, 1153, 0, "Flames Of Elemental Wynter", 1);// 4
AddComplexComponent( (BaseAddon) this, 488, 1, 1, 1, 1153, -1, "Sculpted Elemental Ice", 1);// 5
AddComplexComponent( (BaseAddon) this, 6090, 0, 1, 2, 1153,-1, "Sculpted Elemental Ice", 1); // 6
AddComplexComponent( (BaseAddon) this, 6091, 1, 0, 2, 1150, -1, "Sculpted Elemental Ice", 1);// 7
AddComplexComponent( (BaseAddon) this, 474, 1, 0, 1, 1153, -1, "Sculpted Elemental Ice", 1);// 8
AddComplexComponent( (BaseAddon) this, 478, 1, 1, 1, 1153, -1, "Sculpted Elemental Ice", 1);// 9
AddComplexComponent( (BaseAddon) this, 476, 1, 1, 1, 1153, -1, "Sculpted Elemental Ice", 1);// 10
AddComplexComponent( (BaseAddon) this, 474, 0, 1, 0, 1153, -1, "Sculpted Elemental Ice", 1);// 11
}

public WynterQuestPhoenyxAddon(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();
}
}
}}}}
}
Author
TheRisingPhoenyx
Views
370
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from TheRisingPhoenyx