User Tools

Site Tools


drafts:resourceconditions

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

drafts:resourceconditions [2026/03/03 12:41] – created infinitychancesdrafts:resourceconditions [2026/03/03 13:10] (current) infinitychances
Line 9: Line 9:
  
 ==== TrueResourceCondition ==== ==== TrueResourceCondition ====
 +The TrueResourceCondition returns true. That's all it does. 
  
 +==== AllModsLoadedResourceCondition ====
 +This one returns true if all mods(defined by id) listed in it are loaded(running in the current environment).
 +
 +==== AnyModsLoadedResourceCondition ====
 +Returns true if any mods listed in it are loaded.
 +
 +==== TagsPopulatedResourceCondition ====
 +Returns true if all tags listed in it have members(not empty).
 +
 +==== FeaturesEnabledResourceCondition ====
 +Returns true if all features listed in it are enabled.
 +
 +==== RegistryContainsResourceCondition ====
 +Returns true if the registry has the identifiers listed in it as entries.
 +
 +==== NotResourceCondition ====
 +Returns true if the resource condition nested inside is false.
 +
 +==== OrResourceCondition ====
 +Returns true if either condition inside it is true.
 +
 +
 +==== AndResourceCondition ====
 +Returns true if both conditions are true.
  
drafts/resourceconditions.txt · Last modified: 2026/03/03 13:10 by infinitychances · Currently locked by: infinitychances