mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-14 00:55:20 +02:00
Customizeable max breath for players (#6411)
* Customizeable maximal breath for players
This commit is contained in:
@@ -27,11 +27,12 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
|
||||
struct ObjectProperties
|
||||
{
|
||||
// Values are BS=1
|
||||
s16 hp_max = 1;
|
||||
u16 breath_max = 0;
|
||||
bool physical = false;
|
||||
bool collideWithObjects = true;
|
||||
float weight = 5.0f;
|
||||
// Values are BS=1
|
||||
aabb3f collisionbox = aabb3f(-0.5f, -0.5f, -0.5f, 0.5f, 0.5f, 0.5f);
|
||||
aabb3f selectionbox = aabb3f(-0.5f, -0.5f, -0.5f, 0.5f, 0.5f, 0.5f);
|
||||
bool pointable = true;
|
||||
|
Reference in New Issue
Block a user