no_collection items in collection_pool & card_collection_UIBox#993
no_collection items in collection_pool & card_collection_UIBox#993TheOneGoofAli wants to merge 0 commit into
Conversation
|
Code looks good, but I'm not sure I understand the purpose of something like this. Do you have a specific use case in mind? |
|
Some mods may want to hide the items from the main collection pages, but not from custom-called ones could be one such use case I thought of during the initial commit. Fulfilling the thought, perhaps additionally a |
|
I agree with the goal, but maybe a separate function to collect stuff with ex. no_collection = true, or some other condition, would be more general. |
|
Speaking of Take a look at the following example (a streak defined as a seal in my mod): sgt_black_streak_seal = {
name = "Black Streak",
text = {
"{X:dark_edition,C:white}^^#1#{} Mult",
},
hidden_text = {
"Require {C:attention}Talisman{}'s",
"hyperoperator calculation"
},
}, |
|
...I accidentally discarded the commits on my fork as I used the "main" branch for the original PR... and I lost the original files for this, so, I may re-submit this PR later. |
SMODS.card_collection_UIBox & SMODS.collection_pool now have an argument option to show/gather items that use no_collection.
Additional Info: