-
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
folding bicycle is dead. Long live Folding Bicycle #46805
Conversation
As far as I know there is unfortunately no way to reference a folded version of a vehicle from inside an item group and implementing one would probably be more effort than it is worth.
As far as I know there is unfortunately no way to reference a folded version of a vehicle from inside an item group and implementing one would probably be more effort than it is worth. So far I simply deleted the entry from item groups. Not sure what to replace this content with. |
All that is left it on the C++ side:
|
Yes. Definitely not flexible enough Cataclysm-DDA/src/item_factory.h Lines 43 to 62 in 0d85973
|
I think I mislabeled the issue as a |
So this PR prevents folding bicycles from spawning outside of a single profession's starting inventory? |
Good point. I should make the unfolded version spawn randomly somewhere. |
The hardest part is meeting my archenemy - c++ compilers and not running away screaming like a little girl. |
I came up with a simpler solution:
This has the downside of breaking existing folding bicycles, but the upside is less code to maintain. |
Let's move it post-0.F |
@hexagonrecursion is this still being worked on? |
No. Sorry. Anyone, fell free to pick this up. |
Summary
SUMMARY: Bugfixes "Reimplement folding bicycle as a regular foldable vehicle that follows the same rules as the rest"
Purpose of change
Fixes #46752
Fixes #28976
Fixes #39399
Folding bicycle was a flodable vehicle before flodable vehicles were implemented. Now we have a more general foldable vehicle system, but we are still keeping folding bicycle as a special case which follows different rules. It is time to reimplement folding bicycle as a regular foldable vehicle.
Describe the solution
Describe alternatives you've considered
Testing
none yet
Additional context
none