Milva

Moderator
Milva submitted a new resource:

Mechanical Pet Crafting - Pet Crafting, Tinkering Skill - Pet Crafting

Just reposting lost scripts :)

This is a stand alone tinkering crafting
Mechanical Pet Crafting
**Tinkering Skill is needed**
This will create a Statue in their pack- owner will need to click the statue
which will then release the pet, Tinkers can sell this statue
Items needed for Tinker to create this pet
Iron Ingots
Clockwork Assembly
Power Crystal
Gears
This contains:
Hue = Utility.RandomList ( 2878, 2842, 2956 );(this can be changed)
Taming skill is still needed to control...

Read more about this resource...
 
Sounds pretty cool, just out of curiosity I have a couple questions.

Are they created bonded?
Can you shrink them using a shrink system (i use xanthos)
and the big question, since they are standalone files. What tool creates them?

Thanks for the contribution. Looking forward to adding it when I get home tonight.
 
You can shrink - this will be a normal pet
MechanicalTinkeringTool>>>use this to create the statue
After creating the pet --this will be found in their pack Mechanical Pet Statue
Player can click the --pet statue which will release their pet
Pet will be bonded ---this can be changed to false in MechanicalPetStatue
***Note-
the pet is not an evo-don't be confused with this in the statue script-this just uses the timer
to release the pet(as an evo would work)
 
I hope you don't mind. I really liked the pets but I didn't want to have another crafting type floating around so I made them craftable with normal tinkering tools. Thought I would share for anyone else interested in doing that.

Open up scripts/services/craft/deftinkering.cs and find this:

Code:
// Set the overridable material
            this.SetSubRes(typeof(IronIngot), 1044022);

ABOVE it add this:

Code:
			//Start Mechanical Pet
			#region Mechanical Pet

			index = AddCraft(typeof(MechanicalBoneDemonPetStatue), "Mechanical Pets", "Mechanical BoneDemon", 90.1, 120.0, typeof(Bone), "Bone", 50);
            AddRes(index, typeof(IronIngot), "Iron Ingots", 300);
            AddRes(index, typeof(ClockworkAssembly), "Clockwork Assembly", 2);
            AddRes(index, typeof(PowerCrystal), "Power Crystal", 1);

			index = AddCraft(typeof(MechanicalBlackWidowPetStatue), "Mechanical Pets", "Mechanical BlackWidow", 80.1, 120.0, typeof(SpidersSilk), "Spiders Silk", 50);
			AddRes(index, typeof(IronIngot), "Iron Ingots", 300);
			AddRes(index, typeof(ClockworkAssembly), "Clockwork Assembly", 2);
			AddRes(index, typeof(PowerCrystal), "Power Crystal", 1);

			index = AddCraft(typeof(MechanicalFrenziedOstardPetStatue), "Mechanical Pets", "Mechanical FrenziedOstard", 100.1, 120.0, typeof(Feather), "Feather", 60);
			AddRes(index, typeof(IronIngot), "Iron Ingots", 300);
			AddRes(index, typeof(ClockworkAssembly), "Clockwork Assembly", 2);
			AddRes(index, typeof(PowerCrystal), "Power Crystal", 1);

			index = AddCraft(typeof(MechanicalHellSteedPetStatue), "Mechanical Pets", "Mechanical HellSteed", 110.1, 120.0, typeof(HornedLeather), "Horned Leather", 20);
			AddRes(index, typeof(IronIngot), "Iron Ingots", 300);
			AddRes(index, typeof(ClockworkAssembly), "Clockwork Assembly", 2);
			AddRes(index, typeof(PowerCrystal), "Power Crystal", 1);
			#endregion

Then you wont need the additional tools or menu. :)
 
Great idea. I'd love to use it but I get an error about PackPotion and PackScroll being missing.

