warframe-items icon indicating copy to clipboard operation
warframe-items copied to clipboard

feat: add Helminth abilities

Open SlayerOrnstein opened this issue 4 months ago • 1 comments

What did you fix?

Add Helminth abilities into scraper process. I took a partial from one of the ability uniqueNames to form the base

Before:

{
	"ExportWarframes": [...],
	"ExportAbilities": [
        {
            "abilityUniqueName": "/Lotus/Powersuits/PowersuitAbilities/HelminthEfficiencyAbility",
            "abilityName": "Energized Munitions",
            "description": "Increase the efficiency of your ammo consumption."
        },
        {
            "abilityUniqueName": "/Lotus/Powersuits/PowersuitAbilities/HelminthCompanionAbility",
            "abilityName": "Master's Summons",
            "description": "Heal your companion and call it to your side."
        },
        {
            "abilityUniqueName": "/Lotus/Powersuits/PowersuitAbilities/HelminthEnergyShareAbility",
            "abilityName": "Voracious Metastasis",
            "description": "Consume Energy to heal yourself and grant matching Energy to each ally."
        },
		...
	]
}

After:

{
    "abilities": [
      {
        "uniqueName": "/Lotus/Powersuits/PowersuitAbilities/HelminthEfficiencyAbility",
        "name": "Energized Munitions",
        "description": "Increase the efficiency of your ammo consumption.",
        "imageName": "energized-munitions-d5df009f96.png"
      },
      {
        "uniqueName": "/Lotus/Powersuits/PowersuitAbilities/HelminthCompanionAbility",
        "name": "Master's Summons",
        "description": "Heal your companion and call it to your side.",
        "imageName": "master's-summons-b2337980b6.png"
      },
	...
    ],
    "category": "Warframes",
    "drops": [
      { 
		"chance": 1, 
		"location": "Entrati (Son), Associate",
 		"rarity": "Common", 
		"type": "Helminth Segment Blueprint" },
      {
        "chance": 1,
        "location": "Entrati (Son), Family",
        "rarity": "Common",
        "type": "Helminth Invigoration Segment Blueprint"
      }
    ],
    "isPrime": false,
    "masterable": true,
    "name": "Helminth",
    "tradable": false,
    "type": "Warframe",
    "uniqueName": "/Lotus/Powersuits/PowersuitAbilities/Helminth"
  }

Reproduction steps


Evidence/screenshot/link to line

Considerations

  • Does this contain a new dependency? No
  • Does this introduce opinionated data formatting or manual data entry? Yes
  • Does this pr include updated data files in a separate commit that can be reverted for a clean code-only pr? Yes
  • Have I run the linter? Yes
  • Is is a bug fix, feature request, or enhancement? Feature

Summary by CodeRabbit

  • New Features

    • Enhanced data processing for the 'Warframes' category, now including detailed information about the 'Helminth'.
    • Improved structure for 'Upgrades' category data with the addition of a type property.
    • Introduced multiple new abilities related to the 'Helminth' powersuit.
  • Bug Fixes

    • Updated test logic to exclude 'Helminth' from specific tests, refining the filtering criteria for warframe components.
  • Documentation

    • Added comments to clarify new code segments for better maintainability and readability.

SlayerOrnstein avatar Oct 20 '24 09:10 SlayerOrnstein