mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-22 17:18:39 +00:00
Customizeable max breath for players (#6411)
* Customizeable maximal breath for players
This commit is contained in:
parent
7640749d68
commit
edbc533414
11 changed files with 57 additions and 47 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue