diff options
author | RealBadAngel <mk@realbadangel.pl> | 2013-07-19 19:50:33 +0200 |
---|---|---|
committer | RealBadAngel <mk@realbadangel.pl> | 2013-07-20 20:34:11 +0200 |
commit | d19c8b815dc137ea4c19e5f5a54c40693059b455 (patch) | |
tree | d52a03f8357a0c76c2c8df259572e089cf5852c7 /src/content_sao.h | |
parent | ab145c8827504b2b3c897c46e9e7df32cf6324a4 (diff) | |
download | minetest-d19c8b815dc137ea4c19e5f5a54c40693059b455.tar.gz minetest-d19c8b815dc137ea4c19e5f5a54c40693059b455.tar.bz2 minetest-d19c8b815dc137ea4c19e5f5a54c40693059b455.zip |
Add set_breath and get_breath to lua API.
Diffstat (limited to 'src/content_sao.h')
-rw-r--r-- | src/content_sao.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/content_sao.h b/src/content_sao.h index dca02bb00..bfce83d02 100644 --- a/src/content_sao.h +++ b/src/content_sao.h @@ -162,7 +162,8 @@ public: void rightClick(ServerActiveObject *clicker); s16 getHP() const; void setHP(s16 hp); - + u16 getBreath() const; + void setBreath(u16 breath); void setArmorGroups(const ItemGroupList &armor_groups); void setAnimation(v2f frame_range, float frame_speed, float frame_blend); void setBonePosition(std::string bone, v3f position, v3f rotation); @@ -282,6 +283,7 @@ public: bool m_moved; bool m_inventory_not_sent; bool m_hp_not_sent; + bool m_breath_not_sent; bool m_wielded_item_not_sent; float m_physics_override_speed; |