Skip to content

Commit

Permalink
tungsten tier bugnet
Browse files Browse the repository at this point in the history
adds a new bugnet without the ridiculously annoying swing delay and a
bit more fire rate (1.5 to 1.0)
  • Loading branch information
sayterdarkwynd committed Sep 16, 2016
1 parent df6f652 commit 701bef6
Show file tree
Hide file tree
Showing 9 changed files with 207 additions and 0 deletions.
74 changes: 74 additions & 0 deletions items/active/unsorted/bugnet/bugnet2.activeitem
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
{
"itemName" : "bugnet2",
"price" : 20,
"level" : 1,
"maxStack" : 1,
"rarity" : "Common",
"category" : "Tool",
"tooltipKind" : "tool",
"description" : "A net for catching bugs!Faster than the crappier one!",
"shortdescription" : "Superior Bug Net",
"twoHanded" : true,
"itemTags" : [],
"inventoryIcon" : "bugnet2icon.png",
"largeImage" : "bugnet2big.png",

"animation" : "/items/active/unsorted/bugnet/bugnet.animation",
"animationParts" : {
"bugnet" : "bugnet2.png",
"swoosh" : "swoosh2.png"
},

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

"elementalType" : "physical",

"primaryAbility" : {
"scripts" : ["/items/active/weapons/melee/meleeslash.lua"],
"class" : "MeleeSlash",

"fireTime" : 1.0,
"baseDps" : 0.01,
"damageConfig" : {
"damageSourceKind" : "bugnet",
"statusEffects" : [ ],
"knockback" : 0,
"knockbackMode" : "facing",
"timeoutGroup" : "primary"
},
"stances" : {
"idle" : {
"armRotation" : -90,
"weaponRotation" : -10,
"allowRotate" : false,
"allowFlip" : true
},
"windup" : {
"duration" : 0.15,
"armRotation" : 60,
"weaponRotation" : 10,
"twoHanded" : true,

"allowRotate" : false,
"allowFlip" : true,

"animationStates" : {
"net" : "hang"
}
},
"fire" : {
"duration" : 0.2,
"armRotation" : -45,
"weaponRotation" : -55,
"twoHanded" : true,

"allowRotate" : false,
"allowFlip" : false,

"animationStates" : {
"net" : "swing"
}
}
}
}
}
109 changes: 109 additions & 0 deletions items/active/unsorted/bugnet/bugnet2.animation
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
{
"animatedParts" : {
"stateTypes" : {
"net" : {
"default" : "idle",
"states" : {
"idle" : {

},
"hang" : {
"frames" : 2,
"cycle" : 0.2,
"mode" : "end"
},
"swing" : {
"frames" : 2,
"cycle" : 0.25,
"mode" : "transition",
"transition" : "idle"
}
}
},
"swoosh" : {
"default" : "idle",
"states" : {
"idle" : {},
"fire" : {
"frames" : 3,
"cycle" : 0.15,
"mode" : "transition",
"transition" : "idle"
}
}
}
},

"parts" : {
"bugnet" : {
"properties" : {
"zLevel" : 0,
"centered" : true,
"offset" : [-0.75, 1.0],
"transformationGroups" : ["weapon"]
},

"partStates" : {
"net" : {
"idle" : {
"properties" : {
"image" : "<partImage>:idle"
}
},
"hang" : {
"properties" : {
"image" : "<partImage>:hang.<frame>"
}
},
"swing" : {
"properties" : {
"image" : "<partImage>:swing.<frame>"
}
}
}
}
},

"swoosh" : {
"properties" : {
"zLevel" : -1,
"centered" : true,
"offset" : [1.0, 1.75],
"transformationGroups" : ["swoosh"],
"rotationCenter" : [0, 0]
},

"partStates" : {
"swoosh" : {
"idle" : {
"properties" : {
"image" : ""
}
},
"fire" : {
"properties" : {
"image" : "<partImage>:<frame>",
"damageArea" : [[-2.25, 1.75], [-1, 2.25], [0.25, 2.25], [2, 1.5], [3.0, -0.125], [3.0, -1.25], [2.5, -2.0], [1.0, -2.0]]
}
}
}
}
}
}
},

"transformationGroups" : {
"weapon" : {},
"swoosh" : {}
},

"particleEmitters" : {
"physicalswoosh" : {
"particles" : []
}
},

"sounds" : {
"fire" : ["/sfx/melee/swing_broadsword.ogg"]
}
}
12 changes: 12 additions & 0 deletions items/active/unsorted/bugnet/bugnet2.frames
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"frameGrid" : {
"size" : [17, 43],
"dimensions" : [3, 1],
"names" : [ [ "swing.1", "swing.2", "idle" ] ]
},

"aliases" : {
"hang.1" : "swing.2",
"hang.2" : "swing.1"
}
}
Binary file added items/active/unsorted/bugnet/bugnet2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added items/active/unsorted/bugnet/bugnet2big.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added items/active/unsorted/bugnet/bugnet2icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added items/active/unsorted/bugnet/swoosh2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions items/generic/crafting/tungstenbar.item.patch
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[
{"op":"add","path":"/learnBlueprintsOnPickup","value": [
"bugnet2",
"mantizitier2pants",
"mantizitier2head",
"mantizitier2chest",
Expand Down
11 changes: 11 additions & 0 deletions recipes/farmtable1/bugnet2.recipe
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"input" : [
{ "item" : "tungstenbar", "count" : 5 },
{ "item" : "silk", "count" : 3 }
],
"output" : {
"item" : "bugnet2",
"count" : 1
},
"groups" : [ "craftingfarm", "hunting" ]
}

0 comments on commit 701bef6

Please sign in to comment.