--------------------------------------------------------------------------------
ServUO - [https://www.servuo.com] Version 0.5, Build 6396.27340
Core: Optimizing for 8 64-bit processors
RandomImpl: CSPRandom (Software)
Core: Loading config...
Scripts: Compiling C# scripts...Failed with: 1 errors, 47 warnings
Warnings:
+ Customs/[ServUO.com]-BlackRock/BlackRock/BlackrockElemental.cs:
CS0105: Line 6: The using directive for 'System.Collections' appeared previously in this namespace
+ Customs/[ServUO.com]-BlackRock/BlackRock/NetherVortex.cs:
CS0105: Line 6: The using directive for 'System.Collections' appeared previously in this namespace
CS0114: Line 130: 'Server.Mobiles.NetherVortex.BreathPhysicalDamage' hides inherited member 'Server.Mobiles.BaseCreature.BreathPhysicalDamage'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.
CS0114: Line 131: 'Server.Mobiles.NetherVortex.BreathFireDamage' hides inherited member 'Server.Mobiles.BaseCreature.BreathFireDamage'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.
CS0114: Line 132: 'Server.Mobiles.NetherVortex.BreathColdDamage' hides inherited member 'Server.Mobiles.BaseCreature.BreathColdDamage'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.
CS0114: Line 133: 'Server.Mobiles.NetherVortex.BreathPoisonDamage' hides inherited member 'Server.Mobiles.BaseCreature.BreathPoisonDamage'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.
CS0114: Line 134: 'Server.Mobiles.NetherVortex.BreathEnergyDamage' hides inherited member 'Server.Mobiles.BaseCreature.BreathEnergyDamage'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.
+ Customs/[ServUO.com]-BlackRock/BlackRock/ToxicOoze.cs:
CS0105: Line 7: The using directive for 'System.Collections' appeared previously in this namespace
+ Customs/[ServUO.com]-Stargate System v3/Stargate System v3/Addons/SGLocationAddon1East.cs:
CS0105: Line 2: The using directive for 'System' appeared previously in this namespace
+ Customs/[ServUO.com]-Stargate System v3/Stargate System v3/Addons/SGLocationAddon1South.cs:
CS0105: Line 2: The using directive for 'System' appeared previously in this namespace
+ Customs/[ServUO.com]-Stargate System v3/Stargate System v3/Addons/SGLocationAddon2East.cs:
CS0105: Line 2: The using directive for 'System' appeared previously in this namespace
+ Customs/[ServUO.com]-Stargate System v3/Stargate System v3/Addons/SGLocationAddon2South.cs:
CS0105: Line 2: The using directive for 'System' appeared previously in this namespace
+ Customs/[ServUO.com]-Stargate System v3/Stargate System v3/Addons/SGLocationAddon3East.cs:
CS0105: Line 2: The using directive for 'System' appeared previously in this namespace
+ Customs/[ServUO.com]-Stargate System v3/Stargate System v3/Addons/SGLocationAddon3South.cs:
CS0105: Line 2: The using directive for 'System' appeared previously in this namespace
+ Customs/[ServUO.com]-Stripper/Stripper.cs:
CS0105: Line 11: The using directive for 'Server.Misc' appeared previously in this namespace
+ Customs/[ServUO.com]-DreadWarHorse.cs:
CS0105: Line 11: The using directive for 'System.Collections.Generic' appeared previously in this namespace
+ Customs/[ServUO.com]-GraniteFurnessAddon.cs:
CS0105: Line 2: The using directive for 'System' appeared previously in this namespace
CS0162: Line 355: Unreachable code detected
+ Multis/Boats/BaseBoat.cs:
CS0105: Line 11: The using directive for 'Server.Network' appeared previously in this namespace
+ Customs/[ServUO.com]-Pause_Ver3/Pause.cs:
CS0108: Line 44: 'Server.Engines.XmlSpawner2.Pause.Initialize()' hides inherited member 'Server.Engines.XmlSpawner2.XmlAttachment.Initialize()'. Use the new keyword if hiding was intended.
CS0642: Line 110: Possible mistaken empty statement
+ Customs/[ServUO.com]-Spellbar_Ver 2/Spellbar_Ver 2/Spellbar/SpellBarScroll_XML.cs:
CS0108: Line 27: 'Server.Engines.XmlSpawner2.SpellBarScroll.Initialize()' hides inherited member 'Server.Engines.XmlSpawner2.XmlAttachment.Initialize()'. Use the new keyword if hiding was intended.
CS0219: Line 40: The variable 'page' is assigned but its value is never used
CS0219: Line 41: The variable 'xselect_var' is assigned but its value is never used
CS0219: Line 61: The variable 'page' is assigned but its value is never used
CS0219: Line 62: The variable 'xselect_var' is assigned but its value is never used
CS0642: Line 87: Possible mistaken empty statement
CS0642: Line 650: Possible mistaken empty statement
+ Customs/[ServUO.com]-TMSS 3.0/TMSS/SkillStone.cs:
CS0114: Line 201: 'Server.Items.SkillStone.GetContextMenuEntries(Server.Mobile, System.Collections.Generic.List<Server.ContextMenus.ContextMenuEntry>)' hides inherited member 'Server.Item.GetContextMenuEntries(Server.Mobile, System.Collections.Generic.List<Server.ContextMenus.ContextMenuEntry>)'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.
CS0114: Line 244: 'Server.Items.CenterStone.GetContextMenuEntries(Server.Mobile, System.Collections.Generic.List<Server.ContextMenus.ContextMenuEntry>)' hides inherited member 'Server.Item.GetContextMenuEntries(Server.Mobile, System.Collections.Generic.List<Server.ContextMenus.ContextMenuEntry>)'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.
+ Customs/[ServUO.com]-VetRewardUpgrade/Vet/Addon and House Stuff/Movable Addons/MovableAddonComponent.cs:
CS0108: Line 20: 'Solaris.Addons.MovableAddonComponent.Direction' hides inherited member 'Server.Item.Direction'. Use the new keyword if hiding was intended.
+ Customs/[ServUO.com]-VetRewardUpgrade/Vet/Jewelry - Clothing/LostRingOfAncientSecrets.cs:
CS0108: Line 116: 'Server.Items.LostRingOfAncientSecrets.Owner' hides inherited member 'Server.Items.BaseJewel.Owner'. Use the new keyword if hiding was intended.
+ Customs/[ServUO.com]-VetRewardUpgrade/Vet/Magic/Spellcrafting/Xanthos/Jail System/JailHammer.cs:
CS0108: Line 25: 'Xanthos.JailSystem.JailHammer.UsesRemaining' hides inherited member 'Server.Items.BaseWeapon.UsesRemaining'. Use the new keyword if hiding was intended.
CS0108: Line 31: 'Xanthos.JailSystem.JailHammer.ShowUsesRemaining' hides inherited member 'Server.Items.BaseWeapon.ShowUsesRemaining'. Use the new keyword if hiding was intended.
+ Customs/[ServUO.com]-BaseSpecialCreature.cs:
CS0114: Line 483: 'Server.Mobiles.BaseSpecialCreature.DrainLife()' hides inherited member 'Server.Mobiles.BaseCreature.DrainLife()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.
+ Customs/OrbRemoteServer/OrbServer.cs:
CS0618: Line 200: 'System.Runtime.Remoting.Channels.ChannelServices.RegisterChannel(System.Runtime.Remoting.Channels.IChannel)' is obsolete: 'Use System.Runtime.Remoting.ChannelServices.RegisterChannel(IChannel chnl, bool ensureSecurity) instead.'
+ Customs/[ServUO.com]-EverlastingBandage/EverlastingBandage.cs:
CS0184: Line 99: The given expression is never of the provided ('Server.Items.EnhancedBandage') type
+ Customs/[ServUO.com]-HairGrowth with FacialHairGrowth/HairGrowth with FacialHairGrowth/FacialHairGrowth.cs:
CS0162: Line 105: Unreachable code detected
+ Customs/[ServUO.com]-HairGrowth with FacialHairGrowth/HairGrowth with FacialHairGrowth/HairGrowth.cs:
CS0162: Line 165: Unreachable code detected
+ Customs/[ServUO.com]-HalfLife/HalfLife/HalfLifeBow.cs:
CS0472: Line 99: The result of the expression is always 'true' since a value of type 'int' is never equal to 'null' of type 'int?'
+ Customs/[ServUO.com]-HalfLife/HalfLife/HalfLifeDagger.cs:
CS0472: Line 99: The result of the expression is always 'true' since a value of type 'int' is never equal to 'null' of type 'int?'
+ Customs/[ServUO.com]-HalfLife/HalfLife/HalfLifeScimitar.cs:
CS0472: Line 99: The result of the expression is always 'true' since a value of type 'int' is never equal to 'null' of type 'int?'
+ Customs/[ServUO.com]-Harvest System/Harvest System/Garden/GardenDeed.cs:
CS0162: Line 139: Unreachable code detected
+ Customs/[ServUO.com]-Harvest System/Harvest System/Garden/SecureGarden.cs:
CS0162: Line 115: Unreachable code detected
+ Customs/[ServUO.com]-Harvestable Drugs/Harvestable Drugs/Da Drug Dealer/DrugSystem_Dealer.cs:
CS0162: Line 105: Unreachable code detected
+ Customs/[ServUO.com]-Hue Center/Hue Center/HueListGumpGold.cs:
CS0219: Line 90: The variable 'bought' is assigned but its value is never used
CS0472: Line 141: The result of the expression is always 'false' since a value of type 'int' is never equal to 'null' of type 'int?'
+ Customs/[ServUO.com]-LostAlchemy/LostAlchemy/DurabilityTarget.cs:
CS0168: Line 32: The variable 'number' is declared but never used
+ Customs/[ServUO.com]-LostAlchemy/LostAlchemy/RepairTarget.cs:
CS0168: Line 32: The variable 'number' is declared but never used
+ Customs/[ServUO.com]-MailSystem/MailSystem/LetterGump.cs:
CS0219: Line 44: The variable 'initialState' is assigned but its value is never used
+ Customs/[ServUO.com]-MailSystem/MailSystem/WriteLetterGump.cs:
CS0219: Line 34: The variable 'initialState' is assigned but its value is never used
+ Customs/[ServUO.com]-Mobile Statue Base/Mobile Statues/BaseCreatureStatue.cs:
CS1717: Line 55: Assignment made to same variable; did you mean to assign something else?
CS1717: Line 56: Assignment made to same variable; did you mean to assign something else?
CS1717: Line 57: Assignment made to same variable; did you mean to assign something else?
CS1717: Line 58: Assignment made to same variable; did you mean to assign something else?
+ Customs/[ServUO.com]-Spellbar_Ver 2/Spellbar_Ver 2/Spellbar/PositionGump.cs:
CS0168: Line 43: The variable 'xo' is declared but never used
CS0168: Line 44: The variable 'yo' is declared but never used
+ Customs/[ServUO.com]-Spellbar_Ver 2/Spellbar_Ver 2/Spellbar/SpellBarGump.cs:
CS0219: Line 1475: The variable 'dbx' is assigned but its value is never used
CS0219: Line 1476: The variable 'dbxa' is assigned but its value is never used
CS0219: Line 1477: The variable 'dby' is assigned but its value is never used
CS0219: Line 1478: The variable 'dbya' is assigned but its value is never used
CS0219: Line 2604: The variable 'yselect_var' is assigned but its value is never used
CS0219: Line 2629: The variable 'yselect_var' is assigned but its value is never used
CS0219: Line 2654: The variable 'yselect_var' is assigned but its value is never used
CS0219: Line 2679: The variable 'yselect_var' is assigned but its value is never used
+ Customs/[ServUO.com]-UPDATEDOSILABYRINTH/Labyrinth.cs:
CS0219: Line 61: The variable 'Spawn' is assigned but its value is never used
+ Customs/[ServUO.com]-VetRewardUpgrade/Vet/Magic/Rune Magic/RuneMagic.cs:
CS0219: Line 49: The variable 'foundBet' is assigned but its value is never used
CS0219: Line 67: The variable 'foundTym' is assigned but its value is never used
CS0219: Line 73: The variable 'foundZu' is assigned but its value is never used
+ Customs/[ServUO.com]-VetRewardUpgrade/Vet/Stones/TransmuationStone.cs:
CS0219: Line 117: The variable 'done' is assigned but its value is never used
+ Customs/[ServUO.com]-VetRewardUpgrade/Vet/Tent/Chest.cs:
CS0162: Line 139: Unreachable code detected
+ Customs/[ServUO.com]-VetRewardUpgrade/Vet/Tent/TentDeed.cs:
CS1717: Line 143: Assignment made to same variable; did you mean to assign something else?
CS0162: Line 154: Unreachable code detected
+ Customs/[ServUO.com]-World Omniporter v2.5/World Omniporter v2.5/WorldOmniporter.cs:
CS0162: Line 324: Unreachable code detected
CS0168: Line 957: The variable 'e' is declared but never used
+ Customs/[ServUO.com]-customname.cs:
CS0168: Line 57: The variable 'target' is declared but never used
+ Customs/[ServUO.com]-NoMountTile.cs:
CS0162: Line 35: Unreachable code detected
+ Customs/[ServUO.com]-SawmillAddon.cs:
CS0162: Line 289: Unreachable code detected
Errors:
+ Customs/[ServUO.com]-[ServUO.com]-MechanicalPetCrafting/MechanicalPetCrafting/MechanicalPet.cs:
CS0103: Line 67: The name 'PackScroll' does not exist in the current context
CS0103: Line 68: The name 'PackPotion' does not exist in the current context
Scripts: One or more scripts failed to compile or no script files were found.
- Press return to exit, or R to try again.
 
You can just remove those -like below this is a pretty old system-but it will be fine once you do this
//PackScroll( 1, 5 );
//PackPotion();
 
Sorry to resurrect an old script but I loved this script and I am trying to get it working with a newer version of ServUO for some friends and family but since I have been gone there is now errors with the newer build.

+ Custom/Mobiles/Mechanical Pets/NewMechanicalPets/MechanicalHellSteed.cs:
CS0115: Line 51: 'MechanicalHellSteed.HasBreath': no suitable method found to override
+ Custom/Mobiles/Mechanical Pets/MechanicalPet.cs:
CS0115: Line 109: 'MechanicalPet.CanHeal': no suitable method found to override
CS0115: Line 110: 'MechanicalPet.CanHealOwner': no suitable method found to override
 
public virtual bool CanHeal { get { return true; } }
public virtual bool CanHealOwner { get { return true; } }
SetSpecialAbility(SpecialAbility.DragonBreath);
these work in new build in the script for rainbow dragon
 
Back