Tile - YEngine - Fuel Engine – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
m (YlandsClassyBot moved page Ylands Tile - Fuel entity to Ylands:Tile - YEngine - Fuel Engine: New Structure)
No edit summary
Line 1: Line 1:
[[Image:Ylands_Tile_-_Fuel_entity.png]]
<!---
*This instruction will '''add''' desired amount of '''fuel''' to an entity
THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE.
*Works only for '''engines'''
-->
== Fuel Engine(Entity, Amount) ==


=Notes=
[[File:YlandsTile-134.png]]
*To '''remove''' fuel from target, use '''negative''' amount
 
*Maximum engine fuel '''capacity''' is '''1000'''
<pre>static fuel(target: YEntity, amount: number): void;</pre>
=== Parameters ===
 
==== target ====
 
==== amount ====
 
=== Description ===
 
Allows to '''add''' desired amount of '''fuel''' to selected entity.
 
=== Notes ===
 
* Works only for '''engines'''.
* To '''remove''' fuel from target, use '''negative''' amount.
* Maximum engine fuel '''capacity''' is '''1000'''.




Line 13: Line 29:


[[Category: Instructions]]
[[Category: Instructions]]
[[Category: Ylands 0.10]]

Revision as of 09:52, 8 July 2021