@dchighs/dc-config 0.1.149 → 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,23 +1708,22 @@ export interface MazeIslandReward {
1708
1708
  export interface News {
1709
1709
  "0": The0;
1710
1710
  "1": The1;
1711
- "2": The2;
1712
- "3": The3;
1713
- "4": The11;
1714
- "5": The11;
1715
- "6": The11;
1716
- "7": The7;
1717
- "8": The8;
1718
- "9": The11;
1711
+ "2": The10;
1712
+ "3": The10;
1713
+ "4": The10;
1714
+ "5": The5;
1715
+ "6": The6;
1716
+ "7": The10;
1717
+ "8": The10;
1718
+ "9": The9;
1719
1719
  "10": The10;
1720
- "11": The11;
1720
+ "11": The10;
1721
1721
  canvas: Canva[];
1722
1722
  }
1723
1723
  export interface The0 {
1724
1724
  active_platforms: ValueClass;
1725
1725
  allow_island_tutorial: number;
1726
1726
  assets_name: string;
1727
- direct_to_shop: number;
1728
1727
  end_ts: string;
1729
1728
  hud_button: The0_HudButton;
1730
1729
  id: number;
@@ -1737,64 +1736,51 @@ export interface The0 {
1737
1736
  export interface The0_HudButton {
1738
1737
  file: string;
1739
1738
  title: string;
1740
- viral_icon_tier: number;
1741
1739
  }
1742
1740
  export interface The0_Slide {
1743
- content_localized_key?: string;
1741
+ content_localized_key: string;
1744
1742
  custom_title_localized_key: string;
1745
- header_localized_key?: string;
1743
+ header_localized_key: string;
1746
1744
  image_url: string;
1747
1745
  link: string;
1748
1746
  link_button_key: string;
1749
1747
  slide_type: string;
1750
1748
  slide_type_2: string;
1751
- timer?: string;
1752
- times_to_show?: number;
1753
- link_item_id?: number;
1749
+ timer: string;
1750
+ times_to_show: number;
1754
1751
  }
1755
1752
  export interface The1 {
1756
1753
  active_platforms: ValueClass;
1757
1754
  allow_island_tutorial: number;
1758
1755
  assets_name: string;
1756
+ direct_to_shop: number;
1759
1757
  end_ts: string;
1758
+ filter_category: null;
1760
1759
  hud_button: The1_HudButton;
1761
1760
  id: number;
1761
+ label_text_tid: null;
1762
+ label_title_tid: null;
1762
1763
  min_level: number;
1763
1764
  popup_type: string;
1765
+ priority: null;
1764
1766
  show_on_startup: number;
1765
- slides: The0_Slide[];
1767
+ slides: The1_Slide[];
1766
1768
  start_ts: string;
1767
1769
  }
1768
1770
  export interface The1_HudButton {
1769
1771
  file: string;
1770
1772
  title: string;
1773
+ viral_icon_tier: number;
1771
1774
  }
1772
- export interface The10 {
1773
- active_platforms: ValueClass;
1774
- allow_island_tutorial: number;
1775
- assets_name: string;
1776
- direct_to_shop: number;
1777
- end_ts: string;
1778
- filter_category: null;
1779
- id: number;
1780
- label_text_tid: null;
1781
- label_title_tid: null;
1782
- min_level: number;
1783
- popup_type: string;
1784
- priority: number;
1785
- show_on_startup: number;
1786
- slides: The10_Slide[];
1787
- start_ts: string;
1788
- }
1789
- export interface The10_Slide {
1775
+ export interface The1_Slide {
1790
1776
  content_localized_key: string;
1791
1777
  custom_title_localized_key: string;
1778
+ forceClose?: boolean;
1792
1779
  header_localized_key: string;
1793
1780
  image_url: string;
1794
1781
  multiple_buttons: MultipleButton[];
1795
1782
  times_to_show: number;
1796
1783
  type: SlideType;
1797
- forceClose?: boolean;
1798
1784
  }
1799
1785
  export interface MultipleButton {
1800
1786
  animation: AnimationNameEnum;
@@ -1822,7 +1808,7 @@ export interface SizeClass {
1822
1808
  export type SpineAsset = "pointer_animation_v2";
1823
1809
  export type Style = "Transparent" | "YellowLarge" | "BlueLarge";
1824
1810
  export type SlideType = "FullImage";
1825
- export interface The11 {
1811
+ export interface The10 {
1826
1812
  active_platforms: ValueClass;
1827
1813
  allow_island_tutorial: number;
1828
1814
  assets_name: string;
@@ -1833,83 +1819,63 @@ export interface The11 {
1833
1819
  popup_frequency: string;
1834
1820
  popup_type: string;
1835
1821
  show_on_startup: number;
1836
- slides: The10_Slide[];
1822
+ slides: The1_Slide[];
1837
1823
  start_ts: string;
1838
1824
  }
1839
- export interface The2 {
1825
+ export interface The5 {
1840
1826
  active_platforms: ValueClass;
1841
1827
  allow_island_tutorial: number;
1842
1828
  assets_name: string;
1843
1829
  direct_to_shop: number;
1844
1830
  end_ts: string;
1845
1831
  filter_category: null;
1846
- hud_button: The0_HudButton;
1847
- id: number;
1848
- label_text_tid: null;
1849
- label_title_tid: null;
1850
- min_level: number;
1851
- popup_type: string;
1852
- priority: null;
1853
- show_on_startup: number;
1854
- slides: The10_Slide[];
1855
- start_ts: string;
1856
- }
1857
- export interface The3 {
1858
- active_platforms: ValueClass;
1859
- allow_island_tutorial: number;
1860
- assets_name: string;
1861
- direct_to_shop: number;
1862
- end_ts: string;
1863
- filter_category: null;
1864
- hud_button: The0_HudButton;
1832
+ hud_button: The1_HudButton;
1865
1833
  id: number;
1866
1834
  label_text_tid: null;
1867
1835
  label_title_tid: null;
1868
1836
  min_level: number;
1869
1837
  popup_frequency: string;
1838
+ popup_is_critical: number;
1870
1839
  popup_type: string;
1871
1840
  priority: null;
1872
1841
  show_on_startup: number;
1873
- slides: The0_Slide[];
1842
+ slides: The1_Slide[];
1874
1843
  start_ts: string;
1875
1844
  }
1876
- export interface The7 {
1845
+ export interface The6 {
1877
1846
  active_platforms: ValueClass;
1878
1847
  allow_island_tutorial: number;
1879
1848
  assets_name: string;
1880
1849
  direct_to_shop: number;
1881
1850
  end_ts: string;
1882
1851
  filter_category: null;
1883
- hud_button: The0_HudButton;
1852
+ hud_button: The1_HudButton;
1884
1853
  id: number;
1885
1854
  label_text_tid: null;
1886
1855
  label_title_tid: null;
1887
1856
  min_level: number;
1888
1857
  popup_frequency: string;
1889
- popup_is_critical: number;
1890
1858
  popup_type: string;
1891
1859
  priority: null;
1892
1860
  show_on_startup: number;
1893
- slides: The10_Slide[];
1861
+ slides: The1_Slide[];
1894
1862
  start_ts: string;
1895
1863
  }
1896
- export interface The8 {
1864
+ export interface The9 {
1897
1865
  active_platforms: ValueClass;
1898
1866
  allow_island_tutorial: number;
1899
1867
  assets_name: string;
1900
1868
  direct_to_shop: number;
1901
1869
  end_ts: string;
1902
1870
  filter_category: null;
1903
- hud_button: The0_HudButton;
1904
1871
  id: number;
1905
1872
  label_text_tid: null;
1906
1873
  label_title_tid: null;
1907
1874
  min_level: number;
1908
- popup_frequency: string;
1909
1875
  popup_type: string;
1910
- priority: null;
1876
+ priority: number;
1911
1877
  show_on_startup: number;
1912
- slides: The10_Slide[];
1878
+ slides: The1_Slide[];
1913
1879
  start_ts: string;
1914
1880
  }
1915
1881
  export interface Canva {
@@ -1917,10 +1883,9 @@ export interface Canva {
1917
1883
  assets_name: string;
1918
1884
  start_ts: number | string;
1919
1885
  end_ts: number | string;
1920
- min_level: number;
1886
+ min_level?: number;
1921
1887
  slides: CanvaSlide[];
1922
- show_on_startup: number;
1923
- priority?: string;
1888
+ show_on_startup?: number;
1924
1889
  }
1925
1890
  export interface CanvaSlide {
1926
1891
  custom_title_localized_key?: string;
@@ -1940,15 +1905,22 @@ export interface CanvaSlide {
1940
1905
  export interface Content {
1941
1906
  height: number;
1942
1907
  rotation: number;
1943
- stroke: string;
1944
- text_color: string;
1908
+ stroke?: string;
1909
+ text_color?: string;
1945
1910
  text_key: string;
1946
- text_size: number;
1947
- timer: number;
1911
+ text_size?: number;
1912
+ timer?: number;
1948
1913
  type: string;
1949
1914
  width: number;
1950
1915
  x: number;
1951
1916
  y: number;
1917
+ action?: ContentAction;
1918
+ style?: string;
1919
+ }
1920
+ export interface ContentAction {
1921
+ itemId: string;
1922
+ storeCategory: number;
1923
+ type: string;
1952
1924
  }
1953
1925
  export interface Perks {
1954
1926
  abilities: Ability[];
@@ -2398,6 +2370,11 @@ export interface EffectParameters {
2398
2370
  tickMultiplier?: number;
2399
2371
  bypassList?: AvoidSkill[];
2400
2372
  stackingMode?: string;
2373
+ calloutTid?: string;
2374
+ duration?: number;
2375
+ missTid?: string;
2376
+ procChance?: number;
2377
+ vfxAttachedToTarget?: string;
2401
2378
  }
2402
2379
  export type AvoidSkill = "VENGEFUL" | "EVASION" | "SHIELD" | "BUNKER" | "ARMOR";
2403
2380
  export type BenchTargetMode = "sequential";
@@ -2412,18 +2389,17 @@ export type FgVfxScreenEffectname = "megacrit_speedlines";
2412
2389
  export type GiveToDragons = "any" | "alive";
2413
2390
  export type PlayerEffectName = "emergency_damage";
2414
2391
  export type TidDamageMultiplier = "DAMAGE INCREASED!!!";
2415
- 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";
2416
2393
  export type VfxTextEffectname = "megacrit_skill";
2417
2394
  export type PassiveTriggerType = "attack" | "defense" | "onEnterCombat" | "onDie" | "negative" | "postAttack";
2418
2395
  export interface StatusEffectData {
2419
2396
  statusIcon: string;
2420
2397
  effectName: StatusEffectDataEffectName;
2421
- effectDescription?: EffectDescription;
2398
+ effectDescription?: string;
2422
2399
  dragonVfx?: DragonVfx;
2423
2400
  }
2424
- export type DragonVfx = "skill_overdrive" | "poison_skill";
2425
- export type EffectDescription = "tid_skill_exhaustion_effect_description" | "tid_doom_skill_effect_description" | "tid_skill_drained_effect_description" | "tid_poison_desc";
2426
- 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";
2427
2403
  export type Target = "ENEMY" | "NONE" | "ENEMY_TEAM" | "SELF" | "ENEMY_RANDOM_1" | "ALLY_TEAM" | "SELF_ALLIES_ONLY";
2428
2404
  export interface LevelBasedParameter {
2429
2405
  id: number;
@@ -2539,7 +2515,7 @@ export interface TowerIsland {
2539
2515
  happy_hours: HappyHour[];
2540
2516
  parameters: FogIslandParameter[];
2541
2517
  currencies: Currency[];
2542
- actions: Action[];
2518
+ actions: ActionElement[];
2543
2519
  }
2544
2520
  export interface Floor {
2545
2521
  id: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dchighs/dc-config",
3
- "version": "0.1.149",
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",