-
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
Jsonize autodoc couch #36200
Jsonize autodoc couch #36200
Conversation
I'm not against jsonizing, of course, but autodoc couch isn't any couch or sofa you find in nearest house, it has several specific features (like hand wraps or integrated machinery or complex electronics connected to the autodoc) in it. I'm not sure if it would be possible to mod some other furniture to simulate it being the proper autodoc couch. |
Does it mean we can hope for mobile vechicle versions of autodoc in the future? |
No, vehicle part are something else, and would require a whole bunch of new code. But you can make a craftable item that deploys into an autodoc if you want. It might work with just one furniture that has both the flag and the examine action, and if it doesn't you would need two furniture: a console and a couch. |
"activity_handlers.cpp" Also consider removing the global variable |
Co-Authored-By: BevapDin <tho_ki@gmx.de>
Summary
SUMMARY: Infrastructure "Jsonize autodoc couch"
Purpose of change
Code was checking for the furniture id to find the couch, now it checks for a flag
Describe the solution
Check for AUTODOC_COUCH flag instead of f_autodoc_couch furniture id
Check for AUTODOC flag instead of f_autodoc furniture id
Describe alternatives you've considered
Testing
Give autodoc iexamine to armchair
Give AUTODOC to armchair
Give AUTODOC_COUCH to domestic plant
Stand on plant
Examine armchair
Start installing CBMs
Additional context
This would make moding autodocs easier