From fe494b0d3b40157ea40863299f65b1f790399f5b Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sun, 30 May 2004 01:21:28 +0000 Subject: [PATCH] lua-zugang zum Kampfstatus --- src/eressea/lua/unit.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/eressea/lua/unit.cpp b/src/eressea/lua/unit.cpp index db793a1c1..6c905022c 100644 --- a/src/eressea/lua/unit.cpp +++ b/src/eressea/lua/unit.cpp @@ -281,6 +281,7 @@ bind_unit(lua_State * L) .def_readonly("faction", &unit::faction) .def_readonly("id", &unit::no) .def_readwrite("hp", &unit::hp) + .def_readwrite("status", &unit::status) .def("get_item", &unit_getitem) .def("add_item", &unit_additem) .def("get_skill", &unit_getskill)