Tile - YRecipe - Set Recipe Learnable – Ylands

From Bohemia Interactive Community
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 ===


Sets whether the target '''player''' can learn the selected '''recipe'''.
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)

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.