Tile - YRecipe - Set Recipe Learnable – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search

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.