Current section

Files

Jump to
wp_tables src erosion_item_data.gleam
Raw

src/erosion_item_data.gleam

import gleam/option.{type Option, None, Some}
// import gleam/map.{Map}
pub type ErosionItemData {
ErosionItemData(
item_description_cuid: Int,
cooldown_duration_msec: Int,
reward_abyss_stone_grade_min: String,
min_price_registrable_at_general_shop: Int,
min_price_registrable_at_covenant_shop: Int,
max_price_registrable_at_general_shop: Int,
sell_currency_cuid: Int,
is_tradeable: Bool,
is_lockable: Bool,
storable_user_inventory_kind: String,
is_destroyable: Bool,
contamination_increament_max: Int,
unique_name: String,
erosion_cuid: Int,
item_appearance_cuid: Int,
donation_cuid: Int,
reward_abyss_stone_grade_max: String,
item_name_cuid: Int,
cuid: Int,
sort_order: Int,
is_show_acquisition_source: Bool,
is_registrable_at_general_shop: Bool,
item_icon_cuid: Int,
level: Int,
is_registrable_at_covenant_shop: Bool,
weight: Int,
cooldown_group_id: Int,
required_level: Int,
erosion_item_kind: String,
item_grade: String,
sell_price: Int,
use_sound_cuid: Int,
touch_sound_cuid: Int,
storable_inventory_owner_kind_list: List(String),
acquisition_source_cuid_list: List(String),
max_hold_count: Int,
)
}
pub fn by_cuid(cuid) -> Option(ErosionItemData) {
case cuid {
1_496_340_724 ->
Some(ErosionItemData(
1_401_106_401,
0,
"Uncommon",
0,
20,
0,
0,
True,
False,
"Common",
False,
20,
"ErosionItem_StrongholdBattleEvent_Lv4",
2_698_371_685,
0,
0,
"Rare",
4_246_531_619,
1_496_340_724,
10,
True,
True,
1_094_302_144,
3,
False,
5,
0,
44,
"Personal",
"Uncommon",
0,
1_817_263_920,
0,
["Covenant", "RealmAccountOrPlayer"],
[],
9_999_999_999,
))
1_496_340_723 ->
Some(ErosionItemData(
1_401_106_400,
0,
"Uncommon",
0,
15,
0,
0,
True,
False,
"Common",
False,
20,
"ErosionItem_StrongholdBattleEvent_Lv3",
2_698_371_684,
0,
0,
"Rare",
4_246_531_618,
1_496_340_723,
10,
True,
True,
1_094_302_144,
2,
False,
5,
0,
41,
"Personal",
"Uncommon",
0,
1_817_263_920,
0,
["Covenant", "RealmAccountOrPlayer"],
[],
9_999_999_999,
))
1_496_340_722 ->
Some(ErosionItemData(
1_401_106_399,
0,
"Uncommon",
0,
12,
0,
0,
True,
False,
"Common",
False,
20,
"ErosionItem_StrongholdBattleEvent_Lv2",
2_698_371_683,
0,
0,
"Rare",
4_246_531_617,
1_496_340_722,
10,
True,
True,
1_094_302_144,
1,
False,
5,
0,
38,
"Personal",
"Uncommon",
0,
1_817_263_920,
0,
["Covenant", "RealmAccountOrPlayer"],
[],
9_999_999_999,
))
1_496_340_721 ->
Some(ErosionItemData(
1_401_106_398,
0,
"Uncommon",
0,
10,
0,
0,
True,
False,
"Common",
False,
20,
"ErosionItem_StrongholdBattleEvent_Lv1",
2_698_371_682,
0,
0,
"Rare",
4_246_531_616,
1_496_340_721,
10,
True,
True,
1_094_302_144,
1,
False,
5,
0,
30,
"Personal",
"Uncommon",
0,
1_817_263_920,
0,
["Covenant", "RealmAccountOrPlayer"],
[],
9_999_999_999,
))
3_679_855_295 ->
Some(ErosionItemData(
3_858_268_730,
0,
"Uncommon",
400_000,
100,
98_000_000,
2_697_088_054,
False,
False,
"Common",
False,
20,
"ErosionItem_Uncommon_Lv3_Quadruple",
2_333_818_976,
0,
0,
"Heroic",
166_871_486,
3_679_855_295,
3,
True,
True,
479_087_201,
3,
False,
5,
0,
25,
"Personal",
"Uncommon",
900,
1_817_263_920,
0,
["Covenant", "RealmAccountOrPlayer"],
[],
9_999_999_999,
))
431_071_127 ->
Some(ErosionItemData(
3_858_268_730,
0,
"Uncommon",
400_000,
100,
98_000_000,
2_697_088_054,
False,
False,
"Common",
False,
20,
"ErosionItem_Uncommon_Lv3_Double",
1_183_443_560,
0,
0,
"Heroic",
3_074_510_694,
431_071_127,
3,
True,
True,
301_470_617,
3,
False,
5,
0,
25,
"Personal",
"Uncommon",
900,
1_817_263_920,
0,
["Covenant", "RealmAccountOrPlayer"],
[],
9_999_999_999,
))
3_306_297_945 ->
Some(ErosionItemData(
1_612_224_422,
0,
"Uncommon",
7_500_000,
5000,
98_000_000,
2_697_088_054,
True,
False,
"Common",
False,
20,
"ErosionItem_Heroic_Lv10",
2_253_867_434,
0,
0,
"Legendary",
67_089_832,
3_306_297_945,
10,
True,
True,
1_370_924_959,
10,
False,
5,
0,
45,
"Personal",
"Heroic",
54_000,
1_817_263_920,
0,
["Covenant", "RealmAccountOrPlayer"],
[],
9_999_999_999,
))
2_898_084_033 ->
Some(ErosionItemData(
3_497_338_590,
0,
"Uncommon",
4_400_000,
3000,
98_000_000,
2_697_088_054,
True,
False,
"Common",
False,
20,
"ErosionItem_Heroic_Lv9",
2_264_828_194,
0,
0,
"Legendary",
3_178_360_064,
2_898_084_033,
9,
True,
True,
1_370_924_959,
9,
False,
5,
0,
45,
"Personal",
"Heroic",
28_800,
1_817_263_920,
0,
["Covenant", "RealmAccountOrPlayer"],
[],
9_999_999_999,
))
2_898_084_032 ->
Some(ErosionItemData(
3_497_338_589,
0,
"Uncommon",
3_700_000,
2000,
98_000_000,
2_697_088_054,
True,
False,
"Common",
False,
20,
"ErosionItem_Heroic_Lv8",
2_264_828_193,
0,
0,
"Legendary",
3_178_360_063,
2_898_084_032,
8,
True,
True,
1_370_924_959,
8,
False,
5,
0,
45,
"Personal",
"Heroic",
13_500,
1_817_263_920,
0,
["Covenant", "RealmAccountOrPlayer"],
[],
9_999_999_999,
))
1_642_518_719 ->
Some(ErosionItemData(
85_051_260,
0,
"Uncommon",
3_000_000,
1500,
98_000_000,
2_697_088_054,
True,
False,
"Common",
False,
20,
"ErosionItem_Rare_Lv7",
1_454_167_616,
0,
0,
"Legendary",
211_223_518,
1_642_518_719,
7,
True,
True,
1_370_924_959,
7,
False,
5,
0,
45,
"Personal",
"Heroic",
7200,
1_817_263_920,
0,
["Covenant", "RealmAccountOrPlayer"],
[],
9_999_999_999,
))
1_642_518_718 ->
Some(ErosionItemData(
85_051_259,
0,
"Uncommon",
1_900_000,
1000,
98_000_000,
2_697_088_054,
True,
False,
"Common",
False,
20,
"ErosionItem_Rare_Lv6",
1_454_167_615,
0,
0,
"Heroic",
211_223_517,
1_642_518_718,
6,
True,
True,
1_370_924_959,
6,
False,
5,
0,
35,
"Personal",
"Rare",
5400,
1_817_263_920,
0,
["Covenant", "RealmAccountOrPlayer"],
[],
9_999_999_999,
))
1_642_518_717 ->
Some(ErosionItemData(
85_051_258,
0,
"Uncommon",
1_500_000,
700,
98_000_000,
2_697_088_054,
True,
False,
"Common",
False,
20,
"ErosionItem_Rare_Lv5",
1_454_167_614,
0,
0,
"Heroic",
211_223_516,
1_642_518_717,
5,
True,
True,
1_370_924_959,
5,
False,
5,
0,
35,
"Personal",
"Rare",
2700,
1_817_263_920,
0,
["Covenant", "RealmAccountOrPlayer"],
[],
9_999_999_999,
))
1_295_478_974 ->
Some(ErosionItemData(
3_858_268_731,
0,
"Uncommon",
1_100_000,
500,
98_000_000,
2_697_088_054,
False,
False,
"Common",
False,
20,
"ErosionItem_Uncommon_Lv4",
3_334_752_255,
0,
0,
"Heroic",
2_838_157_853,
1_295_478_974,
4,
True,
True,
1_370_924_959,
4,
False,
5,
0,
35,
"Personal",
"Rare",
1800,
1_817_263_920,
0,
["Covenant", "RealmAccountOrPlayer"],
[],
9_999_999_999,
))
1_295_478_973 ->
Some(ErosionItemData(
3_858_268_730,
0,
"Uncommon",
400_000,
100,
98_000_000,
2_697_088_054,
False,
False,
"Common",
False,
20,
"ErosionItem_Uncommon_Lv3",
3_334_752_254,
0,
0,
"Heroic",
2_838_157_852,
1_295_478_973,
3,
True,
True,
1_370_924_959,
3,
False,
5,
0,
25,
"Personal",
"Uncommon",
900,
1_817_263_920,
0,
["Covenant", "RealmAccountOrPlayer"],
[],
9_999_999_999,
))
1_295_478_972 ->
Some(ErosionItemData(
3_858_268_729,
0,
"Uncommon",
200_000,
50,
98_000_000,
2_697_088_054,
False,
False,
"Common",
False,
20,
"ErosionItem_Uncommon_Lv2",
3_334_752_253,
0,
0,
"Rare",
2_838_157_851,
1_295_478_972,
2,
True,
True,
1_370_924_959,
2,
False,
5,
0,
25,
"Personal",
"Uncommon",
750,
1_817_263_920,
0,
["Covenant", "RealmAccountOrPlayer"],
[],
9_999_999_999,
))
1_295_478_971 ->
Some(ErosionItemData(
3_858_268_728,
0,
"Uncommon",
100_000,
30,
98_000_000,
2_697_088_054,
False,
False,
"Common",
False,
20,
"ErosionItem_Uncommon_Lv1",
3_334_752_252,
0,
0,
"Rare",
2_838_157_850,
1_295_478_971,
1,
True,
True,
1_370_924_959,
1,
False,
5,
0,
25,
"Personal",
"Uncommon",
600,
1_817_263_920,
0,
["Covenant", "RealmAccountOrPlayer"],
[],
9_999_999_999,
))
_ -> None
}
}