@dchighs/dc-config 0.1.150 → 0.1.151

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.
@@ -960,11 +960,11 @@ export interface FogIsland {
960
960
  squares: FogIslandSquare[];
961
961
  currencies: Currency[];
962
962
  rewards: FogIslandReward[];
963
- actions: Action[];
963
+ actions: ActionElement[];
964
964
  hints: Hint[];
965
965
  parameters: FogIslandParameter[];
966
966
  }
967
- export interface Action {
967
+ export interface ActionElement {
968
968
  id: number;
969
969
  type: string;
970
970
  tid_name: ActionTidName;
@@ -1136,7 +1136,7 @@ export interface GridIsland {
1136
1136
  encounters: Encounter[];
1137
1137
  enemies: EnemyElement[];
1138
1138
  currencies: Currency[];
1139
- actions: Action[];
1139
+ actions: ActionElement[];
1140
1140
  parameters: FogIslandParameter[];
1141
1141
  }
1142
1142
  export interface Decoration {
@@ -1147,7 +1147,7 @@ export interface Decoration {
1147
1147
  island_id: number;
1148
1148
  episode_id: number;
1149
1149
  }
1150
- export type File = "1x1_slot1" | "1x1_slot2";
1150
+ export type File = "1x1_slot1" | "1x1_slot2" | "1x1_mushroom1" | "1x1_mushroom2" | "1x1_lake_rock" | "2X1_plant2";
1151
1151
  export interface Encounter {
1152
1152
  id: number;
1153
1153
  enemies: number[];
@@ -1623,7 +1623,7 @@ export interface MazeIsland {
1623
1623
  encounters: Encounter[];
1624
1624
  enemies: EnemyElement[];
1625
1625
  happy_hours: unknown[];
1626
- actions: Action[];
1626
+ actions: ActionElement[];
1627
1627
  clouds: Cloud[];
1628
1628
  currencies: Currency[];
1629
1629
  parameters: FogIslandParameter[];
@@ -1708,15 +1708,16 @@ export interface MazeIslandReward {
1708
1708
  export interface News {
1709
1709
  "0": The0;
1710
1710
  "1": The1;
1711
- "2": The2;
1711
+ "2": The10;
1712
1712
  "3": The10;
1713
1713
  "4": The10;
1714
- "5": The10;
1714
+ "5": The5;
1715
1715
  "6": The6;
1716
- "7": The7;
1716
+ "7": The10;
1717
1717
  "8": The10;
1718
1718
  "9": The9;
1719
1719
  "10": The10;
1720
+ "11": The10;
1720
1721
  canvas: Canva[];
1721
1722
  }
1722
1723
  export interface The0 {
@@ -1745,9 +1746,8 @@ export interface The0_Slide {
1745
1746
  link_button_key: string;
1746
1747
  slide_type: string;
1747
1748
  slide_type_2: string;
1748
- timer?: string;
1749
- times_to_show?: number;
1750
- link_item_id?: number;
1749
+ timer: string;
1750
+ times_to_show: number;
1751
1751
  }
1752
1752
  export interface The1 {
1753
1753
  active_platforms: ValueClass;
@@ -1773,7 +1773,7 @@ export interface The1_HudButton {
1773
1773
  viral_icon_tier: number;
1774
1774
  }
1775
1775
  export interface The1_Slide {
1776
- content_localized_key?: string;
1776
+ content_localized_key: string;
1777
1777
  custom_title_localized_key: string;
1778
1778
  forceClose?: boolean;
1779
1779
  header_localized_key: string;
@@ -1822,26 +1822,7 @@ export interface The10 {
1822
1822
  slides: The1_Slide[];
1823
1823
  start_ts: string;
1824
1824
  }
1825
- export interface The2 {
1826
- active_platforms: ValueClass;
1827
- allow_island_tutorial: number;
1828
- assets_name: string;
1829
- direct_to_shop: number;
1830
- end_ts: string;
1831
- filter_category: null;
1832
- hud_button: The1_HudButton;
1833
- id: number;
1834
- label_text_tid: null;
1835
- label_title_tid: null;
1836
- min_level: number;
1837
- popup_frequency: string;
1838
- popup_type: string;
1839
- priority: null;
1840
- show_on_startup: number;
1841
- slides: The0_Slide[];
1842
- start_ts: string;
1843
- }
1844
- export interface The6 {
1825
+ export interface The5 {
1845
1826
  active_platforms: ValueClass;
1846
1827
  allow_island_tutorial: number;
1847
1828
  assets_name: string;
@@ -1861,7 +1842,7 @@ export interface The6 {
1861
1842
  slides: The1_Slide[];
1862
1843
  start_ts: string;
1863
1844
  }
1864
- export interface The7 {
1845
+ export interface The6 {
1865
1846
  active_platforms: ValueClass;
1866
1847
  allow_island_tutorial: number;
1867
1848
  assets_name: string;
@@ -1900,11 +1881,46 @@ export interface The9 {
1900
1881
  export interface Canva {
1901
1882
  id: number;
1902
1883
  assets_name: string;
1903
- start_ts: number;
1904
- end_ts: number;
1905
- min_level: number;
1906
- slides: The1_Slide[];
1907
- show_on_startup: number;
1884
+ start_ts: number | string;
1885
+ end_ts: number | string;
1886
+ min_level?: number;
1887
+ slides: CanvaSlide[];
1888
+ show_on_startup?: number;
1889
+ }
1890
+ export interface CanvaSlide {
1891
+ custom_title_localized_key?: string;
1892
+ header_localized_key?: string;
1893
+ image_url?: string;
1894
+ times_to_show?: number;
1895
+ type?: SlideType;
1896
+ multiple_buttons?: MultipleButton[];
1897
+ bg?: string;
1898
+ content?: Content[];
1899
+ edit_mode?: number;
1900
+ id?: number;
1901
+ title_key?: string;
1902
+ viral_icon_key?: string;
1903
+ viral_icon_timer?: string;
1904
+ }
1905
+ export interface Content {
1906
+ height: number;
1907
+ rotation: number;
1908
+ stroke?: string;
1909
+ text_color?: string;
1910
+ text_key: string;
1911
+ text_size?: number;
1912
+ timer?: number;
1913
+ type: string;
1914
+ width: number;
1915
+ x: number;
1916
+ y: number;
1917
+ action?: ContentAction;
1918
+ style?: string;
1919
+ }
1920
+ export interface ContentAction {
1921
+ itemId: string;
1922
+ storeCategory: number;
1923
+ type: string;
1908
1924
  }
1909
1925
  export interface Perks {
1910
1926
  abilities: Ability[];
@@ -2354,6 +2370,11 @@ export interface EffectParameters {
2354
2370
  tickMultiplier?: number;
2355
2371
  bypassList?: AvoidSkill[];
2356
2372
  stackingMode?: string;
2373
+ calloutTid?: string;
2374
+ duration?: number;
2375
+ missTid?: string;
2376
+ procChance?: number;
2377
+ vfxAttachedToTarget?: string;
2357
2378
  }
2358
2379
  export type AvoidSkill = "VENGEFUL" | "EVASION" | "SHIELD" | "BUNKER" | "ARMOR";
2359
2380
  export type BenchTargetMode = "sequential";
@@ -2368,18 +2389,17 @@ export type FgVfxScreenEffectname = "megacrit_speedlines";
2368
2389
  export type GiveToDragons = "any" | "alive";
2369
2390
  export type PlayerEffectName = "emergency_damage";
2370
2391
  export type TidDamageMultiplier = "DAMAGE INCREASED!!!";
2371
- export type Vfx = "silenced_shield_3" | "doom-mark_skill" | "" | "testVfx" | "void_skill";
2392
+ export type Vfx = "silenced_shield_3" | "doom-mark_skill" | "" | "testVfx" | "void_skill" | "mindbreak_skill_apply" | "mindbreak_skill_hit";
2372
2393
  export type VfxTextEffectname = "megacrit_skill";
2373
2394
  export type PassiveTriggerType = "attack" | "defense" | "onEnterCombat" | "onDie" | "negative" | "postAttack";
2374
2395
  export interface StatusEffectData {
2375
2396
  statusIcon: string;
2376
2397
  effectName: StatusEffectDataEffectName;
2377
- effectDescription?: EffectDescription;
2398
+ effectDescription?: string;
2378
2399
  dragonVfx?: DragonVfx;
2379
2400
  }
2380
- export type DragonVfx = "skill_overdrive" | "poison_skill";
2381
- export type EffectDescription = "tid_skill_exhaustion_effect_description" | "tid_doom_skill_effect_description" | "tid_skill_drained_effect_description" | "tid_poison_desc";
2382
- export type StatusEffectDataEffectName = "tid_crit_effect_name" | "tid_skill_armor_effect_name" | "tid_skill_exhaustion_effect_name" | "tid_doom_skill_effect_name" | "tid_skill_drained_effect_name" | "tid_poison_name";
2401
+ export type DragonVfx = "skill_overdrive" | "poison_skill" | "mindbreak_skill_apply";
2402
+ export type StatusEffectDataEffectName = "tid_crit_effect_name" | "tid_skill_armor_effect_name" | "tid_skill_exhaustion_effect_name" | "tid_doom_skill_effect_name" | "tid_skill_drained_effect_name" | "tid_poison_name" | "tid_mindbreak_skill_effect_name";
2383
2403
  export type Target = "ENEMY" | "NONE" | "ENEMY_TEAM" | "SELF" | "ENEMY_RANDOM_1" | "ALLY_TEAM" | "SELF_ALLIES_ONLY";
2384
2404
  export interface LevelBasedParameter {
2385
2405
  id: number;
@@ -2495,7 +2515,7 @@ export interface TowerIsland {
2495
2515
  happy_hours: HappyHour[];
2496
2516
  parameters: FogIslandParameter[];
2497
2517
  currencies: Currency[];
2498
- actions: Action[];
2518
+ actions: ActionElement[];
2499
2519
  }
2500
2520
  export interface Floor {
2501
2521
  id: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dchighs/dc-config",
3
- "version": "0.1.150",
3
+ "version": "0.1.151",
4
4
  "description": "A library to handle configuration for Dragon City.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",