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

[Remove] No Pride O Mat / Прайдомат был удален #84

Merged
merged 19 commits into from
Oct 23, 2024

Conversation

Spatison
Copy link
Member

@Spatison Spatison commented Oct 10, 2024

Описание PR

Откат коммита с добавлением прайдомата и замена всех прайдоматов на картах


Изменения

🆑 Spatison

  • remove: Delete Prido-O-Mat / Удален прайдомат

Copy link
Contributor

coderabbitai bot commented Oct 10, 2024

Walkthrough

This pull request involves the deletion of multiple files related to vending machines, specifically those associated with Pride-themed products. The changes include the removal of localization entries, entity definitions, and metadata files that pertain to various vending machine functionalities and configurations. Additionally, new mappings have been added to the migration files to establish relationships between VendingMachinePride and other entities.

Changes

File Path Change Summary
Resources/Locale/en-US/deltav/prototypes/catalog/cargo/cargo-vending.ftl Removed localization entry for "Crate Vending Machine Restock Pride."
Resources/Locale/en-US/deltav/prototypes/catalog/fills/crates/vending-crates.ftl Removed localization strings for "Pride-O-Mat restock crate."
Resources/Prototypes/DeltaV/Catalog/Cargo/cargo_vending.yml Removed cargo product definition for CrateVendingMachineRestockPride.
Resources/Prototypes/DeltaV/Catalog/Fills/Crates/vending.yml Removed entity definition for CrateVendingMachineRestockPrideFilled and added property noSpawn: true.
Resources/Prototypes/DeltaV/Catalog/VendingMachines/Advertisements/pride.yml Removed advertisement message packs related to the vending machine.
Resources/Prototypes/DeltaV/Catalog/VendingMachines/Inventories/pride.yml Removed inventory configuration for PrideDrobeInventory.
Resources/Prototypes/DeltaV/Entities/Objects/Specific/Service/vending_machine_restock.yml Removed definitions for restocking entities, including BaseVendingMachineRestockDeltaV and VendingMachineRestockPride.
Resources/Prototypes/DeltaV/Entities/Structures/Machines/vending_machines.yml Removed definitions for vending machines VendingMachinePride and VendingMachineCourierDrobe.
Resources/Textures/DeltaV/Objects/Specific/Service/vending_machine_restock.rsi/meta.json Removed metadata for the vending machine restock object.
Resources/Textures/DeltaV/Structures/Machines/VendingMachines/pride.rsi/meta.json Removed metadata for the Pride vending machine asset.
Resources/Migrations/whiteMigration.yml Added mapping from VendingMachinePride to VendingMachineCola.
Resources/Migrations/migration.yml Introduced new mappings including VendingMachinePride to RandomVending and various entities to null.

Suggested labels

Changes: C#

Suggested reviewers

  • Remuchi

📜 Recent review details

Configuration used: CodeRabbit UI
Review profile: CHILL

📥 Commits

Files that changed from the base of the PR and between e639e0e and 05c101a.

📒 Files selected for processing (1)
  • Resources/Migrations/migration.yml (1 hunks)
🚧 Files skipped from review as they are similar to previous changes (1)
  • Resources/Migrations/migration.yml

Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Contributor

RSI Diff Bot; head commit 6f19f6f merging into 4c2f775
This PR makes changes to 1 or more RSIs. Here is a summary of all changes:

Resources/Textures/DeltaV/Objects/Specific/Service/vending_machine_restock.rsi

State Old New Status
base Removed
green_bit Removed
inhand-left Removed
inhand-right Removed
refill_pride Removed

Resources/Textures/DeltaV/Structures/Machines/VendingMachines/pride.rsi

State Old New Status
broken Removed
normal-unshaded Removed
off Removed
panel Removed

@Spatison Spatison changed the title [Remove] No Pride O Mat [Remove] No Pride O Mat / Прайдомат был удален Oct 10, 2024
@Spatison Spatison self-assigned this Oct 10, 2024
@Spatison Spatison requested a review from Remuchi October 10, 2024 21:41
@Remuchi
Copy link
Collaborator

Remuchi commented Oct 11, 2024

Не удаляй его из билда. Вместо этого используй migrations.yml

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

📥 Commits

Files that changed from the base of the PR and between 6f19f6f and 3eb3413.

📒 Files selected for processing (1)
  • Resources/Migrations/whiteMigration.yml (1 hunks)
🧰 Additional context used
🪛 yamllint
Resources/Migrations/whiteMigration.yml

[error] 2-2: no new line character at the end of file

(new-line-at-end-of-file)

Resources/Migrations/whiteMigration.yml Outdated Show resolved Hide resolved
@Remuchi
Copy link
Collaborator

Remuchi commented Oct 11, 2024

не надо по это делать отдельный файл WhiteMigrations. AFAIK миграции работают только из основного файла migrations.yml. Туда и дописывай.

@PuroSlavKing
Copy link
Member

  • Пусть он лучше заменяется на случайный спавнер вендинговых автоматов, кола заебала
  • Нужен NoSpawn в прототипе, что-бы даже не думали ставить это на картах

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

🧹 Outside diff range and nitpick comments (1)
Resources/Migrations/migration.yml (1)

258-260: LGTM. Consider community feedback for future improvements.

The changes align with the PR objectives by removing the Pride-themed vending machines:

  1. VendingMachinePride is replaced with RandomVending, maintaining gameplay elements while removing the specific theme.
  2. VendingMachineRestockPride is removed entirely.

These modifications effectively implement the requested changes using the migrations.yml file, as suggested in the PR comments.

For future consideration:

  1. Evaluate the suggestion from PuroSlavKing about implementing a "NoSpawn" feature for more granular control over vending machine placement.
  2. Consider developing a more flexible system for themed vending machines that can be easily toggled or randomized based on server preferences.
📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

📥 Commits

Files that changed from the base of the PR and between 3eb3413 and d558708.

📒 Files selected for processing (4)
  • Resources/Migrations/migration.yml (1 hunks)
  • Resources/Prototypes/DeltaV/Catalog/Cargo/cargo_vending.yml (0 hunks)
  • Resources/Prototypes/DeltaV/Catalog/Fills/Crates/vending.yml (1 hunks)
  • Resources/Prototypes/DeltaV/Entities/Structures/Machines/vending_machines.yml (1 hunks)
💤 Files with no reviewable changes (1)
  • Resources/Prototypes/DeltaV/Catalog/Cargo/cargo_vending.yml
🚧 Files skipped from review as they are similar to previous changes (2)
  • Resources/Prototypes/DeltaV/Catalog/Fills/Crates/vending.yml
  • Resources/Prototypes/DeltaV/Entities/Structures/Machines/vending_machines.yml
🧰 Additional context used

Copy link
Contributor

This pull request has conflicts, please resolve those before we can evaluate the pull request.

@Remuchi
Copy link
Collaborator

Remuchi commented Oct 22, 2024

@Spatison build fail legit.
После фикса можно мержить

@Remuchi Remuchi merged commit ccc5666 into master Oct 23, 2024
10 checks passed
@Remuchi Remuchi deleted the no-pride-o-mat branch October 23, 2024 03:35
Spatison pushed a commit that referenced this pull request Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants