Tile - YRecipe - Set Recipe Learnable – Ylands
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 10: | Line 10: | ||
==== character ==== | ==== character ==== | ||
Target player | |||
==== recipe ==== | ==== recipe ==== | ||
Target recipe | |||
==== learnable ==== | ==== learnable ==== | ||
=== Availability === | |||
[[Ylands:Tile Availability - Server|Server]] | |||
=== Description === | === Description === | ||
Allows to set whether the target '''player''' can learn the selected '''recipe'''. | |||
Revision as of 12:16, 12 November 2021
Set Recipe Learnable(Player, Recipe, Learnable)
static setLearnable(character: YCharacter, recipe: YEntityType, learnable: boolean): void;
Parameters
character
Target player
recipe
Target recipe
learnable
Availability
Description
Allows to set whether the target player can learn the selected recipe.