lua: faction.options and faction.flags

This commit is contained in:
Enno Rehling 2005-12-31 13:39:55 +00:00
parent 104b64124f
commit e30c171995
1 changed files with 2 additions and 0 deletions

View File

@ -283,6 +283,8 @@ bind_faction(lua_State * L)
.def_readonly("name", &faction::name) .def_readonly("name", &faction::name)
.def_readonly("id", &faction::no) .def_readonly("id", &faction::no)
.def_readwrite("age", &faction::age) .def_readwrite("age", &faction::age)
.def_readwrite("options", &faction::options)
.def_readwrite("flags", &faction::flags)
.def_readwrite("subscription", &faction::subscription) .def_readwrite("subscription", &faction::subscription)
.def_readwrite("lastturn", &faction::lastorders) .def_readwrite("lastturn", &faction::lastorders)