mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2025-12-24 16:53:46 +00:00
* Splits projectiles into different files for readability * Update tgstation.dme * I love how the dme cleans itself up
46 lines
1.2 KiB
Plaintext
46 lines
1.2 KiB
Plaintext
/obj/item/projectile/bullet/gyro
|
|
name ="explosive bolt"
|
|
icon_state= "bolter"
|
|
damage = 50
|
|
|
|
/obj/item/projectile/bullet/gyro/on_hit(atom/target, blocked = FALSE)
|
|
..()
|
|
explosion(target, -1, 0, 2)
|
|
return TRUE
|
|
|
|
/obj/item/projectile/bullet/a84mm
|
|
name ="anti-armour rocket"
|
|
desc = "USE A WEEL GUN"
|
|
icon_state= "atrocket"
|
|
damage = 80
|
|
var/anti_armour_damage = 200
|
|
armour_penetration = 100
|
|
dismemberment = 100
|
|
|
|
/obj/item/projectile/bullet/a84mm/on_hit(atom/target, blocked = FALSE)
|
|
..()
|
|
explosion(target, -1, 1, 3, 1, 0, flame_range = 4)
|
|
|
|
if(ismecha(target))
|
|
var/obj/mecha/M = target
|
|
M.take_damage(anti_armour_damage)
|
|
if(issilicon(target))
|
|
var/mob/living/silicon/S = target
|
|
S.take_overall_damage(anti_armour_damage*0.75, anti_armour_damage*0.25)
|
|
return TRUE
|
|
|
|
/obj/item/projectile/bullet/srmrocket
|
|
name ="SRM-8 Rocket"
|
|
desc = "Boom."
|
|
icon_state = "missile"
|
|
damage = 30
|
|
ricochets_max = 0 //it's a MISSILE
|
|
|
|
/obj/item/projectile/bullet/srmrocket/on_hit(atom/target, blocked=0)
|
|
..()
|
|
if(!isliving(target)) //if the target isn't alive, so is a wall or something
|
|
explosion(target, 0, 1, 2, 4)
|
|
else
|
|
explosion(target, 0, 0, 2, 4)
|
|
return TRUE
|