Modding Help Weapon ability not attaching to weapon [SOLVED]

Discussion in 'Starbound Modding' started by Hange, Oct 20, 2016.

  1. Hange

    Hange Void-Bound Voyager

    In the attached mod, I'm not sure why my weapon ability (basically just an edited flip slash) isn't being used by the weapons it's assigned to, which instead don't possess any ability in game. I believe the issue is in the .lua file, but I'm not fluent enough to correct it myself. Any help is appreciated!
     

    Attached Files:

  2. Inf_Wolf14

    Inf_Wolf14 Parsec Taste Tester

    You need to create a patch for the weaponabilities.config in "/items/buildscripts/".

    Your weapon is passing the information for the ability to the builder scripts, but when the script references the config, it cannot find the ability.
    Try using this patch:
    Code:
    [
      {
        "op" : "add",
        "path" : "/eswipe",
        "value" : "/items/active/weapons/melee/abilities/broadsword/eslash/eslash.weaponability"
      }
    ]
    
     
    Hange likes this.
  3. Hange

    Hange Void-Bound Voyager

    Thanks a bunch, once again!
     
    Inf_Wolf14 likes this.

Share This Page