tModLoader v2024.11
A mod to make and play Terraria mods
|
Inherits IItemDropRuleCondition, and IProvideItemConditionDescription.
Public Member Functions | |
NamedNPC (string neededName) | |
bool | CanDrop (DropAttemptInfo info) |
Whether or not the item using this drop rule can drop. More... | |
bool | CanShowItemDropInUI () |
Whether or not the item using this drop rule will show in the Bestiary drops listing. This is typically less restrictive than the CanDrop(DropAttemptInfo) logic and usually only limits drop visibility for conditions that represent world state that can't change, such as the world difficulty or world evil choice. Most other conditions just return true, hinting to the player that the item could potentially drop even if the drop conditions aren't currently fully met. More... | |
string | GetConditionDescription () |
bool | CanDrop (DropAttemptInfo info) |
Whether or not the item using this drop rule can drop. More... | |
bool | CanShowItemDropInUI () |
Whether or not the item using this drop rule will show in the Bestiary drops listing. This is typically less restrictive than the CanDrop(DropAttemptInfo) logic and usually only limits drop visibility for conditions that represent world state that can't change, such as the world difficulty or world evil choice. Most other conditions just return true, hinting to the player that the item could potentially drop even if the drop conditions aren't currently fully met. More... | |
string | GetConditionDescription () |
Public Attributes | |
string | neededName |
bool Conditions.NamedNPC.CanDrop | ( | DropAttemptInfo | info | ) |
Whether or not the item using this drop rule can drop.
Implements IItemDropRuleCondition.
bool Conditions.NamedNPC.CanShowItemDropInUI | ( | ) |
Whether or not the item using this drop rule will show in the Bestiary drops listing. This is typically less restrictive than the CanDrop(DropAttemptInfo) logic and usually only limits drop visibility for conditions that represent world state that can't change, such as the world difficulty or world evil choice. Most other conditions just return true, hinting to the player that the item could potentially drop even if the drop conditions aren't currently fully met.
Implements IItemDropRuleCondition.
string Conditions.NamedNPC.GetConditionDescription | ( | ) |
Implements IProvideItemConditionDescription.