Tile - YRecipe - Set Recipe Learnable – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Ylands editor navbox}}" to "{{Navbox/Ylands}}")
m (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}")
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
[[Image:Character_get-set_recipe_learn-able.png]]
<!---
*Allows to '''get''' / '''set''' whenever a target '''recipe''' is '''learnable'''.
THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE.
-->
== Set Recipe Learnable(Player, Recipe, Learnable) ==
 
[[File:YlandsTile-529.png]]
 
<pre>static setLearnable(character: YCharacter, recipe: YEntityType, learnable: boolean): void;</pre>
=== Parameters ===
 
==== character ====
 
Target player
 
==== recipe ====
 
Target recipe
 
==== learnable ====
 
=== Availability ===
 
[[Ylands:Tile Availability - Server|Server]]
 
=== Description ===
 
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]]
[[Category: Ylands 0.12]]

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.