mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-27 17:28:41 +00:00
Add support for different drowning damage and allow drowning in other nodetypes
This commit is contained in:
parent
ba65e2ae6c
commit
7b13d119ed
7 changed files with 15 additions and 8 deletions
|
@ -228,7 +228,7 @@ struct ContentFeatures
|
|||
std::string freezemelt;
|
||||
// Number of flowing liquids surrounding source
|
||||
u8 liquid_range;
|
||||
bool drowning;
|
||||
u8 drowning;
|
||||
// Amount of light the node emits
|
||||
u8 light_source;
|
||||
u32 damage_per_second;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue