Modding Help Sword Stuck

Discussion in 'Starbound Modding' started by vojta21212, Apr 15, 2018.

  1. vojta21212

    vojta21212 Aquatic Astronaut

    Soo after i tryied to add a new sword to my modpack and then i tried my old op sword that i made and it got stuck i swing it once and tehn i couldnt swing it more until i changed to another item


    this is my code

    {
    "itemName" : "OpSword",
    "price" : 15000000,
    "level" :6,
    "maxStack" : 1,
    "rarity" : "Legendary",
    "description" : "Sword forged by gods.",
    "shortdescription" : "OpSword",
    "tooltipKind" : "sword",
    "category" : "broadsword",
    "twoHanded" : true,
    "itemTags" : ["weapon","melee","broadsword"],

    "inventoryIcon" : "OpSword.png",

    "animation" : "/items/active/weapons/melee/broadsword/combobroadsword.animation",
    "animationParts" : {
    "handle" : "OpSword.png",
    "blade" : "OpSword.png"
    },
    "animationCustom" : { },

    "scripts" : ["/items/active/weapons/melee/meleeweapon.lua"],

    "elementalType" : "electirc",

    "primaryAbilityType" : "broadswordcombo",
    "primaryAbility" : {
    "fireTime" : 0.58,
    "baseDps" : 120000
    },

    "altAbilityType" : "flipslash",

    "builder" : "/items/buildscripts/buildunrandweapon.lua"
    }
     
  2. slowcold

    slowcold Pangalactic Porcupine

    Code:
    "elementalType" : "electirc",
    Might want to change electirc to electric.

    Or name your character Arthur :p (I wasn't going to miss that chance for a bad joke)
     
  3. vojta21212

    vojta21212 Aquatic Astronaut

    im retarded
     
    DrPvtSkittles likes this.
  4. slowcold

    slowcold Pangalactic Porcupine

    Happens to us all, my friend.
     
  5. vojta21212

    vojta21212 Aquatic Astronaut

    Thanks for solving my problem i can continue modiing again,
     
    slowcold likes this.

Share This Page