mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Add liquid_renewable property.
This commit is contained in:
parent
9696ed31a4
commit
926830e0df
5 changed files with 10 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue