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

(FEATURE) Subcategories and Plans - for Shop Items. #110

Open
nanociaglia opened this issue Nov 2, 2021 · 1 comment
Open

(FEATURE) Subcategories and Plans - for Shop Items. #110

nanociaglia opened this issue Nov 2, 2021 · 1 comment

Comments

@nanociaglia
Copy link

nanociaglia commented Nov 2, 2021

A good feature would be an option to create/add subcategories for shop items, and add plans to buy them.
Let's show you an example. The first image shows player models, and Custom Weapons (each separated by subcategories). The second image shows Plans.
(About subcategories, this is just an example, the main idea is making a way to add them for every single item possible)
Both features (sub-cats and plans) are currently added in Zephyrus Store.

Sub-Cats:
image

Plans:
image

@IL0co
Copy link
Collaborator

IL0co commented Mar 17, 2022

@nanociaglia, I understand correctly that "Plans" is a tab with a choice of item duration? The idea looks interesting. But there is a small problem, not all modules use the natives below, so I can download with confidence that this feature will not work in all plugins, although it will be written in their config...
https://github.com/FD-Forks/Shop-Core/blob/cc66a88e442915a5d07052b940e1a055fb935983/addons/sourcemod/scripting/include/shop/register.inc#L169
or
https://github.com/FD-Forks/Shop-Core/blob/cc66a88e442915a5d07052b940e1a055fb935983/addons/sourcemod/scripting/include/shop/items.inc#L228

If this feature is still in the interests, I can implement it, unsubscribe here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

3 participants