Yup, the crash is confirmed and should be fixed in rev 1483. I managed to swap the logging parameters, so it was trying to read a string out of a number.
The C++ code uses tables defined in BlockID.h for these properties:
(05-16-2013, 12:50 AM)STR_Warrior Wrote: Is there a way to see if a block is transparant or not? just like ItemCategory.
The C++ code uses tables defined in BlockID.h for these properties:
NIBBLETYPE g_BlockLightValue[256]; NIBBLETYPE g_BlockSpreadLightFalloff[256]; bool g_BlockTransparent[256]; bool g_BlockOneHitDig[256]; bool g_BlockPistonBreakable[256]; bool g_BlockIsSnowable[256]; bool g_BlockRequiresSpecialTool[256]; bool g_BlockIsSolid[256];These are not accessible in Lua, but it would be a good idea to export them, so if you want, add a few functions to the ItemCategory and export them.