RunUO Community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Changeing Decay Time on Corpses

Lesdat

Sorceror
Changeing Decay Time on Corpses

Open 2 files:
Misc/Corpses/Corpse.cs
and
Misc/Corpse/DecayedCorpse.cs


Arround line 151 find:
Code:
		private static TimeSpan m_DefaultDecayTime = TimeSpan.FromMinutes( [COLOR="Red"]7[/COLOR].0 );
		private static TimeSpan m_BoneDecayTime = TimeSpan.FromMinutes( [COLOR="red"]7[/COLOR].0 );
Change the 7 in red to the number of minutes for decay time.

Now open DecayedCorpse.cs
Arround line 11 find:

Code:
private static TimeSpan m_DefaultDecayTime = TimeSpan.FromMinutes( [COLOR="red"]7[/COLOR].0 );// decay time

Make this number the same as the last change so they are the same.

Save your files and restart.
 
Top