跳到主要内容

has_cosmetic_fact

Checks if a player has a specific cosmetic unlocked. — misc entry.

Entry Information

PropertyValue
Entry IDhas_cosmetic_fact
TypeMisc
ColorCyan
Iconmdi:help-circle

Fields

FieldTypeDescription
cosmeticIdStringID of the cosmetic to check.
artifactRef<PlayerCosmeticsArtifactEntry>Reference to the player data artifact. If empty, tries to find the default one.

Usage Example

- entry: has_cosmetic_fact
name: "Checks if a player has a specific cosmetic unlocked."
cosmeticId: ""
artifact: ""