nuclearsilo583 / zephyrus-store-preview-new-syntax

My rewritten zephyrus store
61 stars 40 forks source link

Lootbox #173

Open rodopoulos1 opened 1 year ago

rodopoulos1 commented 1 year ago

How can i change lootbox? like to give coins?

        "Lootboxes"
        {
            "Clutch Wibu 30 Days Case"
            {
                "type"                      "lootbox"
                "price"                     "1500"
                "price_back"                "1500" // Must be same as price
                "sell_ratio"                "0.35" // sell ratio = price_back * sell_ratio ( this fix for items has plan since they have no sell price )
                "unique_id"                 "uid_Lootbox_wibu_14day"
                "time"                      "2592000" // Time for items of case
                "model"                     "models/props/crates/csgo_drop_crate_clutch.mdl" // check any models in pak_01.vpk // For l4d2 model: "models/items/l4d_gift.mdl"
                "sound"                     "ui/item_drop4_mythical.wav" // none is also usable
                "file"                      "particles/2j.pcf" // none is usable
                "name"                      "vixr_final" // depend on "file"
                "grey"                      "57.000000" // percentage on gery
                "blue"                      "25.000000" //
                "purple"                    "10.000000" //
                "red"                       "6.000000" //
                "gold"                      "2.000000" // Note grey, blue, purple, red, gold must have sum value at 100%
                "Items" // define items by "unique_id"
                {
                    "grey"                  "uid_model_banana_joe"
                    "grey"                  "uid_model_kim_jong_un"
                    "grey"                  "uid_model_banana_joe"
                    "grey"                  "uid_model_banana_joe"
                    "grey"                  "uid_model_kim_jong_un"
                    "grey"                  "uid_model_dead_pool"
                    "grey"                  "uid_model_patrick"
                    "grey"                  "uid_model_kim_jong_un"
                    "grey"                  "uid_model_shark"
                    "grey"                  "uid_model_shark"
                    "grey"                  "uid_model_banana_joe"
                    "grey"                  "uid_model_shark"
                    "grey"                  "uid_model_shark"
                    "blue"                  "uid_model_ram_neptune"
                    "blue"                  "uid_model_rom_neptune"
                    "blue"                  "uid_model_uni_neptunia"
                    "purple"                        "uid_model_fox_miku_skin3"
                    "purple"                        "uid_model_klee_genshin"
                    "red"                   "mini_touhou_skin9"
                    "red"                   "uid_model_kagura_nana_skin1"
                    "red"                   "uid_model_kagura_nana_skin2"
                    "red"                   "uid_model_kagura_nana_skin3"
                    "gold"                  "uid_model_padoru_skin1"
                    "gold"                  "uid_model_padoru_skin2"
                }
            }
        }
    }
nuclearsilo583 commented 1 year ago

Have you look at my config example folder