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) |
Lou Montana (talk | contribs) m (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}") |
||
(2 intermediate revisions by one other user not shown) | |||
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 ==== | |||
Target entity | |||
==== amount ==== | |||
Amount of fuel | |||
=== Availability === | |||
[[Ylands:Tile Availability - Server|Server]] | |||
=== 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'''. | |||
---- | ---- | ||
{{Navbox/Ylands}} | {{Navbox/Ylands}} | ||
{{DEFAULTSORT:{{#sub:{{PAGENAME}}| | {{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}} | ||
[[Category: Instructions]] | [[Category: Instructions]] | ||
Latest revision as of 14:26, 24 November 2023
Fuel Engine(Entity, Amount)
static fuel(target: YEntity, amount: number): void;
Parameters
target
Target entity
amount
Amount of fuel
Availability
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.