update BN13 for new UI

This commit is contained in:
Olivier Gagnon
2021-09-25 17:21:50 -04:00
parent 3aacab504b
commit 793d9b34ce
49 changed files with 1763 additions and 9 deletions

View File

@@ -0,0 +1,15 @@
canPlace() Netscript Function
=======================================
.. js:function:: canPlace(worldX, worldY, fragmentId)
:RAM cost: 0.5 GB
:param int worldX: World X against which to align the top left of the fragment.
:param int worldY: World Y against which to align the top left of the fragment.
:param int fragmentId: ID of the fragment to place.
:returns: `true` if the fragment can be placed at that position. `false` otherwise.
Example:
.. code-block:: javascript
canPlace(0, 4, 17); // returns true