Skip to content

Commit

Permalink
graviton pistol elemental icon fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Kherae committed Jul 9, 2024
1 parent 35ce5d7 commit 0b34f21
Show file tree
Hide file tree
Showing 2 changed files with 137 additions and 137 deletions.
154 changes: 77 additions & 77 deletions items/active/weapons/ranged/unique/gravitonpistol.activeitem
Original file line number Diff line number Diff line change
@@ -1,91 +1,91 @@
{
"itemName" : "gravitonpistol",
"price" : 120,
"inventoryIcon" : "gravitonpistol.png",
"maxStack" : 1,
"rarity" : "rare",
"description" : "Micro-gravity turned into a weapon.
"itemName" : "gravitonpistol",
"price" : 120,
"inventoryIcon" : "gravitonpistol.png",
"maxStack" : 1,
"rarity" : "rare",
"description" : "Micro-gravity turned into a weapon.
^yellow;Short-ranged^reset;
^green;Huge knockback^reset;",
"shortdescription" : "Graviton Pistol",
"level" : 5,
"category" : "machinePistol",
"itemTags" : ["weapon","ranged","machinepistol", "energy", "upgradeableWeapon","gravity"],
"tooltipKind" : "gun2",
"twoHanded" : false,
"weaponType" : "Energy",
// "learnBlueprintsOnPickup" : [ "gravitongun" ],
"shortdescription" : "Graviton Pistol",
"level" : 5,
"category" : "machinePistol",
"itemTags" : ["weapon","ranged","machinepistol", "energy", "upgradeableWeapon","gravity"],
"tooltipKind" : "gun2",
"twoHanded" : false,
"weaponType" : "Energy",
// "learnBlueprintsOnPickup" : [ "gravitongun" ],


"animation" : "/items/active/weapons/ranged/gun.animation",
"animationParts" : {
"butt" : "",
"middle" : "gravitonpistol.png",
"barrel" : "",
"muzzleFlash" : "/animations/muzzleflash/matterblastmuzzlepurple.png"
},
"animation" : "/items/active/weapons/ranged/gun.animation",
"animationParts" : {
"butt" : "",
"middle" : "gravitonpistol.png",
"barrel" : "",
"muzzleFlash" : "/animations/muzzleflash/matterblastmuzzlepurple.png"
},

"animationCustom" : {
"sounds" : {
"fire" : [ "/sfx/weapons/gravitongun.ogg" ],
"cooldown" : [ "/sfx/interface/aichatter2.ogg" ]
},
"lights" : { "muzzleFlash" : {"color" : [75, 0, 124] } }
},
"animationCustom" : {
"sounds" : {
"fire" : [ "/sfx/weapons/gravitongun.ogg" ],
"cooldown" : [ "/sfx/interface/aichatter2.ogg" ]
},
"lights" : { "muzzleFlash" : {"color" : [75, 0, 124] } }
},

"baseOffset" : [0.67, 0.3],
"muzzleOffset" : [1.5, 0.125],
"baseOffset" : [0.67, 0.3],
"muzzleOffset" : [1.5, 0.125],

"scripts" : ["/items/active/weapons/ranged/gun.lua"],
"scripts" : ["/items/active/weapons/ranged/gun.lua"],

"elementalType" : "electric",
"elementalType" : "cosmic",

"isReloader" : 1,
"isReloader" : 1,

"primaryAbility" : {
"scripts" : ["/items/active/weapons/ranged/gunfire.lua"],
"class" : "GunFire",
"fireTime" : 0.5,
"baseDps" : 5.5,
"energyUsage" : 30,
"fireType" : "auto",
"inaccuracy" : 0,
"projectileCount" : 1,
"projectileType" : "gravitonorbsmall4",
"projectileParameters" : {
"speed" : 42,
"knockback" : 12,
"timeToLive" : 0.6
},
"stances" : {
"idle":{
"armRotation":0,
"weaponRotation":0,
"twoHanded":false,
"allowRotate":true,
"allowFlip":true
},
"fire":{
"duration":0.1,
"armRotation":3,
"weaponRotation":8,
"twoHanded":false,
"allowRotate":false,
"allowFlip":true
},
"cooldown":{
"duration":0.2,
"armRotation":-7,
"weaponRotation":-360,
"twoHanded":false,
"allowRotate":false,
"allowFlip":true
}
}
},
"primaryAbility" : {
"scripts" : ["/items/active/weapons/ranged/gunfire.lua"],
"class" : "GunFire",
"fireTime" : 0.5,
"baseDps" : 5.5,
"energyUsage" : 30,
"fireType" : "auto",
"inaccuracy" : 0,
"projectileCount" : 1,
"projectileType" : "gravitonorbsmall4",
"projectileParameters" : {
"speed" : 42,
"knockback" : 12,
"timeToLive" : 0.6
},
"stances" : {
"idle":{
"armRotation":0,
"weaponRotation":0,
"twoHanded":false,
"allowRotate":true,
"allowFlip":true
},
"fire":{
"duration":0.1,
"armRotation":3,
"weaponRotation":8,
"twoHanded":false,
"allowRotate":false,
"allowFlip":true
},
"cooldown":{
"duration":0.2,
"armRotation":-7,
"weaponRotation":-360,
"twoHanded":false,
"allowRotate":false,
"allowFlip":true
}
}
},

"critChance" : 1,
"critBonus" : 5,
"critChance" : 1,
"critBonus" : 5,

"builder" : "/items/buildscripts/buildunrandweapon.lua"
"builder" : "/items/buildscripts/buildunrandweapon.lua"
}
120 changes: 60 additions & 60 deletions projectiles/guns/gravitonorbsmall/gravitonorbsmall4.projectile
Original file line number Diff line number Diff line change
@@ -1,66 +1,66 @@
{
"projectileName" : "gravitonorbsmall4",
"image" : "gravitonorbsmall.png",
"animationCycle" : 0.6,
"physics" : "laser",
"frameNumber" : 10,
"pointLight" : true,
"lightColor" : [120,0,120],
"damagePoly" : [ [-18, 0], [-6, -6], [0, -18], [6, -6], [18, 0], [6, 6], [0, 18], [-6, 6] ],
"speed" : 30,
"piercing" : true,
"timeToLive" : 0.6,
"fullbright" : true,
"emitters" : [ "jellyplasma" ],
"knockback" : 24,
"actionOnReap" : [
{
"action" : "config",
"file" : "/projectiles/explosions/globeexplosions/magentaglobeexplosion/magentaglobeexplosion.config"
}
],
"damageKind" : "cosmicplasma",
"periodicActions":[
{
"action":"particle",
"repeat":true,
"rotate":true,
"specification":{
"destructionAction":"fade",
"destructionTime":0.2,
"fullbright":true,
"image":"/projectiles/guns/gravitonorbsmall/gravitonorbsmall.png:3",
"layer":"back",
"position":[0,0],
"timeToLive":0,
"type":"textured"
},
"time":0
},
"projectileName" : "gravitonorbsmall4",
"image" : "gravitonorbsmall.png",
"animationCycle" : 0.6,
"physics" : "laser",
"frameNumber" : 10,
"pointLight" : true,
"lightColor" : [120,0,120],
"damagePoly" : [ [-18, 0], [-6, -6], [0, -18], [6, -6], [18, 0], [6, 6], [0, 18], [-6, 6] ],
"speed" : 30,
"piercing" : true,
"timeToLive" : 0.6,
"fullbright" : true,
"emitters" : [ "jellyplasma" ],
"knockback" : 24,
"actionOnReap" : [
{
"action" : "config",
"file" : "/projectiles/explosions/globeexplosions/magentaglobeexplosion/magentaglobeexplosion.config"
}
],
"damageKind" : "cosmicplasma",
"periodicActions":[
{
"action":"particle",
"repeat":true,
"rotate":true,
"specification":{
"destructionAction":"fade",
"destructionTime":0.2,
"fullbright":true,
"image":"/projectiles/guns/gravitonorbsmall/gravitonorbsmall.png:3",
"layer":"back",
"position":[0,0],
"timeToLive":0,
"type":"textured"
},
"time":0
},

{
"action":"particle",
"repeat":true,
"rotate":true,
"specification":{
"destructionAction":"fade",
"destructionTime":0.2,
"fullbright":true,
"image":"/projectiles/guns/gravitonorbsmall/gravitonorbsmall.png:4",
"layer":"back",
"position":[0,0],
"timeToLive":0.03,
"type":"textured"
},
"time":0.05
}
],
{
"action":"particle",
"repeat":true,
"rotate":true,
"specification":{
"destructionAction":"fade",
"destructionTime":0.2,
"fullbright":true,
"image":"/projectiles/guns/gravitonorbsmall/gravitonorbsmall.png:4",
"layer":"back",
"position":[0,0],
"timeToLive":0.03,
"type":"textured"
},
"time":0.05
}
],

"scripts" : ["/scripts/projectiles/sinewaveprojectile.lua"],
"scriptDelta" : 1,
"scripts" : ["/scripts/projectiles/sinewaveprojectile.lua"],
"scriptDelta" : 1,

"wavePeriod" : 0.35,
"waveAmplitude" : 0.6,
"wavePeriod" : 0.35,
"waveAmplitude" : 0.6,

"persistentAudio" : "/sfx/projectiles/raygun_wobble_loop.ogg"
"persistentAudio" : "/sfx/projectiles/raygun_wobble_loop.ogg"
}

0 comments on commit 0b34f21

Please sign in to comment.