Tile - YRecipe - Set Recipe Learnable – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Set Recipe Learnable(Player, Recipe, Learnable)

YlandsTile-529.png

static setLearnable(character: YCharacter, recipe: YEntityType, learnable: boolean): void;

Parameters

character

Target player

recipe

Target recipe

learnable

Availability

Server

Description

Allows to set whether the target player can learn the selected recipe.