Tile - YRecipe - Set Recipe Learnable – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}")
 
(One intermediate revision by one other user not shown)
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'''.




----
----
{{Navbox/Ylands}}
{{Navbox/Ylands}}
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}


[[Category: Instructions]]
[[Category: Instructions]]

Latest revision as of 15:27, 24 November 2023

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.