1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-14 17:15:21 +02:00

Add liquid_renewable property.

This commit is contained in:
Ilya Zhuravlev
2012-09-07 20:48:12 +04:00
parent 9696ed31a4
commit 926830e0df
5 changed files with 10 additions and 2 deletions

View File

@@ -1238,6 +1238,7 @@ static ContentFeatures read_content_features(lua_State *L, int index)
// the slowest possible
f.liquid_viscosity = getintfield_default(L, index,
"liquid_viscosity", f.liquid_viscosity);
getboolfield(L, index, "liquid_renewable", f.liquid_renewable);
// Amount of light the node emits
f.light_source = getintfield_default(L, index,
"light_source", f.light_source);