From cdf27ece5fa1f7a48e3275d15dc32e16c3835667 Mon Sep 17 00:00:00 2001 From: MW Date: Tue, 1 Apr 2008 13:34:33 +0000 Subject: few more minor changes, needs prebuild to be ran. --- OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs | 6 +++--- OpenSim/Region/Examples/SimpleModule/RegionModule.cs | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'OpenSim/Region/Examples/SimpleModule') diff --git a/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs b/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs index 8fcc3cf..3f090df 100644 --- a/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs +++ b/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs @@ -194,10 +194,10 @@ namespace OpenSim.Region.Examples.SimpleModule public virtual string FirstName { - get { return "Annoying"; } + get { return "Only"; } } - private string lastName = "NPC" + Util.RandomClass.Next(1, 1000); + private string lastName = "Today" + Util.RandomClass.Next(1, 1000); public virtual string LastName { @@ -485,7 +485,7 @@ namespace OpenSim.Region.Examples.SimpleModule if (OnChatFromViewer != null) { ChatFromViewerArgs args = new ChatFromViewerArgs(); - args.Message = "Kinda quiet around here, isn't it?"; + args.Message = "Hey You! Get out of my Home. This is my Region"; args.Channel = 0; args.From = FirstName + " " + LastName; args.Position = new LLVector3(128, 128, 26); diff --git a/OpenSim/Region/Examples/SimpleModule/RegionModule.cs b/OpenSim/Region/Examples/SimpleModule/RegionModule.cs index 1e043dd..218908c 100644 --- a/OpenSim/Region/Examples/SimpleModule/RegionModule.cs +++ b/OpenSim/Region/Examples/SimpleModule/RegionModule.cs @@ -54,10 +54,10 @@ namespace OpenSim.Region.Examples.SimpleModule LLVector3 pos = new LLVector3(110, 129, 27); - AddCpuCounter(regionInfo, pos); + //AddCpuCounter(regionInfo, pos); // AddComplexObjects(regionInfo, pos); AddAvatars(); - AddFileSystemObjects(); + // AddFileSystemObjects(); } private void AddFileSystemObjects() @@ -85,7 +85,7 @@ namespace OpenSim.Region.Examples.SimpleModule private void AddAvatars() { - for (int i = 0; i < 2; i++) + for (int i = 0; i < 1; i++) { MyNpcCharacter m_character = new MyNpcCharacter(m_scene.EventManager); m_scene.AddNewClient(m_character, false); -- cgit v1.1