|
TModLoader v1.4.4.9
TModLoader source code documentation
|
|
getset |
A utility property for easily getting or setting the amount of items required for this item's current type to be researched.
By default, all modded items will have this set to 1. Set to 0 for un-researchable items, such as items that disappear on pickup. The Journey Mode Research wiki pagelists values for various types of items, use it as a guide for consistency.
NOTE: The accessed values are stored per item type, not per item instance. You're recommended to only use the setter in load-time hooks, like M:Terraria.ModLoader.ModType.SetStaticDefaults.
Definition at line 1135 of file Item.cs.