Code:
public override void OnSuccessfulBulkOrderReceive(Mobile from)
{
if (Core.SE && from is PlayerMobile)
((PlayerMobile)from).NextSmithBulkOrder = TimeSpan.Zero;
if (Core.SE && from is PlayerMobile)
from.AddToBackpack(new CraftMark());
from.SendMessage("You have been awarded one Craft Mark for turning in this Bulk Order Deed."); //
}
So I have a system where when a player turns in a bulk order they get a craft mark.
I really want it so if it is a large BOD they get 5 and if it is a small they get one but I have tried and tried and can not seem to figure it out within this method.
Soo I am going to settle for a random 1 - 3 craft marks. What would I add in the brackets to do that? I tried looking for other code within the distro to copy from but can not seem to figure it out.
Thanks for any help!