Room save/load code under construction. Realized during implementation that I will need to re-work the environment save code due to how rooms doors are loaded and saved.
This commit is contained in:
parent
706c770dd7
commit
2c39c7538e
9 changed files with 148 additions and 13 deletions
|
@ -25,6 +25,8 @@ namespace MudEngine.GameScripts.Commands
|
|||
|
||||
public bool Execute(string command, StandardCharacter character)
|
||||
{
|
||||
character.SendMessage(character.CurrentRoom.Name);
|
||||
character.SendMessage(character.CurrentRoom.Description);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -24,7 +24,8 @@ namespace MudEngine.GameScripts
|
|||
{
|
||||
this.Server.ServerOwner = "Admin";
|
||||
base.Start(maxPlayers, maxQueueSize);
|
||||
|
||||
|
||||
|
||||
//Quick demonstration on how to create the initial starting room for new players.
|
||||
this.World.CreateRealm("Azeroth", "Starting Realm for beginning players");
|
||||
Zone z = this.World.GetRealm("Azeroth").CreateZone("Bedlam", "Initial Zone for new players.");
|
||||
|
@ -52,6 +53,9 @@ namespace MudEngine.GameScripts
|
|||
this.Enabled = false;
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue