REQUEST faction tools and relationships
Open
Nobody has claimed this yet.
- Dominant language
- Lua
- Stars
- 869
- Forks
- 222
- Avg merge
- 18h 33m
- Merged PRs (30d)
- 1
Description
Can you make the following functions available for LUA scripting ? Thanks.
- table function getAllFactionNames() : This functions gets a table with all factions names.
- table function getAllFactionIds() : This functions gets a table with all factions ids.
- boolean function isFriendly(number factionId, number factionId) : This function returns true if the two factions are friendly (no need for spaceobject).
- boolean function isEnemy(number factionId, number factionId) : This function returns true if the two factions are enemies (no need for spaceobject).
- void function setRelationship(number factionId, number factionId, string relationship) : This function sets the relationship between two factions ("friendly","enemy","neutral") without using spaceobjects.
- string function getRelationship(number factionId, number factionId) : This function gets the relationship between two factions ("friendly","enemy","neutral") without using spaceobjects.
- void function setFactionColor(number factionId, number red, number green, number blue) : This function sets the color of the faction.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the Lua scripting API and the existing faction and relationship handling in EmptyEpsilon. Compare the available API with the seven requested functions; done means each function is exposed to Lua and supports the stated faction names, IDs, relationships, and colors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua
- Domain
- game-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100