Modding Help How to create a custom item ability and attach it to a weapon.

Discussion in 'Starbound Modding' started by PatchouliFleur, Jul 1, 2024.

  1. PatchouliFleur

    PatchouliFleur Space Hobo

    UPDATE: I managed to get it to work by setting everything related to the ability to the same name, I'm guessing it was just a typo somewhere.

    I'm trying to add a custom item ability to add to a sword, currently the custom weapon ability is fundamentally the bladecharge ability with only the "name" and "type" fields having been changed. The .weaponability title field is the same as used in the .activeitem altAbilityType field. I've tried to patch the weaponabilities.config but that doesn't seem to have done anything.
    The ability's code is here, the weapon's code is here and the weaponsabilities.config.patch is here.
     
    Last edited: Jul 2, 2024

Share This Page