#W# File structure changes.
This commit is contained in:
commit
a54cac2d23
38 changed files with 54 additions and 42 deletions
|
|
@ -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 ) )
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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 ) );
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue