mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-20 05:05:47 +01:00
24 lines
610 B
ReStructuredText
24 lines
610 B
ReStructuredText
|
fragmentDefinitions() Netscript Function
|
||
|
=======================================
|
||
|
|
||
|
.. js:function:: fragmentDefinitions()
|
||
|
|
||
|
:RAM cost: 0 GB
|
||
|
:returns: The list of all fragment that can be embedded in Stanek's Gift.
|
||
|
|
||
|
.. code-block:: typescript
|
||
|
[
|
||
|
{
|
||
|
id: number;
|
||
|
shape: boolean[][];
|
||
|
type: string;
|
||
|
magnitude: number;
|
||
|
limit: number;
|
||
|
}
|
||
|
]
|
||
|
Example:
|
||
|
|
||
|
.. code-block:: javascript
|
||
|
var fragments = fragmentDefinitions();
|
||
|
print(fragment); // prints all possible fragments
|