pioneerspacesim/pioneer — pull request #1568 by fluffyfreak (2012-10-03 19:28:42+00:00)
Title: New LuaFaction object as part of LuaStarSystem

# Description
This adds the faction data to the LuaStarSystem so that it can be accessed for any Star System you're able to access normally.

I've never added anything of significance to the Lua systems before so this should receive some serious scrutiny. I followed the description at the top of LuaObject as best I could and I've tested it but things like the "l_faction_attr_colour" function don't look correct to me so let me know asap if it's something that I can correct or modify ;)

# Commits
New LuaFaction files, initial commit of those.
Register the new Lua class and expose it via LuaStarSystem.
Had to change the const-ness of the faction returned form GetFaction.