-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Vehicle parts requiring 0 or 1 mechanics still require 2 to uninstall. #19863
Comments
The best solution IMO is updating vehicle part definitions (see #19407, which is a specific case of this issue, for more info), preferably by making use of |
Hmmmm. I can probably get on that. My PC is semi-broken right now and I probably couldn't compile the game, but this is definitely doable.
Keyspace-1 <[email protected]> wrote:
…`vpart_info::check()` [sets the minimum removal skill](https://github.com/CleverRaven/Cataclysm-DDA/blob/master/src/veh_type.cpp#L346) to 2 for "legacy" parts. These are all parts by default, [except for those that set `requirements`](https://github.com/CleverRaven/Cataclysm-DDA/blob/master/src/veh_type.cpp#L203) in JSON.
The best solution IMO is updating vehicle part definitions (see #19407, which is a specific case of this issue, for more info), preferably by making use of `copy-from`, `extends`, etc. for less repetition.
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
#19863 (comment)
|
@Asmageddon you have mentioned in #19942 that
That is good news! Do consider pushing it to a branch and opening a provisional PR, like
(Check CONTRIBUTING.md if you haven't already.) EDIT: style |
BTW, have you verified that it works so far? |
Yeah, all I've got works. I'll finish the rest, I promise. I guess may as well try to do it right now even if anxiety murders me. |
Oh by the way, I'm changing the removal level requirement. Namely:
I have not done bolt/weld, so if anyone has an opinion to go ahead with this please tell me. I was so down when my big PR got rejected some ~2 years ago. |
(Looked up to get context.) Exactly why I suggested opening a [WIP] PR. Note the "IMO" in my comment above:
There are other possible approaches! There are over 300 parts currently in the core pack. Many of them don't need direct These are just two that would benefit from being separate PRs if no overwhelming approval is reached beforehand. |
Yeah but I already did some of this n.n I'll just ask @kevingranade for permission before proceeding further and otherwise undo the changes I already made. |
@Asmageddon what's the status of your work? |
@Night-Pryanik I'm sorry, I ended up giving up ages ago. It wasn't hard work, just fairly tedious, and anyone could probably do the same thing - it was just figuring out patterns to replace, doing search&replace or manually fixing stuff(I recall numbers, time things take I guess), and doublechecking it. I just struggle with a lot of mental illness and anxiety and motivation issues and never ended up doing it If you really want, I can try digging up the old files, but they'd probably have merge conflicts, by now. |
Well, I'd might take a look if you manage to find your files. |
I'm sorry, I didn't. I think I deleted them when cleaning up data from my old damaged HDD. I have partial notes, but I've deleted ones about the changes I already applied, so... whoever does this would likely have to do it from scratch anyway. From what I can gather from my notes and a quick look at the game files, I've:
I'm sorry that I don't have more, it's been so long since I've last done anything that it didn't even occur to me that the CDDA repo I've had was anything but a sad reminder of the times back when I still did some things... |
Since all vehicle parts are now refactored to use proper |
The only exception are frames, which appear to require 1, not sure about the other frame types.
I think that this is the primary cause of why training mechanics up to 2 is so agonizing.
The text was updated successfully, but these errors were encountered: