Skip to content

Commit

Permalink
v4.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
giniedp committed Jan 10, 2024
1 parent 8a69b3e commit e7ec8c7
Show file tree
Hide file tree
Showing 6 changed files with 40 additions and 21 deletions.
2 changes: 1 addition & 1 deletion dist/nw-data
Submodule nw-data updated 70 files
+0 −872 live/datatables/charactertables/brute_datatables/javelindata_damagetable_yeti_2022.json
+0 −630 live/datatables/charactertables/icedryad_datatables/javelindata_damagetable_yeti_2022_frostfang_minion.json
+0 −357 live/datatables/charactertables/icedryad_datatables/javelindata_damagetable_yeti_2022_frostgrip_minion.json
+165 −3,099 live/datatables/generated_gatherables_metadata.json
+0 −55 live/datatables/generated_lore_metadata.json
+0 −74 live/datatables/generated_territories_metadata.json
+ live/datatables/generated_variations_metadata.0.chunk
+ live/datatables/generated_variations_metadata.1.chunk
+ live/datatables/generated_variations_metadata.2.chunk
+ live/datatables/generated_variations_metadata.3.chunk
+ live/datatables/generated_variations_metadata.4.chunk
+ live/datatables/generated_variations_metadata.5.chunk
+2,871 −2,962 live/datatables/generated_variations_metadata.json
+1,082 −274 live/datatables/generated_vitals_metadata.json
+0 −386 live/datatables/javelindata_crafting_seasons.json
+4 −0 live/datatables/javelindata_craftingcategories.json
+2 −2 live/datatables/javelindata_damagetable.json
+0 −210 live/datatables/javelindata_gameevents.json
+0 −320 live/datatables/javelindata_gatherables.json
+0 −16 live/datatables/javelindata_itemdefinitions_ammo.json
+2 −277 live/datatables/javelindata_itemdefinitions_master_common.json
+0 −324 live/datatables/javelindata_itemdefinitions_master_crafting.json
+4 −418 live/datatables/javelindata_itemdefinitions_master_quest.json
+11 −11 live/datatables/javelindata_itemdefinitions_weapons.json
+1 −1 live/datatables/javelindata_lootlimits.json
+1 −587 live/datatables/javelindata_loottables.json
+2 −2 live/datatables/javelindata_perks.json
+0 −342 live/datatables/javelindata_spelltable_ai.json
+3 −3 live/datatables/javelindata_spelltable_flail.json
+1 −1 live/datatables/javelindata_staminacosts_player.json
+0 −1,341 live/datatables/javelindata_statuseffects_ai.json
+3 −3 live/datatables/javelindata_statuseffects_perks.json
+0 −46 live/datatables/javelindata_variations_gatherables_holiday.json
+0 −84 live/datatables/javelindata_variations_gatherables_lootcontainers.json
+0 −64 live/datatables/javelindata_variations_gatherables_quest.json
+0 −22 live/datatables/javelindata_variations_gatherables_quest_damageable.json
+3 −22 live/datatables/javelindata_variations_npcs.json
+48 −48 live/datatables/javelindata_variations_npcs_walkaway.json
+2,894 −2,649 live/datatables/javelindata_vitals.json
+66 −0 live/datatables/javelindata_vitalscategories.json
+0 −18 live/datatables/pointofinterestdefinitions/javelindata_poidefinitions_03_01.json
+0 −19 live/datatables/pointofinterestdefinitions/javelindata_poidefinitions_04_03.json
+0 −18 live/datatables/pointofinterestdefinitions/javelindata_poidefinitions_05_01.json
+0 −20 live/datatables/pointofinterestdefinitions/javelindata_poidefinitions_05_03.json
+2 −2 live/datatables/pvpbalancetables/javelindata_pvpbalance_arena.json
+2 −2 live/datatables/pvpbalancetables/javelindata_pvpbalance_openworld.json
+2 −2 live/datatables/pvpbalancetables/javelindata_pvpbalance_outpostrush.json
+2 −2 live/datatables/pvpbalancetables/javelindata_pvpbalance_war.json
+0 −151 live/datatables/questgameevents/javelindata_04_gameevents.json
+0 −22 live/datatables/questgameevents/javelindata_04a_gameevents.json
+0 −192 live/datatables/quests/04a_everfall/javelindata_04a_objectives.json
+3 −3 live/datatables/quests/98_factions/javelindata_98_objectives.json
+0 −168 live/datatables/weaponabilities/javelindata_ability_ai.json
+1 −1 live/datatables/weaponabilities/javelindata_ability_artifacts.json
+39 −168 live/localization/de-de.json
+35 −164 live/localization/en-us.json
+44 −173 live/localization/es-es.json
+42 −171 live/localization/es-mx.json
+38 −167 live/localization/fr-fr.json
+38 −167 live/localization/it-it.json
+42 −171 live/localization/pl-pl.json
+93 −222 live/localization/pt-br.json
+12 −46 live/search/de-de.json
+12 −46 live/search/en-us.json
+12 −46 live/search/es-es.json
+12 −46 live/search/es-mx.json
+12 −46 live/search/fr-fr.json
+12 −46 live/search/it-it.json
+12 −46 live/search/pl-pl.json
+12 −46 live/search/pt-br.json
3 changes: 1 addition & 2 deletions libs/nw-data/generated/cols.ts
Expand Up @@ -1113,7 +1113,6 @@ export const COLS_GATHERABLES = {
"IsLootContainer": "boolean",
"ItemRestrictionId": "string",
"ItemRestrictionQuantity": "string",
"LandmarkIconPath": "string",
"MaxRespawnRate": "number",
"MinRespawnRate": "number",
"MountGatherers": "string",
Expand All @@ -1127,7 +1126,6 @@ export const COLS_GATHERABLES = {
"ResetGatherTimeOnEndInteraction": "boolean",
"Restriction": "string",
"SongRewardId": "string",
"TooltipImage": "string",
"Tradeskill": "string",
"WaitForImpact": "boolean",
}
Expand Down Expand Up @@ -1289,6 +1287,7 @@ export const COLS_ITEMDEFINITIONMASTER = {
"SalvageGuaranteedPerkCount": "number",
"SalvageLootTags": "[]",
"SalvageResources": "number",
"ScheduleId": "string",
"SoundTableID": "string",
"Tier": "number",
"TradingCategory": "string",
Expand Down
9 changes: 0 additions & 9 deletions libs/nw-data/generated/datatables.ts
Expand Up @@ -309,9 +309,6 @@ export abstract class NwDataLoader {
public charactertablesBruteDatatablesDamagetableSwampbeast() {
return this.load<Damagetable[]>('charactertables/brute_datatables/javelindata_damagetable_swampbeast.json')
}
public charactertablesBruteDatatablesDamagetableYeti2022() {
return this.load<Damagetable[]>('charactertables/brute_datatables/javelindata_damagetable_yeti_2022.json')
}
public charactertablesChameleonDatatablesDamagetableChameleon() {
return this.load<Damagetable[]>('charactertables/chameleon_datatables/javelindata_damagetable_chameleon.json')
}
Expand Down Expand Up @@ -537,12 +534,6 @@ export abstract class NwDataLoader {
public charactertablesIcedryadDatatablesDamagetableIcedryadFrostgrip() {
return this.load<Damagetable[]>('charactertables/icedryad_datatables/javelindata_damagetable_icedryad_frostgrip.json')
}
public charactertablesIcedryadDatatablesDamagetableYeti2022FrostfangMinion() {
return this.load<Damagetable[]>('charactertables/icedryad_datatables/javelindata_damagetable_yeti_2022_frostfang_minion.json')
}
public charactertablesIcedryadDatatablesDamagetableYeti2022FrostgripMinion() {
return this.load<Damagetable[]>('charactertables/icedryad_datatables/javelindata_damagetable_yeti_2022_frostgrip_minion.json')
}
public charactertablesInvasionDatatablesDamagetableInvasionPriest() {
return this.load<Damagetable[]>('charactertables/invasion_datatables/javelindata_damagetable_invasion_priest.json')
}
Expand Down
17 changes: 9 additions & 8 deletions libs/nw-data/generated/types.ts
Expand Up @@ -1142,7 +1142,6 @@ export interface Gatherables {
IsLootContainer: boolean
ItemRestrictionId: string
ItemRestrictionQuantity: string
LandmarkIconPath: string
MaxRespawnRate: number
MinRespawnRate: number
MountGatherers: string
Expand All @@ -1156,7 +1155,6 @@ export interface Gatherables {
ResetGatherTimeOnEndInteraction: boolean
Restriction: string
SongRewardId: string
TooltipImage: string
Tradeskill: string
WaitForImpact: boolean
}
Expand Down Expand Up @@ -1321,6 +1319,7 @@ export interface ItemDefinitionMaster {
SalvageGuaranteedPerkCount: number
SalvageLootTags: string[]
SalvageResources: number
ScheduleId: string
SoundTableID: string
Tier: number
TradingCategory: TradingCategory
Expand Down Expand Up @@ -7466,9 +7465,7 @@ export type VitalsCategory =
| 'Avalancher_Shivers'
| 'Avalancher_Shivers_25'
| 'Avalancher_Shivers_60'
| 'Avalancher_Shivers_YetiEncounter'
| 'Avalancher_Yeti'
| 'Avalancher_YetiEncounter'
| 'Avalancher_Yeti_25'
| 'Avalancher_Yeti_60'
| 'Barbary_Lion'
Expand Down Expand Up @@ -7942,6 +7939,8 @@ export type VitalsCategory =
| 'CorruptedLegion_Cyclops_DG_BrimstoneSands_Crassus_Minion'
| 'CorruptedLegion_Cyclops_DG_BrimstoneSands_Named_00'
| 'CorruptedLegion_Cyclops_ELITE'
| 'CorruptedLegion_Cyclops_LOC_BOSS_00'
| 'CorruptedLegion_Cyclops_LOC_BOSS_01'
| 'CorruptedLegion_Cyclops_Named_00'
| 'CorruptedLegion_Cyclops_Named_01'
| 'CorruptedLegion_Cyclops_Named_02_ELITE'
Expand Down Expand Up @@ -10826,19 +10825,16 @@ export type VitalsCategory =
| 'IceDryad_Fiend_Shivers_Frostgrip'
| 'IceDryad_Fiend_Shivers_Frostgrip_25'
| 'IceDryad_Fiend_Shivers_Frostgrip_60'
| 'IceDryad_Fiend_Shivers_YetiEncounter'
| 'IceDryad_Melee_Frostfang'
| 'IceDryad_Melee_Frostfang_25'
| 'IceDryad_Melee_Frostfang_61'
| 'IceDryad_Melee_Frostfang_62'
| 'IceDryad_Melee_Frostfang_65_ELITE'
| 'IceDryad_Melee_Frostfang_YetiEncounter'
| 'IceDryad_Range_Frostgrip'
| 'IceDryad_Range_Frostgrip_25'
| 'IceDryad_Range_Frostgrip_61'
| 'IceDryad_Range_Frostgrip_62'
| 'IceDryad_Range_Frostgrip_65_ELITE'
| 'IceDryad_Range_Frostgrip_YetiEncounter'
| 'IceGolem'
| 'IceWolf'
| 'Imhotep'
Expand Down Expand Up @@ -10902,7 +10898,9 @@ export type VitalsCategory =
| 'Legion_Legionnaire_DG_BrimstoneSands_Named_00'
| 'Legion_Legionnaire_Ethereal'
| 'Legion_Legionnaire_Ethereal_ELITE'
| 'Legion_Legionnaire_Ethereal_LOC_BOSS'
| 'Legion_Legionnaire_Ethereal_Named_05_ELITE'
| 'Legion_Legionnaire_LOC_BOSS'
| 'Legion_Legionnaire_Named_00'
| 'Legion_Legionnaire_Named_01'
| 'Legion_Legionnaire_Named_02'
Expand All @@ -10914,6 +10912,7 @@ export type VitalsCategory =
| 'Legion_Legionnaire_NoShield_DG_BrimstoneSands_00'
| 'Legion_Legionnaire_NoShield_DG_BrimstoneSands_Crassus_Minion'
| 'Legion_Legionnaire_NoShield_ELITE'
| 'Legion_Legionnaire_NoShield_LOC_BOSS'
| 'Legion_Legionnaire_Physical'
| 'Legion_Legionnaire_Physical_ELITE'
| 'Legion_Sagittarii'
Expand All @@ -10928,6 +10927,7 @@ export type VitalsCategory =
| 'Legion_Sagittarii_DG_BrimstoneSands_00'
| 'Legion_Sagittarii_DG_BrimstoneSands_Minion'
| 'Legion_Sagittarii_ELITE'
| 'Legion_Sagittarii_LOC_BOSS'
| 'Legion_Sagittarii_Named_00'
| 'Legion_Sagittarii_Named_01'
| 'Legion_Signifer'
Expand All @@ -10944,6 +10944,7 @@ export type VitalsCategory =
| 'Legion_Signifer_DG_BrimstoneSands_Minion'
| 'Legion_Signifer_DG_BrimstoneSands_Named_00'
| 'Legion_Signifer_ELITE'
| 'Legion_Signifer_LOC_BOSS'
| 'Legion_Signifer_Named_00'
| 'Legion_Signifer_Named_01'
| 'Legion_Signifer_Named_02'
Expand Down Expand Up @@ -12167,6 +12168,7 @@ export type VitalsCategory =
| 'Torso_Boss_Ice_Bridge'
| 'Torso_Boss_Ice_WeakPoint'
| 'Totem_Dryad_Nest_DG_Edengrove_00'
| 'Totem_LOC_BOSS'
| 'Totem_Pirate_Cursed'
| 'Totem_Pirate_Cursed_58'
| 'Totem_Pirate_Cursed_59'
Expand Down Expand Up @@ -13359,7 +13361,6 @@ export type VitalsCategory =
| 'Wraith'
| 'Yeti'
| 'Yeti_03GC00_Elite'
| 'Yeti_2022'
| 'Yeti_Named_04NW08'
| 'Yeti_Named_06SW02'
| 'Yeti_Named_07SM08'
Expand Down
3 changes: 2 additions & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "nw-buddy",
"version": "4.0.1-0",
"version": "4.0.2-0",
"description": "New World Buddy",
"keywords": [],
"main": "dist/electron/main.js",
Expand Down Expand Up @@ -41,6 +41,7 @@
"nw-cdn": "ts-node ./tools/nw-cdn.ts",
"nw-generate": "ts-node ./tools/nw-generate.ts",
"nw-inspect": "ts-node ./tools/nw-inspect.ts",
"nw-clean": "pnpm build:tools && env-cmd -f .env node ./dist/tools/nw-clean.js",
"nw-extract": "pnpm build:tools && env-cmd -f .env node ./dist/tools/nw-extract.js",
"nw-convert": "pnpm build:tools && env-cmd -f .env node ./dist/tools/nw-convert.js",
"nw-import": "pnpm build:tools && env-cmd -f .env node ./dist/tools/nw-import.js",
Expand Down
27 changes: 27 additions & 0 deletions tools/nw-clean.ts
@@ -0,0 +1,27 @@
import { program } from 'commander'
import * as fs from 'fs'
import { NW_GAME_VERSION, environment } from '../env'

program.option('-ws, --workspace <name>', 'workspace dir (live or ptr)', NW_GAME_VERSION).action(async () => {
const options = program.opts<{
workspace: boolean
}>()

const unpackDir = environment.nwUnpackDir(options.workspace)!
const convertDir = environment.nwConvertDir(options.workspace)!

console.log('[CLEAN]', options.workspace)
console.log(' unpack dir:', unpackDir)
console.log('convert dir:', convertDir)

if (fs.existsSync(unpackDir)) {
console.log('Cleaning unpack directory...')
await fs.promises.rm(unpackDir, { recursive: true })
}
if (fs.existsSync(convertDir)) {
console.log('Cleaning convert directory...')
await fs.promises.rm(convertDir, { recursive: true })
}
})

program.parse()

0 comments on commit e7ec8c7

Please sign in to comment.