mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-17 11:05:16 +01:00
Accelerator Rounds
This commit is contained in:
@@ -153,4 +153,37 @@
|
||||
forcedodge = 1
|
||||
stun = 0
|
||||
weaken = 0
|
||||
breakthings = FALSE
|
||||
breakthings = FALSE
|
||||
|
||||
|
||||
|
||||
//Accelerator ammo
|
||||
|
||||
/obj/item/ammo_box/magazine/sniper_rounds/accelerator
|
||||
name = "sniper rounds (penetrator)"
|
||||
desc = "An advanced round which gains more power the farther it flies."
|
||||
ammo_type = /obj/item/ammo_casing/accelerator
|
||||
max_ammo = 5
|
||||
|
||||
/obj/item/ammo_casing/accelerator
|
||||
desc = "A .50 caliber accelerator round casing."
|
||||
caliber = ".50"
|
||||
projectile_type = /obj/item/projectile/bullet/sniper/accelerator
|
||||
icon_state = ".50"
|
||||
|
||||
/obj/item/projectile/bullet/sniper/accelerator
|
||||
icon_state = "red_laser"
|
||||
name = "accelerator round"
|
||||
damage = 5
|
||||
stun = 0
|
||||
weaken = 0
|
||||
breakthings = FALSE
|
||||
|
||||
/obj/item/projectile/bullet/sniper/accelerator/Range()
|
||||
..()
|
||||
damage += 5
|
||||
if(damage > 40)
|
||||
icon_state = "heavylaser"
|
||||
breakthings = TRUE
|
||||
else if(damage > 25)
|
||||
icon_state = "laser"
|
||||
Reference in New Issue
Block a user