Difference between revisions of "Block list"

From AAGRINDER wiki
Jump to navigationJump to search
(Remove the list of blocks, add guidelines for how to figure it out on your own)
(Update links)
 
Line 2: Line 2:
  
 
To learn about existing blocks in the newest version of AAGRINDER, follow these steps:
 
To learn about existing blocks in the newest version of AAGRINDER, follow these steps:
* In the file [https://gitlab.com/MRAAGH/aagrinder/-/raw/main/public/sprites.js sprites.js] you can find a list of all blocks that can be displayed.
+
* In the file [https://gitlab.com/MRAAGH/aagrinder/-/blob/main/shared/sprites.js sprites.js] you can find a list of all blocks that can be displayed.
* In the file [https://gitlab.com/MRAAGH/aagrinder/-/raw/main/public/inventory.js inventory.js] you can find a list of all items and their names, as well as the conversion functions '''item2block''' and '''block2item'''.
+
* In the file [https://gitlab.com/MRAAGH/aagrinder/-/blob/main/shared/inventory.js inventory.js] you can find a list of all items and their names, as well as the conversion functions '''item2block''' and '''block2item'''.
* In the file [https://gitlab.com/MRAAGH/aagrinder/-/raw/main/public/gamelogic.js gamelogic.js] you can find the function '''isEnterable''' which determines which blocks the player can walk through, '''isUndigabble''' which determines which blocks can not normally be broken and more.
+
* In the file [https://gitlab.com/MRAAGH/aagrinder/-/blob/main/shared/gamelogic.js gamelogic.js] you can find the function '''isEnterable''' which determines which blocks the player can walk through, '''isUndigabble''' which determines which blocks can not normally be broken and more.

Latest revision as of 19:13, 9 April 2024

The block list has been removed from this wiki because it changes too often for the wiki to keep up.

To learn about existing blocks in the newest version of AAGRINDER, follow these steps:

  • In the file sprites.js you can find a list of all blocks that can be displayed.
  • In the file inventory.js you can find a list of all items and their names, as well as the conversion functions item2block and block2item.
  • In the file gamelogic.js you can find the function isEnterable which determines which blocks the player can walk through, isUndigabble which determines which blocks can not normally be broken and more.