yeah that's meanIf you mean with new player just starting would be here
Scripts/Misc/CharacterCreation
Look for these lines you can add items there
PackItem(new RedBook("a book", m.Name, 20, true));
PackItem(new Gold(1000)); // Starting gold can be customized here
PackItem(new Candle());
yes because i'm create scripts usually server crash...Are you able to create simple scripts? If I give you a giftbox script which drops 2 items in it- can you change the name of the gift box and change the gift items in the scripts?
no... i'm create new scripts will crash serverAre you saying you can change names in scripts then?
Are you able to create simple scripts? If I give you a giftbox script which drops 2 items in it- can you change the name of the gift box and change the gift items in the scripts?
using Server.Items;
namespace Server
{
[Furniture]
[Flipable(0x232A, 0x232B)]
public class CustomGiftBox : Container
{
[Constructable]
public CustomGiftBox() : base(Utility.Random(0x232A, 2))
{
Name = "Custom Gift Box";
Weight = 2.0;
Hue = 1175;
DropItem(new Katana());
}
public CustomGiftBox(Serial serial) : base(serial)
{
}
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();
}
}
}
Here is one I like. Pandora's Gift Box. GM can place the box anywhere in-game, regular players cannot access it. Anything you put in it can be given to players. There are settings for one per character, one per account. You can set up multiple boxes for different events. I like to add a gift box into the box, and put all the freebies in the gift box. That way the player gets a nice gift box.I can and would love this script
Here is one I like. Pandora's Gift Box. GM can place the box anywhere in-game, regular players cannot access it. Anything you put in it can be given to players. There are settings for one per character, one per account. You can set up multiple boxes for different events. I like to add a gift box into the box, and put all the freebies in the gift box. That way the player gets a nice gift box.
I did not write this, and not sure if I got it from RunUO or ServUO. Had it for many years.
if (young)
{
var ticket = new NewPlayerTicket
{
Owner = newChar
};
newChar.BankBox.DropItem(ticket);
}
if (young)
{
var ticket = new NewPlayerTicket
{
Owner = newChar
};
newChar.BankBox.DropItem(ticket);
newChar.BankBox.DropItem(new Katana()); <Example, just add as many lines as you need, one per item!
}
We use essential cookies to make this site work, and optional cookies to enhance your experience.