mirror of
https://github.com/DorkSquadRR/DorkNet.git
synced 2026-10-25 23:18:44 -07:00
feat: add endpoints to unlock all items for players, including cosmetics and hair dyes
This commit is contained in:
@@ -94,6 +94,13 @@ public class StoreService(DorkNetDbContext db, LevelService level, IConfiguratio
|
||||
("hairdye-pastel-pink", "Permanent Maker Mauve Hair Dye", "[hairdyepotionconsumable_pastelpink]", "G129V_kVXkSLN2OG8EjSqQ"),
|
||||
};
|
||||
|
||||
/// <summary>Every permanent hair-dye store slug — used by the admin
|
||||
/// "unlock all items" action to drop the whole hair-dye set into a
|
||||
/// player's <see cref="PlayerInventoryEntity"/> (hair dyes are owned as
|
||||
/// consumable slugs, not avatar GUIDs).</summary>
|
||||
public static IEnumerable<string> AllHairDyeSlugs =>
|
||||
PermanentHairDyes.Select(d => d.Slug);
|
||||
|
||||
private bool EnableWatchGiftDrops =>
|
||||
config.GetValue("Store:EnableWatchGiftDrops", true);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user