WonderlandADnc
Wanderer
MWDrink Bottle
hi there, im trying to make a drink bottle, for my shard. as its a wonderland shard. lol
i want to put +25 str and -25 str, when used witch bottle. for bigger and getting smaller. but i dont no where to start. also when i load my script i have so far i get
this is my script. thanks to all.
i notice its on the } bit ive removed that and so on. and so on it keeps saying that same .
im sorry to bother you all.
thanks again.
hi there, im trying to make a drink bottle, for my shard. as its a wonderland shard. lol
i want to put +25 str and -25 str, when used witch bottle. for bigger and getting smaller. but i dont no where to start. also when i load my script i have so far i get
Code:
Scripts: Compiling C# scripts...failed (1 errors, 0 warnings)
- Error: Scripts\Customs\trys\DrinkMe.cs: CS1513: (line 36, column 5) } expected
Code:
using System;
namespace Server.Items
{
[FlipableAttribute( 0x99F, 0x99F )]
public class DrinkMe : BaseBeverage
{
// int hi = 0; //
[Constructable]
public DrinkMe() : base( 0x99F )
{
Name = "Drink Me!";
this.Weight = 0.1;
}
public DrinkMe( Serial serial ) : base( serial )
{
}
public override void OnDoubleClick( Mobile from )
{
Container pack = from.Backpack;
if (pack != null && pack.ConsumeTotal( typeof( DrinkMe ), 1 ) )
{
if ( from.Body.IsHuman && !from.Mounted )
{
from.SendMessage( "You drink the liquid and feel small enough to fit throught the door!" );
from.PlaySound( 0x2D6 );
if ( Highness >= 6 )
{
from.Say( "*" + "Hic" );
Highness = 0;
}
}
}
public override void Serialize( GenericWriter writer )
{
base.Serialize( writer );
writer.Write( (int) 0 ); // version
}
public override void Deserialize( GenericReader reader )
{
base.Deserialize( reader );
int version = reader.ReadInt();
}
}
}
i notice its on the } bit ive removed that and so on. and so on it keeps saying that same .
im sorry to bother you all.
thanks again.