Go Back   RunUO - Ultima Online Emulation > RunUO > RunUO Post Archive

RunUO Post Archive The Archvie

Reply
 
Thread Tools Display Modes
Old 07-18-2004, 02:50 AM   #1 (permalink)
Forum Novice
 
Join Date: Mar 2004
Posts: 232
Default By Popular Demand 2000-2001 Snowglobe Set

Description

You asked and you have recieved. Here is the other complete set of snowglobes that osi gave out

This is a complete remake of the Snowglobe set that OSI gave out in 2001 During Christmas.









Osi Description
The same type of globe as in the December 2000 gifts, but with new names. Blessed!
Names: Ancient Citadel, Blackthorne's Castle, City of Montor, City of Mistas, Exodus' Lair, Lake of Fire, Lakeshire, Pass on Karnaugh, The Etheral Fortress, Twin Oaks Tavern
Chaos Shrine, Shrine of Humility, Shrine of Sacrifice, Shrine of Compassion, Shrine of Honor, Shrine of Honesty, Shrine of Spirituality, Shrine of Justice, Shrine of Valor.

Installation Notes
Unzip and Drop into customs folder.
type [add globe

Update

Working on a script to incorperate this with the Token System, so people can buy them with tokens, or possible a Stone that they can get them from. Any help with a good stone template would be great. Ty
Attached Files
File Type: zip 2000.zip (7.9 KB, 262 views)
milkman_dan is offline   Reply With Quote
Old 07-18-2004, 03:04 AM   #2 (permalink)
Forum Expert
 
Join Date: Jun 2003
Location: Laredo, Texas
Age: 19
Posts: 757
Send a message via ICQ to Marcus247 Send a message via AIM to Marcus247
Default

Thanks!!
__________________
-->Signature Here<--
Marcus247 is offline   Reply With Quote
Old 07-18-2004, 03:51 AM   #3 (permalink)
Greatwizard
 
sidsid's Avatar
 
Join Date: Mar 2004
Location: orange county, CA
Age: 27
Posts: 1,111
Default

OK, Im going to post a rewrite of this, cause they are neato, but its terrible having them spread out like that. Here is the same things with an enum and better constructable, makes it a lot smaller, cleaner, and easier to add to.
Code:
using System;
using Server;
namespace Server.Items
{
 public enum CityGlobeType
 {
  Britain,
  Bucs,
  Cove,
  Delucia,
  Empath,
  Jhelom,
  Lycaeum,
  Magincia,
  Minoc,
  Moonglow,
  Nujelom,
  Ocllo,
  Papua,
  Serpents,
  Skara,
  Trinsic,
  Vesper,
  Wind,
  Yew,
  Ancient,
  Blackthorne,
  Exodus,
  Lakeshire,
  LakeFire,
  Ethereal,
  Mistas,
  Montor,
  TwinOaks,
  Karnaugh,
  Chaos,
  Valor,
  Spirit,
  Sacrifice,
  Justice,
  Humility,
  Honor,
  Honesty,
  Compassion
 }
 public class CityGlobeInfo
 {
  private int m_LabelNumber;
  public string m_name;
  public int LabelNumber{ get{ return m_LabelNumber; } }
  public CityGlobeInfo( int labelNumber, string name )
  {
   m_LabelNumber = labelNumber;
   m_name = name;
  }
  private static CityGlobeInfo[] m_Table = new CityGlobeInfo[]
   {
	/* Britain */  new CityGlobeInfo( 1041454, "" ),
	/* Bucs */   new CityGlobeInfo( 1041458, "" ),
	/* Cove */   new CityGlobeInfo( 1041466, "" ),
	/* Delucia */  new CityGlobeInfo( 1041465, "" ),
	/* Empath */  new CityGlobeInfo( 1041469, "" ),
	/* Jhelom */  new CityGlobeInfo( 1041462, "" ),
	/* Lycaeum */  new CityGlobeInfo( 1041470, "" ),
	/* Magincia */  new CityGlobeInfo( 1041457, "" ),
	/* Minoc */   new CityGlobeInfo( 1041456, "" ),
	/* Moonglow */  new CityGlobeInfo( 1041455, "" ),
	/* Nujelom */  new CityGlobeInfo( 1041463, "" ),
	/* Ocllo */   new CityGlobeInfo( 1041467, "" ),
	/* Papua */   new CityGlobeInfo( 1041464, "" ),
	/* Serpents */  new CityGlobeInfo( 1041468, "" ),
	/* Skara */   new CityGlobeInfo( 1041461, "" ),
	/* Trinsic */  new CityGlobeInfo( 1041459, "" ),
	/* Vesper */  new CityGlobeInfo( 1041471, "" ),
	/* Wind */   new CityGlobeInfo( 1049472, "" ),
	/* Yew */   new CityGlobeInfo( 1049460, "" ),
	/* Ancient */  new CityGlobeInfo( 0, "A snowy scene of the Ancient Citadel" ),
	/* Blackthorne */ new CityGlobeInfo( 0, "A snowy scene of Blackthorne's Castle" ),
	/* Exodus */  new CityGlobeInfo( 0, "A snowy scene of Exodus's Lair" ),
	/* Lakeshire */  new CityGlobeInfo( 0, "A snowy scene of Lakeshire" ),
	/* Fire lake */  new CityGlobeInfo( 0, "A snowy scene of the Lake of Fire" ),
	/* Ethereal */  new CityGlobeInfo( 0, "A snowy scene of the Ethereal Fortress" ),
	/* Mistas */  new CityGlobeInfo( 0, "A snowy scene of Mistas" ),
	/* Montor */  new CityGlobeInfo( 0, "A snowy scene of Montor" ),
	/* Twin Oaks */  new CityGlobeInfo( 0, "A snowy scene of Twin Oaks" ),
	/* Karnaugh */  new CityGlobeInfo( 0, "A snowy scene of the Pass of Karnaugh" ),
	/* Chaos */   new CityGlobeInfo( 0, "A snowy scene of the Shrine of Chaos" ),
	/* Valor */   new CityGlobeInfo( 0, "A snowy scene of the Shrine of Valor" ),
	/* Spirit */  new CityGlobeInfo( 0, "A snowy scene of the Shrine of Spirituality" ),
	/* Sacr */   new CityGlobeInfo( 0, "A snowy scene of the Shrine of Sacrifice" ),
	/* Justice */  new CityGlobeInfo( 0, "A snowy scene of the Shrine of Justice" ),
	/* Humility */  new CityGlobeInfo( 0, "A snowy scene of the Shrine of Humility" ),
	/* Honor */   new CityGlobeInfo( 0, "A snowy scene of the Shrine of Honor" ),
	/* Honesty */  new CityGlobeInfo( 0, "A snowy scene of the Shrine of Honesty" ),
	/* Compassion */ new CityGlobeInfo( 0, "A snowy scene of the Shrine of Compassion" ),
   };
  public static CityGlobeInfo GetInfo( CityGlobeType type )
  {
   int v = (int)type;
   if ( v < 0 || v >= m_Table.Length )
	v = 0;
   return m_Table[v];
  }
 }
 public class CityGlobe : Item
 {
  private CityGlobeType m_Type;
  [CommandProperty( AccessLevel.GameMaster )]
  public CityGlobeType Type
  {
   get{ return m_Type; }
   set{ m_Type = value; ReName(); InvalidateProperties(); }
  }
  public override int LabelNumber
  {
   get{ return CityGlobeInfo.GetInfo( m_Type ).LabelNumber; }
  }
  [Constructable]
  public CityGlobe() : this( CityGlobeType.Britain )
  {
  }
  [Constructable]
  public CityGlobe( CityGlobeType type ) : base( 0xE2E ) 
  {
   Weight = 1.0;
   m_Type = type;
   LootType = LootType.Blessed; 
   ReName();
  }
  public void ReName()
  {
   if( LabelNumber == 0 )
	Name = CityGlobeInfo.GetInfo( m_Type ).m_name;
  }
  public CityGlobe( Serial serial ) : base( serial )
  {
  }
  public override void Serialize( GenericWriter writer )
  {
   base.Serialize( writer );
   writer.Write( (int) 0 );
  }
  
  public override void Deserialize(GenericReader reader)
  {
   base.Deserialize( reader );
   int version = reader.ReadInt();
  }
 }
}

__________________
-deadened with the helium of converses!
sidsid is offline   Reply With Quote
Old 07-18-2004, 04:48 AM   #4 (permalink)
Forum Novice
 
Join Date: Mar 2004
Posts: 232
Default

Thanks bro. Didnt know how to do that since Im new To scriptin and all.
Reason i did it this way is because you can type
[add globe , and it will show you the entire list of snowglobes so ya dont have to remember the name of em
milkman_dan is offline   Reply With Quote
Old 07-18-2004, 12:47 PM   #5 (permalink)
Account Terminated
 
Join Date: Apr 2004
Location: Titusville PA
Age: 26
Posts: 975
Default Sweet

Awsome i love the old gift sets cant wait till i have all of them on my shard!
evil lord kirby is offline   Reply With Quote
Old 07-19-2004, 04:32 AM   #6 (permalink)
Greatwizard
 
sidsid's Avatar
 
Join Date: Mar 2004
Location: orange county, CA
Age: 27
Posts: 1,111
Default

Quote:
Originally Posted by milkman_dan
Thanks bro. Didnt know how to do that since Im new To scriptin and all.
Reason i did it this way is because you can type
[add globe , and it will show you the entire list of snowglobes so ya dont have to remember the name of em
yea thats cool, thats why i added the command property, so when one is created you can [add cityglobe. then [props it and set the type. you will get the hang of it, and pick up on the neater, easier ways to do things as you progress
__________________
-deadened with the helium of converses!
sidsid is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5