Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add KISItem attach mode that allows specific attach tools only #126

Open
ihsoft opened this issue Apr 30, 2016 · 2 comments
Open

Add KISItem attach mode that allows specific attach tools only #126

ihsoft opened this issue Apr 30, 2016 · 2 comments

Comments

@ihsoft
Copy link
Owner

ihsoft commented Apr 30, 2016

May be useful for other modders. There are some mods already that introduce own attach tools but they, in fact, work as usual KIS tools which is not fun.

Can be done by extending ModuleKISItem.ItemAttachMode with new value and introducing an extra field to specify names of allowed tools.

@ihsoft ihsoft changed the title Add Item attach mode that allows only tools only Add KISItem attach mode that allows specific attach tools only Apr 30, 2016
@enceos
Copy link

enceos commented Apr 30, 2016

As far as I know this was already done and it worked in 1.0.5 for the Hammer tool from ExtraplanetaryLaunchpads. The survey stakes allowed to attach themselves to the ground only via hammer.

@ihsoft
Copy link
Owner Author

ihsoft commented Apr 30, 2016

Hammer in EL has just a slightly different set of flags but in any other means it's a usual KIS attachment tool.

toolPartAttach = true
toolStaticAttach = true
toolPartStack = false

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants