public void OnChop( Mobile from )
{
int testID = ((Item)i_leaves).ItemID;
switch (testID)
{
case 0xD96:
case 0xD9A:
{
AppleTree thistree = i_leaves as AppleTree...
that is what I was looking for a work around to... I tried adding more cases but there are only so many stumps and tree images in the game so it gave me there error that there are multiple cases with the label value "3478" etc .. any work around ?
lol my bad Pyro I wasn't paying attention to the year just the day of the original post.... April 19th .... just floating through the posts on here. my bad i misread what you said also you went back to the original topic.....
oops forgot to show the script.
using System;
using Server;
using System.Collections;
using Server.Network;
using Server.Gumps;
using Server.Items;
namespace Server.Items.Crops
{
public enum TreeType
{
AppleTree,
PearTree,
PeachTree,
ApricotTree...
Sorry to revive this old post, but was combing through all these custom releases... and well, Im wondering if this dice system could also be applied to spell damage and healing for bandages, Spells, and potion affects?
Have all my trees in 13 new ones other than the 3 in treehelper the only issue im having is the trees when chopped are all growing back as apple trees....
trying to figure out how to change the on Chop method to allow more trees the issue is the trees are using the same Item ID's as those 3...
AccountHandler.cs
this line...
private static readonly int MaxAccountsPerIP = Config.Get("Accounts.AccountsPerIp", 2);
change the 2 to 3
not sure about the two other IP's for 6 accounts..... other than making the other 3 with the master account in Game for each IP after the first...