#W# File structure changes.
This commit is contained in:
parent
f3c4050cc3
commit
624d04b84f
38 changed files with 43 additions and 43 deletions
|
|
@ -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