tModLoader v2024.11
A mod to make and play Terraria mods
Conditions.DrunkWorldIsNotUp Class Reference

Inherits IItemDropRuleCondition, and IProvideItemConditionDescription.

Public Member Functions

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 ()
 

Member Function Documentation

◆ CanDrop()

bool Conditions.DrunkWorldIsNotUp.CanDrop ( DropAttemptInfo  info)

Whether or not the item using this drop rule can drop.

Implements IItemDropRuleCondition.

◆ CanShowItemDropInUI()

bool Conditions.DrunkWorldIsNotUp.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.

◆ GetConditionDescription()

string Conditions.DrunkWorldIsNotUp.GetConditionDescription ( )