Go Back   RunUO - Ultima Online Emulation > RunUO > Custom Script Release Archive

Custom Script Release Archive This is a pre-script database archive of what our users had released.

 
 
Thread Tools Display Modes
Old 04-15-2006, 02:08 AM   #1 (permalink)
Forum Expert
 
PappaSmurf's Avatar
 
Join Date: Mar 2005
Location: Polishing my Lightsaber
Age: 31
Posts: 2,430
Send a message via ICQ to PappaSmurf Send a message via AIM to PappaSmurf Send a message via MSN to PappaSmurf Send a message via Yahoo to PappaSmurf
Default Easter Baskets

I decided to do a little easter basket the file (I've included a rar and zip version of the package) contains a modified Food.cs EasterBasket.cs and EasterGrass.cs

To add replace your stock Food.cs with the one I've included and toss the rest in a custom folder then use [add Easterbasket to create or add it to your gift giving script.

The Basket includes.

The Easter Basket: Blessed basket
Easter Grass: 1 pile of randomly colored easter grass (Yarr you'll be digging that outta your UO Vacume till Christmas)
An Edible Chocolate Bunny
An Edible Marshmallow Peep

I figured people could give these out then do an Easter Egg Hunt on their shards tomorrow for kicks

I attached this as rar and zip as I've had a time where a person didn't use WinRar but please realize they are the exact same files
Attached Files
File Type: zip EasterBasket.zip (3.7 KB, 83 views)
File Type: rar EasterBasket.rar (3.6 KB, 65 views)
__________________

For Updated Scripts from my Releases http://smurfscsharp.googlecode.com/svn/trunk/
PappaSmurf is online now  
Old 04-15-2006, 02:32 AM   #2 (permalink)
Forum Novice
 
wensday's Avatar
 
Join Date: Dec 2004
Age: 32
Posts: 170
Send a message via ICQ to wensday Send a message via Yahoo to wensday
Default

quick question: Do you happen to have any modifications to your food.cs script? I've done a few to mine, and was hoping that you hadnt done any previous changes to yours that would make it a wee bit confusing to weed out your new work from any previous changes you had made. Thanx
__________________
Wensday~
wensday is offline  
Old 04-15-2006, 04:49 AM   #3 (permalink)
Forum Expert
 
PappaSmurf's Avatar
 
Join Date: Mar 2005
Location: Polishing my Lightsaber
Age: 31
Posts: 2,430
Send a message via ICQ to PappaSmurf Send a message via AIM to PappaSmurf Send a message via MSN to PappaSmurf Send a message via Yahoo to PappaSmurf
Default

Quote:
Originally Posted by wensday
quick question: Do you happen to have any modifications to your food.cs script? I've done a few to mine, and was hoping that you hadnt done any previous changes to yours that would make it a wee bit confusing to weed out your new work from any previous changes you had made. Thanx
The only changes were the addition fo Chocoolate Bunnys and Marshmallw Peeps they are the bottom two entries. If your using a Previously modded Script I can't say enough how much WinMerge helps with combining another persons Script with yours. You can get it here http://winmerge.sourceforge.net/ It's free and all you have to do is open one file on the left pane one on the right and it will highlight the differences for example you open yours on the left and mine on the right my bottom two entries (Chocolate Bunny's and Marshmallow Peeps) will highlight as being different than yours, you can select the entire Highlighted difference on mine then go to the bottom of yours and paste it in. Makes Life SOOO much simpler.
__________________

For Updated Scripts from my Releases http://smurfscsharp.googlecode.com/svn/trunk/
PappaSmurf is online now  
Old 04-15-2006, 06:43 AM   #4 (permalink)
Forum Expert
 
Join Date: Dec 2005
Posts: 465
Default

just a little fyi
blessed containers are bad things to pass out on "normal" type shards as players can put items inside that are cursed or uninsured etc, and they stay in the container on death. If you dont care about that stuff, no big deal. Also, very strange, I coded the easter stuff for our shard last weekend and i made MARSHMELLOW PEEPS AND CHOCOLATE BUNNIES OMG and a bunch of other stuff too. weird
snicker7 is offline  
Old 04-15-2006, 09:53 AM   #5 (permalink)
stu
 
Join Date: Jun 2005
Location: Jackson, MS
Age: 40
Posts: 234
Send a message via ICQ to stu
Default is this the correct method? I cant get it to work :(

wont compile *boo!*
easter.cs
Code:
using System;
using Server;
using Server.Items;

namespace Server.Misc
{
	public class EasterGiftGiver : GiftGiver
	{
		public static void Initialize()
		{
			GiftGiving.Register( new EasterBasket() );
		}

		public override DateTime Start{ get{ return new DateTime( 2004, 12, 24 ); } }
		public override DateTime Finish{ get{ return new DateTime( 2005, 1, 1 ); } }

		public override void GiveGift( Mobile mob )
		{
			EasterBasket basket = new EasterBasket();
			
			switch ( GiveGift( mob, Easterbasket ) )
			{
				case GiftResult.Backpack:
					mob.SendMessage( 0x482, "Happy Holidays from the team!  Gift items have been placed in your backpack." );
					break;
				case GiftResult.BankBox:
					mob.SendMessage( 0x482, "Happy Holidays from the team!  Gift items have been placed in your bank box." );
					break;
			}
		}
	}
}
__________________
"I don't know half of you half as well as I should like; and I like less than half of you half as well as you deserve."
- JRR Tolkien
stu is offline  
Old 04-15-2006, 11:50 AM   #6 (permalink)
stu
 
Join Date: Jun 2005
Location: Jackson, MS
Age: 40
Posts: 234
Send a message via ICQ to stu
Default

got it! ty!
__________________
"I don't know half of you half as well as I should like; and I like less than half of you half as well as you deserve."
- JRR Tolkien
stu is offline  
Old 04-15-2006, 03:02 PM   #7 (permalink)
Forum Expert
 
PappaSmurf's Avatar
 
Join Date: Mar 2005
Location: Polishing my Lightsaber
Age: 31
Posts: 2,430
Send a message via ICQ to PappaSmurf Send a message via AIM to PappaSmurf Send a message via MSN to PappaSmurf Send a message via Yahoo to PappaSmurf
Default

Quote:
Originally Posted by snicker7
just a little fyi
blessed containers are bad things to pass out on "normal" type shards as players can put items inside that are cursed or uninsured etc, and they stay in the container on death. If you dont care about that stuff, no big deal. Also, very strange, I coded the easter stuff for our shard last weekend and i made MARSHMELLOW PEEPS AND CHOCOLATE BUNNIES OMG and a bunch of other stuff too. weird
I didn't think about the blessed Container part but yah your right they can be a bad thing. I was checking out one the the shards that have been posting in "Server Support" last night just from curiosity and they had easter eggs all over near the Brit Bank and it poped in my head "Wouldn't it be great to have an Easter Basket and do a Egg Hunt......So I opened VS C# express and Made it so...... If I'd known you'd done Peeps and Bunny's I'd have ganked them and left you credit in it...but.......I just modded my Food.cs to add them
__________________

For Updated Scripts from my Releases http://smurfscsharp.googlecode.com/svn/trunk/
PappaSmurf is online now  
Old 04-15-2006, 03:17 PM   #8 (permalink)
Forum Master
 
Lord_Greywolf's Avatar
 
Join Date: Dec 2005
Posts: 7,279
Send a message via Yahoo to Lord_Greywolf
Default

great idea!!!!

and 1 way to "fix" the blessed problem is this:

set the weight to all the items to be 0.01 -- very very very light

then in the basket mods set its max weight for holding to 0.1
and max items to the numbers of things you are putting in there

so the most they can hold in there afterwards is maybe a peice of lumber, a fish steak or something simular

so blessed container - not worth all that much for exploiting
Lord_Greywolf is offline  
Old 04-15-2006, 04:36 PM   #9 (permalink)
Forum Expert
 
Lucid Nagual's Avatar
 
Join Date: Nov 2004
Location: Beyond the Gates of Hell
Age: 37
Posts: 3,509
Thumbs up Pappa Smurf

Nice! Just in time for easter Thanks.
__________________
Leader of the Anti-OSI Movement. Inventing a new game experience in an EA Games-free environment.

Don Juan Matus "The basic difference between an ordinary man and a warrior is that a warrior takes everything as a challenge, while an ordinary man takes everything as a blessing or as a curse."


My Customs:
Lucid Nagual is offline  
 

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 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5