This shows you the differences between two versions of the page.
mobtemplate [2023/10/02 20:43] – created syka | mobtemplate [2023/10/02 21:10] (current) – syka | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== @@Name@@ ====== | + | using System; |
+ | using System.Collections; | ||
+ | using Server.Misc; | ||
+ | using Server.Items; | ||
+ | using Server.Mobiles; | ||
- | I'm living in @@Title@@. | + | namespace Server.Mobiles |
+ | { | ||
+ | public class @@Unique Name@@ : @@Base Type@@ | ||
+ | { | ||
+ | |||
+ | [Constructable] | ||
+ | public @@Unique Name@@() : base( @@AI Type@@, @@Fight Mode@@, 15, 1, 0.1, 0.2 ) | ||
+ | { | ||
+ | Name = " | ||
+ | Title = "@@Title@@"; | ||
+ | |||
+ | //head | ||
+ | AddItem( new @@Head@@() { Hue = 2703 }); | ||
+ | //torso | ||
+ | AddItem( new @@Torso@@() { Hue = 2703 }); | ||
+ | //arms | ||
+ | AddItem( new @@Arms@@() { Hue = 2703 }); | ||
+ | //legs | ||
+ | AddItem( new @@Legs@@() { Hue = 2703 }); | ||
+ | //gloves | ||
+ | AddItem( new @@Hands@@() { Hue = 2703 }); | ||
+ | //neck | ||
+ | AddItem( new @@Neck@@(2689) ); | ||
+ | //weapon | ||
+ | AddItem( new @@Weapon@@() { Hue = 2703 }); | ||
+ | |||
+ | public @@Unique Name@@(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(); | ||
+ | } | ||
+ | } | ||
+ | } | ||
- | @@Body@@ |