Inheriting from Item

Due to human (non-bot) spam the first contribution of a user has to be reviewed and activated manually, all further contributions do not require this.
As long as a user does not have at least one reviewed and activated contribution, the user is unable to edit his profile, set a avatar, title picture or a signature.
  • I'm trying to create a new item by inheriting it from another item and them modifying just some few properties, e.g.

    public partial class myCoolItem : existingItem { //blablabal }

    This doesn't work because existingItem is declared as

    public class existingItem : WorldObjectItem<existingObject>

    Eco creates a dictionary containing all items and the key is precisely existingObject, causing a "duplicated key" error. I just tried it differently with

    public class myCoolObject : existingObject { //blablabla}

    public class myCoolItem : WorldObjectItem<myCoolObject>

    and it works... except that myCoolItem inherits actually nothing from existingItem. Is there any way to achieve this?

  • Dennis July 29, 2022 at 9:12 AM

    Approved the thread.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!