Skip to content

Commit

Permalink
pus status effect on ocucannons projectiles
Browse files Browse the repository at this point in the history
  • Loading branch information
Kherae committed Jul 10, 2024
1 parent 97827ff commit 0ecfae0
Show file tree
Hide file tree
Showing 4 changed files with 237 additions and 234 deletions.
157 changes: 79 additions & 78 deletions items/active/weapons/ranged/unique/eyecannon.activeitem
Original file line number Diff line number Diff line change
@@ -1,94 +1,95 @@
{
"itemName" : "eyecannon",
"price" : 160,
"inventoryIcon" : "eyecannon.png",
"maxStack" : 1,
"rarity" : "rare",
"description" : "A powerful and bizarre biological weapon.
"itemName" : "eyecannon",
"price" : 160,
"inventoryIcon" : "eyecannon.png",
"maxStack" : 1,
"rarity" : "rare",
"description" : "A powerful and bizarre biological weapon.
^yellow;Inflicts pus effect, morphs tiles^reset;
^green;Multi-explosion, weird physics^reset;",
"shortdescription" : "Ocu Cannon",
"category" : "bioweapon",
"level" : 5,
"tooltipKind" : "gun2",
"weaponType" : "Bio-Tech",
"itemTags" : ["weapon","ranged","grenadelauncher", "bioweapon", "upgradeableWeapon"],
"twoHanded" : true,
"shortdescription" : "Ocu Cannon",
"category" : "bioweapon",
"level" : 5,
"tooltipKind" : "gun2",
"weaponType" : "Bio-Tech",
"itemTags" : ["weapon","ranged","grenadelauncher", "bioweapon", "upgradeableWeapon"],
"twoHanded" : true,

"animation" : "/items/active/weapons/ranged/gun.animation",
"animationParts" : {
"butt" : "",
"middle" : "eyecannon.png",
"barrel" : "",
"muzzleFlash" : "/animations/muzzleflash/goreflash1.png"
},
"animationCustom" : {
"sounds" : {
"fire" : [ "/sfx/projectiles/goo_spit1.ogg" ]
}
},
"animation" : "/items/active/weapons/ranged/gun.animation",
"animationParts" : {
"butt" : "",
"middle" : "eyecannon.png",
"barrel" : "",
"muzzleFlash" : "/animations/muzzleflash/goreflash1.png"
},
"animationCustom" : {
"sounds" : {
"fire" : [ "/sfx/projectiles/goo_spit1.ogg" ]
}
},

"baseOffset" : [1.26, 0.4],
"muzzleOffset" : [1, 0.125],
"handGrip" : "wrap",
"scripts" : ["/items/active/weapons/ranged/gun.lua"],
"baseOffset" : [1.26, 0.4],
"muzzleOffset" : [1, 0.125],
"handGrip" : "wrap",
"scripts" : ["/items/active/weapons/ranged/gun.lua"],

"elementalType" : "bioweapon",
"elementalType" : "bioweapon",

"primaryAbility" : {
"scripts" : ["/items/active/weapons/ranged/gunfire.lua"],
"class" : "GunFire",
"fireTime" : 1.2,
"baseDps" : 5.35,
"energyUsage" : 47.5,
"inaccuracy" : 0.05,
"primaryAbility" : {
"scripts" : ["/items/active/weapons/ranged/gunfire.lua"],
"class" : "GunFire",
"fireTime" : 1.2,
"baseDps" : 5.35,
"energyUsage" : 47.5,
"inaccuracy" : 0.05,

"projectileCount" : 1,
"fireType" : "auto",
"projectileCount" : 1,
"fireType" : "auto",

"projectileType" : "ocucannonshot",
"projectileParameters" : {
"damageKind" : "bioweapon",
"speed" : 50,
"knockback" : 9
},
"stances" : {
"idle" : {
"armRotation" : 0,
"weaponRotation" : 0,
"twoHanded" : true,
"projectileType" : "ocucannonshot",
"projectileParameters" : {
"damageKind" : "bioweapon",
"speed" : 50,
"knockback" : 9,
"statusEffects":["puseffect","weakpoison"]
},
"stances" : {
"idle" : {
"armRotation" : 0,
"weaponRotation" : 0,
"twoHanded" : true,

"allowRotate" : true,
"allowFlip" : true
},
"fire" : {
"duration" : 0,
"armRotation" : 5,
"weaponRotation" : 5,
"twoHanded" : true,
"allowRotate" : true,
"allowFlip" : true
},
"fire" : {
"duration" : 0,
"armRotation" : 5,
"weaponRotation" : 5,
"twoHanded" : true,

"allowRotate" : false,
"allowFlip" : false
},
"cooldown" : {
"duration" : 0.075,
"armRotation" : 5,
"weaponRotation" : 5,
"twoHanded" : true,
"allowRotate" : false,
"allowFlip" : false
},
"cooldown" : {
"duration" : 0.075,
"armRotation" : 5,
"weaponRotation" : 5,
"twoHanded" : true,

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

"critChance" : 8,
"critBonus" : 12,
"isAmmoBased" : 1,
"magazineSize" : 20,
"reloadTime" : 1.2,
"critChance" : 8,
"critBonus" : 12,
"isAmmoBased" : 1,
"magazineSize" : 20,
"reloadTime" : 1.2,

"altAbilityType" : "vomitrage",
"altAbilityType" : "vomitrage",

"builder" : "/items/buildscripts/buildunrandweapon.lua"
"builder" : "/items/buildscripts/buildunrandweapon.lua"
}
144 changes: 72 additions & 72 deletions projectiles/guns/ocucannon/ocucannonshot.projectile
Original file line number Diff line number Diff line change
@@ -1,75 +1,75 @@
{
"projectileName" : "ocucannonshot",
"image" : "ocucannonshot.png",
"physics" : "fu_eyeball",
"animationCycle" : 1,
"frameNumber" : 8,
"power" : 0,
"speed" : 35,
"timeToLive" : 2.5,
"bounces" : 12,
"piercing" : false,
"damagePoly" : [ [-4, 0], [-3, -3], [0, -4], [3, -3], [4, 0], [3, 3], [0, 4], [-3, 3] ],
"damageKind" : "poison",
"projectileName" : "ocucannonshot",
"image" : "ocucannonshot.png",
"physics" : "fu_eyeball",
"animationCycle" : 1,
"frameNumber" : 8,
"power" : 0,
"speed" : 35,
"timeToLive" : 2.5,
"bounces" : 12,
"piercing" : false,
"damagePoly" : [ [-4, 0], [-3, -3], [0, -4], [3, -3], [4, 0], [3, 3], [0, 4], [-3, 3] ],
"damageKind" : "poison",
"statusEffects":["puseffect"],
"actionOnCollide" : [
{
"action" : "config",
"file" : "/projectiles/explosions/fubloodexplosion/fubloodexplosion.config"
},
{
"action" : "sound",
"options" : [
"/sfx/blocks/footstep_brains.ogg",
"/sfx/projectiles/goocluster_pop.ogg",
"/sfx/projectiles/bonebounce1.ogg",
"/sfx/projectiles/bonebounce3.ogg",
"/sfx/projectiles/bonebounce5.ogg"
]
}
],

"actionOnCollide" : [
{
"action" : "config",
"file" : "/projectiles/explosions/fubloodexplosion/fubloodexplosion.config"
},
{
"action" : "sound",
"options" : [
"/sfx/blocks/footstep_brains.ogg",
"/sfx/projectiles/goocluster_pop.ogg",
"/sfx/projectiles/bonebounce1.ogg",
"/sfx/projectiles/bonebounce3.ogg",
"/sfx/projectiles/bonebounce5.ogg"
]
}
],

"actionOnReap" : [
{
"action" : "config",
"file" : "/projectiles/explosions/fubloodexplosion/fubloodexplosion.config"
},
{
"action" : "liquid",
"liquid" : "pus",
"quantity" : 0.2
},
{
"action" : "applySurfaceMod",
"previousMod" : "metamod:none",
"newMod" : "tentaclegrass",
"radius" : 1
},
{
"action" : "projectile",
"type" : "ocucannonspray",
"fuzzAngle" : 20,
"inheritDamageFactor" : 0.3
},
{
"action" : "loop",
"count" : 6,
"body" : [
{
"action" : "particle",
"specification" : {
"type" : "ember",
"size" : 3,
"color" : [240, 50, 80, 200],
"initialVelocity" : [0.0, -500.0],
"timeToLive" : 0.25,
"fade" : 0.8,
"destructionAction" : "shrink",
"destructionTime" : 0.25,
"layer" : "middle"
}
}
]
}
]
"actionOnReap" : [
{
"action" : "config",
"file" : "/projectiles/explosions/fubloodexplosion/fubloodexplosion.config"
},
{
"action" : "liquid",
"liquid" : "pus",
"quantity" : 0.2
},
{
"action" : "applySurfaceMod",
"previousMod" : "metamod:none",
"newMod" : "tentaclegrass",
"radius" : 1
},
{
"action" : "projectile",
"type" : "ocucannonspray",
"fuzzAngle" : 20,
"inheritDamageFactor" : 0.3
},
{
"action" : "loop",
"count" : 6,
"body" : [
{
"action" : "particle",
"specification" : {
"type" : "ember",
"size" : 3,
"color" : [240, 50, 80, 200],
"initialVelocity" : [0.0, -500.0],
"timeToLive" : 0.25,
"fade" : 0.8,
"destructionAction" : "shrink",
"destructionTime" : 0.25,
"layer" : "middle"
}
}
]
}
]
}
Loading

0 comments on commit 0ecfae0

Please sign in to comment.