Spooky Doors launch pack (IAP side): door packs + Golden Doors, Promo tools card, season from Oct 4
- Visit packs get a placement: 'all' (as before), 'doors' (Behind Spooky Doors, doorPackCost 4/door) or
'golden' (Golden Spooky Door, goldenDoorCost 6/door). campaigns.placement column (alterSafe) + JSON store.
- Doors serve golden packs first, then door packs, then the existing chain; each pack at most once per
player per Central day. Door-only packs never reach the Earn tab, refuels or the PassiveDrip listing
until rates.sdSeasonEnd ('2026-11-01'); from then on they behave as 'all'.
- Door payloads: credits = per-door price actually charged (3/4/6); Golden Doors add golden: true and
bonus: goldenBonusCandy (2) to /api/door/open, done, callback and receipt. Gold variant of /door.
- Campaign list: Spooky Doors / Golden Door chip, doors opened + unique players, Buy more doors at the
door price. Composer: placement choice with live cost. Admin rates labels + house pack placement.
- Promo tools: Spooky Doors card (spookydoors.com/r/<username>, copy, share image, two posts) on the same
season window as the Games card (seasonState helper).
- Season start moved up to 2026-10-04 (Games card + promo card + chatbot).
- qa/door.mjs covers all of the above.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
+8
-2
@@ -33,10 +33,16 @@ body{margin:0;display:flex;flex-direction:column;background:var(--night);color:v
|
||||
.dr-msg p{margin:0;color:var(--muted);line-height:1.45}
|
||||
.dr-chip{display:inline-block;margin-left:6px;padding:2px 8px;border-radius:999px;background:rgba(20,11,36,.7);border:1px solid var(--line);color:var(--moon);font-size:12px;font-weight:600}
|
||||
a.dr-open{color:var(--moon);font-size:12px}
|
||||
/* Golden Door (2026-10-02): an advertiser's Golden Spooky Door, served before every other door, with bonus candy */
|
||||
.dr-gold{display:inline-block;margin-left:6px;padding:2px 9px;border-radius:999px;background:linear-gradient(135deg,#FFE27A,#FFB800);color:#3a2400;font-size:12px;font-weight:700;box-shadow:0 0 12px rgba(255,200,61,.6)}
|
||||
body.gold{--pumpkin:#FFC83D;--pumpkin-d:#A86F00;--line:#7A5A12}
|
||||
body.gold .dr-bar,body.gold .dr-dock{background:linear-gradient(90deg,#3B2A08,#241339 60%)}
|
||||
body.gold .dr-ring{box-shadow:0 0 18px rgba(255,200,61,.55)}
|
||||
body.gold #sdTitle{color:#FFE27A}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="dr-bar"><span>InstantAdPay · verified visit · <b>Spooky Doors</b><span class="dr-chip" id="sdDoors" hidden></span></span><span class="dr-url" id="sdUrl"></span></div>
|
||||
<div class="dr-bar"><span>InstantAdPay · verified visit · <b>Spooky Doors</b><span class="dr-chip" id="sdDoors" hidden></span><span class="dr-gold" id="sdGold" hidden>Golden Door!</span></span><span class="dr-url" id="sdUrl"></span></div>
|
||||
<div class="dr-frame" id="sdFrame"><div class="dr-msg"><div class="in"><h1>Knock knock</h1><p>Opening the door...</p></div></div></div>
|
||||
<div class="dr-dock" id="sdDock">
|
||||
<div class="dr-row" id="sdRow"><div class="dr-ring" id="sdRing"><span id="sdN">…</span></div><div><p><b id="sdTitle">Someone is coming to the door…</b></p><p id="sdHint">Stay on this page. The timer only runs while it is in front.</p><a class="dr-open" id="sdOpen" href="#" target="_blank" rel="noopener" hidden>Page not showing? Open it in a new tab (the timer keeps running here).</a></div></div>
|
||||
@@ -44,6 +50,6 @@ a.dr-open{color:var(--moon);font-size:12px}
|
||||
<button class="dr-btn" id="sdDone" type="button" disabled>Waiting…</button>
|
||||
<button class="dr-btn ghost" id="sdBack" type="button" hidden>Back to the street</button>
|
||||
</div>
|
||||
<script src="/assets/door.js?v=20261002b"></script>
|
||||
<script src="/assets/door.js?v=20261002g"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user