Difference between revisions of "Block list"

From AAGRINDER wiki
Jump to navigationJump to search
m (Added some informations.)
(Remove the list of blocks, add guidelines for how to figure it out on your own)
 
Line 1: Line 1:
This page describes the blocks that exist in AAGRINDER. The table specifies:
+
The block list has been removed from this wiki because it changes too often for the wiki to keep up.
* the appearance of the block
 
* the block code
 
* whether the block can be found naturally in the world
 
* whether the block is destructible in [[game modes|game mode 0]],
 
* the [[item list|item name and code]] of the item gained by breaking this block (if the block is destructible),
 
* some additional notes.
 
  
{| class="wikitable"
+
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.
! appearance !! code !! natural !! destructible !! item name !! item code !! notes
+
* 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/-/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.
| <span style="color:#7f7f7f">B</span> ||  B || yes || yes || stone                ||  B ||
 
|-
 
| <span style="color:#1a8239">A</span> ||  A || yes || yes || leaves                ||  A ||
 
|-
 
| <span style="color:#1a8239">A</span> ||  a0 || no || yes || leaves (non-decaying)    ||  A ||
 
|-
 
| <span style="color:#1a8239">A</span> ||  a1 || no || yes || leaves (decaying)    ||  A ||
 
|-
 
| <span style="color:#34962a">t</span> ||  t0 || no  || yes || tiny tree            ||  t || Tree sapling (first stage).
 
|-
 
| <span style="color:#2a8932">t</span> ||  t1 || no  || yes || tiny tree            ||  t || Tree sapling (second stage).
 
|-
 
| <span style="color:#1a8239">t</span> ||  t2 || no  || yes || tiny tree            ||  t || Tree sapling (third stage).
 
|-
 
| <span style="color:#91702a">H</span> ||  H || yes || yes || wood                  ||  H || Can be climbed.
 
|-
 
| <span style="color:#2faebf">D</span> ||  D || yes || yes || diamond              ||  D ||
 
|-
 
| <span style="color:#e0115f">R</span> ||  R1 || yes  || yes || ruby                  ||  R1 || Appears near diamonds.
 
|-
 
| <span style="color:#9f5f7f">B</span> ||  R0 || no  || yes || stone                ||  B || Appears near diamonds.
 
|-
 
| <span style="color:#e0115f">─</span> || =0-=f || no  || yes || cable                ||  = || Used for building circuits.
 
|-
 
| <span style="color:#e0115f">%</span> ||  % || no  || yes || crossing              ||  % || Used for building circuits.
 
|-
 
| <span style="color:#34962a">─</span> || -0--f || yes || yes || vine                  ||  - ||
 
|-
 
| <span style="color:#e0115f">S</span> ||  S0, S1 || no  || yes || switch                ||  S || Used for building circuits.
 
|-
 
| <span style="color:#7f7f7f">O</span> ||  O || no  || yes || button                ||  O || Used for building circuits.
 
|-
 
| <span style="color:#9e2929">M</span> ||  M || no  || yes || motor                ||  M || Used for building machines.
 
|-
 
| <span style="color:#2faebf">G</span> ||  G || no  || yes || [[grinder]]              ||  G || Used as a mining tool or for building machines.
 
|-
 
| <span style="color:#444444">G</span> ||  G# || no  || yes || GRINDER              ||  G# || Used as a mining tool or for building machines.
 
|-
 
| <span style="color:#333333">#</span> ||  # || no  || yes || spooky                ||  # || Gathered from ghost.
 
|-
 
| <span style="color:#8b5b6d">╳</span> || X0-X8 || yes || yes || coral                || X0-X8 || 9 colors. Pink is rare.
 
|-
 
| <span style="color:#7f7f7f">╳</span> ||  Xx || no  || yes || dead coral            ||  Xx || If coral is moved out of water.
 
|-
 
| <span style="color:#22227f">W</span> ||  W || yes || no || [[water]] || || Can be swum in.
 
|-
 
| W || WWW || yes || no || || || [[Portals#Natural_portals|Natural portal]].
 
|-
 
| " " || " " || yes || no || || || Air. Empty space.
 
|}
 

Latest revision as of 22:47, 14 August 2022

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.