@energy8platform/platform-core 0.30.4 → 0.30.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/game-spec.d.ts +4 -0
- package/package.json +1 -1
- package/src/game-spec/types.ts +4 -0
package/dist/game-spec.d.ts
CHANGED
|
@@ -91,6 +91,10 @@ interface ActionSpec {
|
|
|
91
91
|
/** Shell display for buy/feature actions (SSOT). */
|
|
92
92
|
title?: string;
|
|
93
93
|
description?: string;
|
|
94
|
+
/** Transparent hero art for the top of the buy/feature card (no background plate). Forwarded
|
|
95
|
+
* verbatim to `BonusOption.thumbnail` by `toBonusOptions` — the shell loads it as-is (pixi
|
|
96
|
+
* `Assets.load`, html `<img src>`), so it's the same path/URL a static `thumbnail` would take. */
|
|
97
|
+
art?: string;
|
|
94
98
|
/** Volatility rating (1–5 lightning bolts) shown on the buy/feature card in the shell's Buy bonus
|
|
95
99
|
* overlay. Forwarded to `BonusOption.volatility` by `toBonusOptions`. */
|
|
96
100
|
volatility?: 1 | 2 | 3 | 4 | 5;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@energy8platform/platform-core",
|
|
3
|
-
"version": "0.30.
|
|
3
|
+
"version": "0.30.5",
|
|
4
4
|
"description": "Energy8 platform core: Lua engine, DevBridge, RTP simulation, and SDK session orchestration. Renderer-agnostic — pair with any game framework (Pixi, Phaser, Three.js, custom).",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs.js",
|
package/src/game-spec/types.ts
CHANGED
|
@@ -23,6 +23,10 @@ export interface ActionSpec {
|
|
|
23
23
|
/** Shell display for buy/feature actions (SSOT). */
|
|
24
24
|
title?: string;
|
|
25
25
|
description?: string;
|
|
26
|
+
/** Transparent hero art for the top of the buy/feature card (no background plate). Forwarded
|
|
27
|
+
* verbatim to `BonusOption.thumbnail` by `toBonusOptions` — the shell loads it as-is (pixi
|
|
28
|
+
* `Assets.load`, html `<img src>`), so it's the same path/URL a static `thumbnail` would take. */
|
|
29
|
+
art?: string;
|
|
26
30
|
/** Volatility rating (1–5 lightning bolts) shown on the buy/feature card in the shell's Buy bonus
|
|
27
31
|
* overlay. Forwarded to `BonusOption.volatility` by `toBonusOptions`. */
|
|
28
32
|
volatility?: 1 | 2 | 3 | 4 | 5;
|