Editing Block list
From AAGRINDER wiki
Jump to navigationJump to searchWarning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
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/-/ | + | * 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/-/ | + | * 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/-/ | + | * 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. |