OfficiallyM / M-ultiTool

The Long Drive (TLD) spawner and gameplay tools
4 stars 2 forks source link

Category for mod items #49

Closed OfficiallyM closed 6 months ago

OfficiallyM commented 6 months ago

Suggested by Runden

Two options for this, using Enum.GetNames(typeof(itemdatabase.i)).Length to get the length of the itemdatabase items compared to the index of the current item. Mod items added in the way Dingus does won't be counted as part of the initial itemdatabase size

Other option is any items that don't have a tosaveitemscript as all items in the database should

OfficiallyM commented 6 months ago

Not all items in the itemdatabase have a tosaveitemscript so will need to use option 1

OfficiallyM commented 6 months ago

Fixed in ab54b289ebf4977b46d89b48d1a2f86d958f7c80