-
Notifications
You must be signed in to change notification settings - Fork 516
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
Refactors cargo to reside in the codebase #20030
base: master
Are you sure you want to change the base?
Conversation
!review |
Co-authored-by: Fluffy <[email protected]> Signed-off-by: naut <[email protected]>
code/modules/modular_computers/file_system/programs/civilian/cargo_order.dm
Outdated
Show resolved
Hide resolved
code/modules/modular_computers/file_system/programs/civilian/cargo_order.dm
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks good enough for a testmerge to me
MD to determine if we should deviate from the established position that cargo data is stored in the db |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thank u sammy!! i support this change
NOTE TO SYSADMINS: This PR makes the Cargo SQL file(s) stored online redundant. They should be removed.
Moves the data containing cargo items (i.e. the ones you order from ops and get in the cargo shuttle) from the online database to the codebase. Everything from suppliers to categories to individual items is now code-side and editable by developers/contributors.
Refactors cargo items to use
singletons
instead ofdatums
forcargo_supplier
,cargo_category
, andcargo_item
. Multiple-instnace things like cargo_orders, etc. still usedatums
.Fixed a bunch of strange discrepancies in categories, suppliers, and pricing for various cargo items. I did a little bit, but it's exhausting to go through all of it right now.
Clicking the 'Details' button on the Cargo Order app now actually gives you details instead of bluescreening. Also added some UI elements to the Cargo Order app - Cargo Control and Delivery remain untouched.
Overhauled the Cargo Order console TGUI window. It now has tabs on the left, displays restricted access, supplier information, and boasts search functionality.
This PR has a lot of moving parts, and would probably be best suited for a testmerge to iron out any possible hiccups.