mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Make liquid_alternative_* to be strings
This commit is contained in:
parent
18bb0ea1ea
commit
e5650bb549
6 changed files with 33 additions and 32 deletions
|
@ -609,11 +609,11 @@ static int l_register_node(lua_State *L)
|
|||
f.liquid_type = (LiquidType)getenumfield(L, table0, "liquidtype",
|
||||
es_LiquidType, LIQUID_NONE);
|
||||
// If the content is liquid, this is the flowing version of the liquid.
|
||||
// TODO: as name
|
||||
// content_t liquid_alternative_flowing;
|
||||
getstringfield(L, table0, "liquid_alternative_flowing",
|
||||
f.liquid_alternative_flowing);
|
||||
// If the content is liquid, this is the source version of the liquid.
|
||||
// TODO: as name
|
||||
// content_t liquid_alternative_source;
|
||||
getstringfield(L, table0, "liquid_alternative_source",
|
||||
f.liquid_alternative_source);
|
||||
// Viscosity for fluid flow, ranging from 1 to 7, with
|
||||
// 1 giving almost instantaneous propagation and 7 being
|
||||
// the slowest possible
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue