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

Option for full repair without a ToolKit #6549

Closed
abbioro opened this issue Aug 25, 2018 · 2 comments · Fixed by #7243
Closed

Option for full repair without a ToolKit #6549

abbioro opened this issue Aug 25, 2018 · 2 comments · Fixed by #7243
Labels
Milestone

Comments

@abbioro
Copy link

abbioro commented Aug 25, 2018

Similar to ace_pylons, would it be possible to add an option to be able to repair a vehicle without a ToolKit in the player's inventory? Currently only replacing wheels is possible without one.

@abbioro
Copy link
Author

abbioro commented Aug 25, 2018

To add to that, maybe an option to allow field repairs without a toolkit, but full repairs only with a toolkit.

For now my group is using this config override to get the behavior we want:

class ACE_Repair {
    class Actions {
        class ReplaceWheel;

        class MiscRepair: ReplaceWheel {
            items[] = {};
        };

        class FullRepair: MiscRepair {
            items[] = {"ToolKit"};
        };
    };
};

@abbioro
Copy link
Author

abbioro commented Aug 25, 2018

Actually I might try my hand at implementing this myself.

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

Successfully merging a pull request may close this issue.

4 participants