has_cosmetic_fact
Checks if a player has a specific cosmetic unlocked. — misc entry.
Entry Information
| Property | Value |
|---|---|
| Entry ID | has_cosmetic_fact |
| Type | Misc |
| Color | Cyan |
| Icon | mdi:help-circle |
Fields
| Field | Type | Description |
|---|---|---|
cosmeticId | String | ID of the cosmetic to check. |
artifact | Ref<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: ""