thecapitan2003
Member
i am trying to set items so nothing decays how would i go about doing this?
private static TimeSpan m_DDT = TimeSpan.FromHours(1.0);
public static TimeSpan DefaultDecayTime { get { return m_DDT; } set { m_DDT = value; } }
[CommandProperty(AccessLevel.Decorator)]
public virtual TimeSpan DecayTime { get { return m_DDT; } }
[CommandProperty(AccessLevel.Decorator)]
public virtual bool Decays
{
get
{
// TODO: Make item decay an option on the spawner
return (Movable && Visible /* && Spawner == null*/);
}
}
thnx so i just put that instead of the calc that is in the file...ill try it tonight, my server is a lan shard i only play with my kids so i dont worry about item counts.....I think setting the decay this way should solve it
Code:[CommandProperty(AccessLevel.Decorator)] public virtual bool Decays { get { return false; } }
public override bool Decays { get { return Movable; } }
We use essential cookies to make this site work, and optional cookies to enhance your experience.