#W# File structure changes.

This commit is contained in:
WarrentyExpired 2026-08-06 19:05:46 -04:00
commit a54cac2d23
38 changed files with 54 additions and 42 deletions

View file

@ -1233,7 +1233,7 @@ namespace Server.Commands
{
List<BodyEntry> list = new List<BodyEntry>();
string path = Core.FindDataFile( "models/models.txt" );
string path = Core.FindDataFile( "Data/Config/models.txt" );
if( File.Exists( path ) )
{

View file

@ -45,7 +45,7 @@ namespace Server.Commands
{
CategoryEntry root = new CategoryEntry( null, "Add Menu", new CategoryEntry[]{ Items, Mobiles } );
Export( root, "Data/objects.xml", "Objects" );
Export( root, "Data/Config/objects.xml", "Objects" );
e.Mobile.SendMessage( "Categorization menu rebuilt." );
}
@ -157,8 +157,8 @@ namespace Server.Commands
for ( int i = 0; i < ScriptCompiler.Assemblies.Length; ++i )
AddTypes( ScriptCompiler.Assemblies[i], types );
m_RootItems = Load( types, "Data/items.cfg" );
m_RootMobiles = Load( types, "Data/mobiles.cfg" );
m_RootItems = Load( types, "Data/Config/items.cfg" );
m_RootMobiles = Load( types, "Data/Config/mobiles.cfg" );
}
private static CategoryEntry Load( ArrayList types, string config )
@ -423,4 +423,4 @@ namespace Server.Commands
return (CategoryLine[])list.ToArray( typeof( CategoryLine ) );
}
}
}
}