### Summary - Adds some more checks in case a corpse's owner is somehow null. Would like to eventually allow null owner corpses, but more work is needed. - Cleans up variable unboxing and reassignment in quests. Also flattens quest logic. Still more work needs to be done. - Codegens more quest items/mobiles.
20 lines
481 B
C#
20 lines
481 B
C#
using ModernUO.Serialization;
|
|
|
|
namespace Server.Items;
|
|
|
|
[SerializationGenerator(0, false)]
|
|
public partial class HagCauldron : BaseAddon
|
|
{
|
|
[Constructible]
|
|
public HagCauldron()
|
|
{
|
|
AddonComponent pot;
|
|
pot = new AddonComponent(2420);
|
|
AddComponent(pot, 0, 0, 0); // pot w/ support
|
|
|
|
AddonComponent fire;
|
|
fire = new AddonComponent(4012); // fire pit
|
|
fire.Light = LightType.Circle150;
|
|
AddComponent(fire, 0, 0, 0);
|
|
}
|
|
}
|