|
||
|
|||||||
| Custom Script Release Archive This is a pre-script database archive of what our users had released. |
|
|
Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Forum Expert
|
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
__________________
![]() For Updated Scripts from my Releases http://smurfscsharp.googlecode.com/svn/trunk/ |
|
|
|
|
#2 (permalink) |
|
Forum Novice
|
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~ |
|
|
|
|
#3 (permalink) | |
|
Forum Expert
|
Quote:
__________________
![]() For Updated Scripts from my Releases http://smurfscsharp.googlecode.com/svn/trunk/ |
|
|
|
|
|
#4 (permalink) |
|
Forum Expert
Join Date: Dec 2005
Posts: 465
|
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 |
|
|
|
|
#5 (permalink) |
|
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 |
|
|
|
|
|
#7 (permalink) | |
|
Forum Expert
|
Quote:
![]()
__________________
![]() For Updated Scripts from my Releases http://smurfscsharp.googlecode.com/svn/trunk/ |
|
|
|
|
|
#8 (permalink) |
|
Forum Master
|
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 |
|
|
|
|
#9 (permalink) |
|
Forum Expert
Join Date: Nov 2004
Location: Beyond the Gates of Hell
Age: 37
Posts: 3,509
|
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:
|
|
|
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|