Files
asphyxia_plugins/sdvx@asphyxia/webui/profile_-premium generator.pug
T
2022-10-17 19:33:03 +08:00

38 lines
1.3 KiB
Plaintext

//DATA//
prem_items_crew: DB.Find(refid, {collection:"item",type:11,id:131})
prem_items_stamp: DB.Find(refid, { collection:"item",type:17 })
prem_items_subbg: DB.Find(refid, { collection:"item",type:18 })
prem_items_bgm: DB.Find(refid, { collection:"item",type:19 })
prem_items_nemsys: DB.Find(refid, { collection:"item",type:20 })
unlock_all: U.GetConfig('unlock_all_valk_items')
-
//const padded = _.padStart(profile.id.toString(), 8);
//const sdvxid = `${padded.slice(0, 4)}-${padded.slice(4)}`;
link(rel="stylesheet" href="static/asset/css/datatables.css")
div
.card
.card-header
p.card-header-title
span.icon
i.mdi.mdi-account-edit
| Premium Generator
.card-content
input.input(type="text" name="refid", value=refid readonly)
button(id="pregene-roll") Roll
div.count()
div.item_banners()
div(hidden id='data-pass-crew') !{JSON.stringify(prem_items_crew)}
div(hidden id='data-pass-stamp') !{JSON.stringify(prem_items_stamp)}
div(hidden id='data-pass-subbg') !{JSON.stringify(prem_items_subbg)}
div(hidden id='data-pass-bgm') !{JSON.stringify(prem_items_bgm)}
div(hidden id='data-pass-nemsys') !{JSON.stringify(prem_items_nemsys)}
div(hidden id='data-pass-unlock-all') !{unlock_all}
script(src="static/asset/js/premiumgenerator.js")