A turret docked to a ship docked to a rail (with a permission block) will make it so that the turret gets the faction from the factioned ship which the ship is docked to.
Description
Details
- Task Type
- Bug
- Affected Gamemode(s)
- Multiplayer
- Reproducible
- Yes
- Last tested (version)
- V0.19592
- Category
- none/unspecified
- OS-Specific
- No
- Hardware-Specific
- No
- Video Card Vendor
- NVIDIA
- Video Card Model
- Geforce GTX 860M
Make a station with a faction, create a rail with a permission block attached to the station granting access to unfactioned ships.
Dock an unfactioned ship to the factioned ship, make sure to add a turret dock to said ship
Dock a turret to the ship, once you leave the turret (hopefully) you will find that the turret has adopted the factioned ship's faction.
This can be undone by undocking the ship from the station.
I apologise for not providing extra information regarding Java version and server info, I do not know how to get the information.
Edit: just noticed someone was building on the factioned ship that the ship with the turret was docked to.
changed station to factioned ship
<replace this line with the file content>
<replace this line with the file content>
Event Timeline
-Rejected-
Cannot reproduce.
Tried to reproduce that, however the mechanic is currently as follows:
If an entity has no faction module, or the faction module was never touched (spawn with faction, but never actually activated the module), it will inherit the faction of the parent entity all the time, *except* in the case when a "public permission module" is beside the rail its raildocker is docked to.
If and entity has been actively factioned, by activating the faction module and hitting the button _enter faction signature_ it will not inherit the faction and keep its own setting.
So all entities that never got a faction set will follow the inheritance, as they act if they have no faction module at all.
The only drawback for this is:
If you are not in a faction, and dock to a factioned station, and your parking position is *not on a rail with public permission module* the station will write its faction signature to the entity.
Also a mechanic you should be aware of:
The soft-faction is also applied when docking a ship, without a set faction, while being in a faction.
(Example: core + raildocker docked by a player in a faction, will get the player faction without faction module, but only if the parent is in the same faction)