mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-09 01:03:54 +01:00
894 B
894 B
Home > bitburner > Stanek > place
Stanek.place() method
Place fragment on Stanek's Gift.
Signature:
place(rootX: number, rootY: number, rotation: number, fragmentId: number): boolean;
Parameters
Parameter | Type | Description |
---|---|---|
rootX | number | X against which to align the top left of the fragment. |
rootY | number | Y against which to align the top left of the fragment. |
rotation | number | A number from 0 to 3, the mount of 90 degree turn to take. |
fragmentId | number | ID of the fragment to place. |
Returns:
boolean
true if the fragment can be placed at that position. false otherwise.
Remarks
RAM cost: cost: 5 GB