fix: Removes BodyValue and fixes modifying Body and BodyMod in props gump. (#743)

* Removes BodyValue
* Removes BodyPicker gump
* Fixes setting Body and BodyMod in props gump
* Props will now look for an `implicit cast` in order to find a way to allow you to modify values with the props gump.
* Fixed `[self set body 0x190` so it works too.
This commit is contained in:
Kamron Batman 2021-08-28 22:56:00 -07:00 • committed by GitHub
parent 244fc6a136
commit bf20800382
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
33 changed files with 175 additions and 1477 deletions

View file

@ -268,7 +268,7 @@ namespace Server.Engines.MLQuests.Definitions
{
Title = "the archer trainer";
Race = Race.Human;
BodyValue = 0x190;
Body = 0x190;
Female = false;
Hue = Race.RandomSkinHue();
InitStats(100, 100, 25);
@ -346,7 +346,7 @@ namespace Server.Engines.MLQuests.Definitions
{
Title = "the archer";
Race = Race.Human;
BodyValue = 0x191;
Body = 0x191;
Female = true;
Hue = Race.RandomSkinHue();
InitStats(100, 100, 25);
@ -408,7 +408,7 @@ namespace Server.Engines.MLQuests.Definitions
{
Title = "the chef";
Race = Race.Human;
BodyValue = 0x190;
Body = 0x190;
Female = false;
Hue = Race.RandomSkinHue();
InitStats(100, 100, 25);
@ -468,7 +468,7 @@ namespace Server.Engines.MLQuests.Definitions
{
Title = "the servant";
Race = Race.Human;
BodyValue = 0x191;
Body = 0x191;
Female = true;
Hue = Race.RandomSkinHue();
InitStats(100, 100, 25);
@ -524,7 +524,7 @@ namespace Server.Engines.MLQuests.Definitions
{
Title = "the blacksmith trainer";
Race = Race.Human;
BodyValue = 0x190;
Body = 0x190;
Female = false;
Hue = Race.RandomSkinHue();
InitStats(100, 100, 25);
@ -592,7 +592,7 @@ namespace Server.Engines.MLQuests.Definitions
{
Title = "the miner";
Race = Race.Human;
BodyValue = 0x190;
Body = 0x190;
Female = false;
Hue = Race.RandomSkinHue();
InitStats(100, 100, 25);
@ -645,7 +645,7 @@ namespace Server.Engines.MLQuests.Definitions
{
Title = "the carpenter";
Race = Race.Human;
BodyValue = 0x190;
Body = 0x190;
Female = false;
Hue = Race.RandomSkinHue();
InitStats(100, 100, 25);
@ -703,7 +703,7 @@ namespace Server.Engines.MLQuests.Definitions
{
Title = "the mage";
Race = Race.Human;
BodyValue = 0x190;
Body = 0x190;
Female = false;
Hue = Race.RandomSkinHue();
InitStats(100, 100, 25);
@ -759,7 +759,7 @@ namespace Server.Engines.MLQuests.Definitions
{
Title = "the tinker";
Race = Race.Human;
BodyValue = 0x190;
Body = 0x190;
Female = false;
Hue = Race.RandomSkinHue();
InitStats(100, 100, 25);
@ -804,7 +804,7 @@ namespace Server.Engines.MLQuests.Definitions
{
Title = "the fisher";
Race = Race.Human;
BodyValue = 0x190;
Body = 0x190;
Female = false;
Hue = Race.RandomSkinHue();
InitStats(100, 100, 25);
@ -862,7 +862,7 @@ namespace Server.Engines.MLQuests.Definitions
{
Title = "the courier";
Race = Race.Human;
BodyValue = 0x191;
Body = 0x191;
Female = true;
Hue = Race.RandomSkinHue();
InitStats(100, 100, 25);
@ -922,7 +922,7 @@ namespace Server.Engines.MLQuests.Definitions
{
Title = "the Lumberjack";
Race = Race.Human;
BodyValue = 0x190;
Body = 0x190;
Female = false;
Hue = Race.RandomSkinHue();
InitStats(100, 100, 25);