Tile - YEngine - Fuel Engine – Ylands

From Bohemia Interactive Community
Category: Instructions
(Created page with " ---- {{Ylands scripting navbox}}")
 
m (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}")
 
(8 intermediate revisions by 3 users 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) ==
[[File:YlandsTile-134.png]]
<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'''.




----
----
{{Ylands scripting navbox}}
{{Navbox/Ylands}}
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}
 
[[Category: Instructions]]

Latest revision as of 15:26, 24 November 2023