Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid field inventory_image Error #5

Open
Vitexus opened this issue Nov 8, 2020 · 1 comment
Open

Invalid field inventory_image Error #5

Vitexus opened this issue Nov 8, 2020 · 1 comment

Comments

@Vitexus
Copy link

Vitexus commented Nov 8, 2020

Hallo, there is error related with luanti-org/luanti#9950

Could you please hotfix it ?

2020-11-08 14:50:14: WARNING[Main] Node 'light_source' value exceeds maximum, limiting to maximum: nssb:marine_meselamp 
2020-11-08 14:50:14: WARNING[Main] Node 'light_source' value exceeds maximum, limiting to maximum: nssb:morlamp 
2020-11-08 14:50:14: ERROR[Main] Invalid field inventory_image (expected string got table). 
2020-11-08 14:50:14: ERROR[Main] stack traceback: 
2020-11-08 14:50:14: ERROR[Main]        [C]: in function 'register_item_raw' 
2020-11-08 14:50:14: ERROR[Main]        /usr/share/games/minetest/builtin/game/register.lua:182: in function 'register_item' 
2020-11-08 14:50:14: ERROR[Main]        /usr/share/games/minetest/builtin/game/register.lua:208: in function 'register_node' 
2020-11-08 14:50:14: ERROR[Main]        /usr/share/games/minetest/mods/nssb/nodes.lua:115: in main chunk 
2020-11-08 14:50:14: ERROR[Main]        [C]: in function 'dofile' 
2020-11-08 14:50:14: ERROR[Main]        /usr/share/games/minetest/mods/nssb/init.lua:4: in main chunk 
2020-11-08 14:50:14: ERROR[Main] Invalid field inventory_image (expected string got table). 
2020-11-08 14:50:14: ERROR[Main] stack traceback: 
2020-11-08 14:50:14: ERROR[Main]        [C]: in function 'register_item_raw' 
2020-11-08 14:50:14: ERROR[Main]        /usr/share/games/minetest/builtin/game/register.lua:182: in function 'register_item' 
2020-11-08 14:50:14: ERROR[Main]        /usr/share/games/minetest/builtin/game/register.lua:208: in function 'register_node' 
2020-11-08 14:50:14: ERROR[Main]        /usr/share/games/minetest/mods/nssb/nodes.lua:130: in main chunk 
2020-11-08 14:50:14: ERROR[Main]        [C]: in function 'dofile' 
2020-11-08 14:50:14: ERROR[Main]        /usr/share/games/minetest/mods/nssb/init.lua:4: in main chunk 
2020-11-08 14:50:14: WARNING[Main] Field "tile_images": Deprecated; new name is "tiles". 

@mckaygerhard
Copy link

mckaygerhard commented Jul 27, 2022

mckaygerhard referenced this issue in minenux/minetest-mod-nssb Jul 27, 2022
…nctions and ores

* optimized ore generation by removing iterations and using stratum feature
  as note this feature are only from 5.0 as documented and check in
  luanti-org/luanti@9f6d90a
  this was a good move by tenplus cos works as a unique plain layer cos
  creates single undulating ore stratum that is continuous across mapchunk
  borders and horizontally spans the world, as a layer..
  the ore type its used only on the generation of the space of the 7 layers
  that defines the morlendor space, before and after there are indestructible ones
* this is a merge of two optimizations commits:
  the commit 26c8022
  and commit f728f41
  later i added a next commit with a compatibility hack for 0.4 engines
* merge the initial "optimization" that only removed more of the
  generation of ore nodes in the morlendor space  that is
  a merge of commit f728f41
  with cosmetics changes that just difficult the comparison of code forks
* adde configuration of the level of the morlendor layer,
  make it compatible with other mods like cavereamls and nether
  TODO: added a detection of those levels to auto configure morlendor
* use newer funcions of commit ee84ab5
  change `minetest.env:get_node` by `minetest.get_node` so 0.4.15 its minimal
  change `tile_images` of `minetest.register_node` by `tile`
  change `alpha = 650` of `minetest.register_node` by `use_texture_alpha = "blend",`
  change `obj:setpos` by `obj:set_pos` of previous commit
* add changelog updated and cosmetic changes by tenplus1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants