mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
QoL: Projectiles
This commit is contained in:
@@ -14,6 +14,8 @@
|
||||
light_range = 2
|
||||
light_power = 0.5
|
||||
light_color = "#FF0D00"
|
||||
hitsound = 'sound/weapons/sear.ogg'
|
||||
hitsound_wall = 'sound/weapons/effects/searwall.ogg'
|
||||
|
||||
muzzle_type = /obj/effect/projectile/muzzle/laser
|
||||
tracer_type = /obj/effect/projectile/tracer/laser
|
||||
@@ -211,6 +213,7 @@
|
||||
agony = 40
|
||||
damage_type = HALLOSS
|
||||
light_color = "#FFFFFF"
|
||||
hitsound = 'sound/weapons/zapbang.ogg'
|
||||
|
||||
combustion = FALSE
|
||||
|
||||
@@ -257,3 +260,4 @@
|
||||
damage = 30
|
||||
agony = 15
|
||||
eyeblur = 2
|
||||
hitsound = 'sound/weapons/zapbang.ogg'
|
||||
|
||||
@@ -8,6 +8,8 @@
|
||||
check_armour = "bullet"
|
||||
embed_chance = 20 //Modified in the actual embed process, but this should keep embed chance about the same
|
||||
sharp = 1
|
||||
hitsound_wall = "ricochet"
|
||||
impact_effect_type = /obj/effect/temp_visual/impact_effect
|
||||
var/mob_passthrough_check = 0
|
||||
|
||||
muzzle_type = /obj/effect/projectile/muzzle/bullet
|
||||
|
||||
@@ -4,6 +4,11 @@
|
||||
damage = 0
|
||||
damage_type = BURN
|
||||
check_armour = "energy"
|
||||
|
||||
impact_effect_type = /obj/effect/temp_visual/impact_effect
|
||||
hitsound_wall = 'sound/weapons/effects/searwall.ogg'
|
||||
hitsound = 'sound/weapons/zapbang.ogg'
|
||||
|
||||
var/flash_strength = 10
|
||||
|
||||
//releases a burst of light on impact or after travelling a distance
|
||||
@@ -11,6 +16,7 @@
|
||||
name = "chemical shell"
|
||||
icon_state = "bullet"
|
||||
fire_sound = 'sound/weapons/gunshot_pathetic.ogg'
|
||||
hitsound_wall = null
|
||||
damage = 5
|
||||
range = 15 //if the shell hasn't hit anything after travelling this far it just explodes.
|
||||
var/flash_range = 0
|
||||
@@ -91,6 +97,7 @@
|
||||
light_range = 2
|
||||
light_power = 0.5
|
||||
light_color = "#33CC00"
|
||||
impact_effect_type = /obj/effect/temp_visual/impact_effect/monochrome_laser
|
||||
|
||||
combustion = FALSE
|
||||
|
||||
@@ -157,6 +164,7 @@
|
||||
light_range = 2
|
||||
light_power = 0.5
|
||||
light_color = "#33CC00"
|
||||
impact_effect_type = /obj/effect/temp_visual/impact_effect/monochrome_laser
|
||||
|
||||
combustion = FALSE
|
||||
|
||||
@@ -209,10 +217,11 @@
|
||||
pass_flags = PASSTABLE | PASSGLASS | PASSGRILLE
|
||||
damage_type = BURN
|
||||
check_armour = "energy"
|
||||
light_color = "#0000FF"
|
||||
light_color = "#00AAFF"
|
||||
|
||||
embed_chance = 0
|
||||
muzzle_type = /obj/effect/projectile/muzzle/pulse
|
||||
impact_effect_type = /obj/effect/temp_visual/impact_effect/monochrome_laser
|
||||
|
||||
/obj/item/projectile/energy/phase
|
||||
name = "phase wave"
|
||||
|
||||
@@ -7,6 +7,9 @@
|
||||
|
||||
combustion = FALSE
|
||||
|
||||
impact_effect_type = /obj/effect/temp_visual/impact_effect/blue_laser
|
||||
hitsound_wall = 'sound/weapons/effects/searwall.ogg'
|
||||
|
||||
/obj/item/projectile/forcebolt/strong
|
||||
name = "force bolt"
|
||||
|
||||
|
||||
@@ -11,6 +11,9 @@
|
||||
light_color = "#55AAFF"
|
||||
|
||||
combustion = FALSE
|
||||
impact_effect_type = /obj/effect/temp_visual/impact_effect/ion
|
||||
hitsound_wall = 'sound/weapons/effects/searwall.ogg'
|
||||
hitsound = 'sound/weapons/ionrifle.ogg'
|
||||
|
||||
var/sev1_range = 0
|
||||
var/sev2_range = 1
|
||||
@@ -18,8 +21,8 @@
|
||||
var/sev4_range = 1
|
||||
|
||||
/obj/item/projectile/ion/on_impact(var/atom/target)
|
||||
empulse(target, sev1_range, sev2_range, sev3_range, sev4_range)
|
||||
return 1
|
||||
empulse(target, sev1_range, sev2_range, sev3_range, sev4_range)
|
||||
..()
|
||||
|
||||
/obj/item/projectile/ion/small
|
||||
sev1_range = -1
|
||||
@@ -58,6 +61,7 @@
|
||||
light_range = 2
|
||||
light_power = 0.5
|
||||
light_color = "#55AAFF"
|
||||
impact_effect_type = /obj/effect/temp_visual/impact_effect/monochrome_laser
|
||||
|
||||
combustion = FALSE
|
||||
|
||||
@@ -133,6 +137,7 @@
|
||||
light_range = 2
|
||||
light_power = 0.5
|
||||
light_color = "#33CC00"
|
||||
impact_effect_type = /obj/effect/temp_visual/impact_effect/monochrome_laser
|
||||
|
||||
combustion = FALSE
|
||||
|
||||
@@ -189,6 +194,7 @@
|
||||
light_range = 2
|
||||
light_power = 0.5
|
||||
light_color = "#FFFFFF"
|
||||
impact_effect_type = /obj/effect/temp_visual/impact_effect/monochrome_laser
|
||||
|
||||
/obj/item/projectile/energy/florayield/on_hit(var/atom/target, var/blocked = 0)
|
||||
var/mob/M = target
|
||||
@@ -211,6 +217,7 @@
|
||||
if(ishuman(target))
|
||||
var/mob/living/carbon/human/M = target
|
||||
M.Confuse(rand(5,8))
|
||||
..()
|
||||
|
||||
/obj/item/projectile/chameleon
|
||||
name = "bullet"
|
||||
|
||||
Reference in New Issue
Block a user