1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Fix give_initial_stuff mod; experimental mod: dug_item -> drop; scriptapi.cpp: drops -> drop

This commit is contained in:
Kahrl 2012-01-22 15:57:49 +01:00 committed by Perttu Ahola
parent 00bc9a8678
commit 0a426f3592
3 changed files with 9 additions and 9 deletions

View file

@ -888,11 +888,11 @@ static ContentFeatures read_content_features(lua_State *L, int index)
warn_if_field_exists(L, index, "light_propagates",
"deprecated: determined from paramtype");
warn_if_field_exists(L, index, "dug_item",
"deprecated: use 'drops' field");
"deprecated: use 'drop' field");
warn_if_field_exists(L, index, "extra_dug_item",
"deprecated: use 'drops' field");
"deprecated: use 'drop' field");
warn_if_field_exists(L, index, "extra_dug_item_rarity",
"deprecated: use 'drops' field");
"deprecated: use 'drop' field");
// True for all ground-like things like stone and mud, false for eg. trees
getboolfield(L, index, "is_ground_content", f.is_ground_content);