ianlucas / cs2-inventory-simulator

A Counter-Strike 2 Inventory Simulator
https://inventory.cstrike.app
MIT License
35 stars 13 forks source link

[REQ/RULE] Disallow craft of items from specific containers #118

Open crashzk opened 1 month ago

crashzk commented 1 month ago

Discussed in https://github.com/ianlucas/cs2-inventory-simulator/discussions/117

Originally posted by **crashzk** October 13, 2024 Sprays would have capsules for each of them, collection. ![image](https://github.com/user-attachments/assets/51db1a3e-d5ae-4b93-a2d2-c40362d75768) Checking the list of game items: https://raw.githubusercontent.com/ianlucas/cslib/main/assets/data/items.json We found all sprays, but I couldn't find the name of their capsules, would there be something like that in the game? In this case, I would like to leave some sprays deactivated for all users, however putting ID by ID of the graffiti would be more time consuming.
crashzk commented 1 month ago

Stickers, just to confirm, would that be right?

image

In this case, just create the rules for the names of their Containers, correct?

ianlucas commented 1 month ago

Stickers, just to confirm, would that be right?

image

In this case, just create the rules for the names of their Containers, correct?

Technically it would be the id of the container that includes that item in their contents list.