Warn about get_portrait(..) possible deprecation

This commit is contained in:
marco_a 2024-07-26 23:14:37 +02:00
parent bd16e7fc28
commit 7ae3a5b6f8

View File

@ -57,7 +57,7 @@ Data about collections can be retrieved via a few functions like `get_collection
* `collectible_skins.get_skins_amount(<coll_name>)`: returns the amount of the current skins. Can filter by collection
* `collectible_skins.get_skin(skin_name)`: returns a copy of the skin corresponding to `skin_name`, if any
* `collectible_skins.get_collection(coll_name)`: returns a copy of the specified collection, format `{coll_name = coll_data}`
* `collectible_skins.get_portrait(skin)`: returns the portrait associated to the skin, if any
* `collectible_skins.get_portrait(skin)`: returns the portrait associated to the skin, if any. This only works with Minecraft-like textures and it'll probably be removed in the future: *do not* rely on it
* `collectible_skins.get_player_skins(p_name, <coll_name>)`: returns a table containing as value all the skins that `p_name` has unlocked, format `{"skin_name1", "skin_name2"}`. Can filter by collection
* `collectible_skins.get_player_skin(p_name)`: returns a copy of the skin that `p_name` has currently equipped