tModLoader v2022.09
A mod to make and play Terraria mods
Terraria.GameContent.ItemDropRules Namespace Reference

Classes

class  AlwaysAtleastOneSuccessDropRule
 Re-runs all drop rules if none succeded. More...
 
class  Chains
 
class  CoinsRule
 
class  CommonCode
 
class  CommonDrop
 
class  CommonDropNotScalingWithLuck
 
class  CommonDropWithRerolls
 
class  Conditions
 
struct  DropAttemptInfo
 
class  DropBasedOnExpertMode
 
class  DropBasedOnMasterMode
 
class  DropLocalPerClientAndResetsNPCMoneyTo0
 
class  DropNothing
 
class  DropOneByOne
 
class  DropPerPlayerOnThePlayer
 
struct  DropRateInfo
 
struct  DropRateInfoChainFeed
 
class  FewFromOptionsDropRule
 Runs multiple rules if successes. More...
 
class  FewFromOptionsNotScaledWithLuckDropRule
 Runs multiple rules if successes. Does not use player luck. More...
 
class  FewFromRulesRule
 Runs multiple drop rules if successes. More...
 
class  HerbBagDropsItemDropRule
 Used just by Herb Bag. Horribly hardcoded. Do not use if you can. More...
 
interface  IItemDropRule
 
interface  IItemDropRuleChainAttempt
 
interface  IItemDropRuleCondition
 
interface  INestedItemDropRule
 
interface  IProvideItemConditionDescription
 
struct  ItemDropAttemptResult
 
class  ItemDropDatabase
 
class  ItemDropResolver
 
class  ItemDropRule
 
class  ItemDropWithConditionRule
 
class  LeadingConditionRule
 
class  MechBossSpawnersDropRule
 
class  OneFromOptionsDropRule
 
class  OneFromOptionsNotScaledWithLuckDropRule
 
class  OneFromRulesRule
 
class  SequentialRulesNotScalingWithLuckRule
 Runs the provided rules in order, stopping after a rule succeeds.
Does not use player luck.
More...
 
class  SequentialRulesRule
 Runs the provided rules in order, stopping after a rule succeeds.
More...
 
class  SlimeBodyItemDropRule
 

Enumerations

enum  ItemDropAttemptResultState { DoesntFillConditions , FailedRandomRoll , Success , DidNotRunCode }
 

Functions

delegate ItemDropAttemptResult ItemDropRuleResolveAction (IItemDropRule rule, DropAttemptInfo info)