Tile - YEngine - Fuel Engine – Ylands
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: | ||
<!--- | |||
THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE. | |||
--> | |||
== 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]] | ||
Revision as of 08:52, 8 July 2021
Fuel Engine(Entity, Amount)
static fuel(target: YEntity, amount: number): void;
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.