Skip to content

Commit

Permalink
well at least it kills things?
Browse files Browse the repository at this point in the history
  • Loading branch information
KoishiVibe committed Jul 26, 2024
1 parent d0f2e6c commit 1fbcb94
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
16 changes: 11 additions & 5 deletions code/datums/ammo/shrapnel.dm
Original file line number Diff line number Diff line change
Expand Up @@ -37,19 +37,25 @@
/datum/ammo/bullet/shrapnel/claymore
name = "claymore pellet"
icon_state = "buckshot"
accurate_range_min = 5
accurate_range_min = 0
flags_ammo_behavior = AMMO_BALLISTIC|AMMO_STOPPED_BY_COVER

accuracy = HIT_ACCURACY_TIER_3
accuracy = HIT_ACCURACY_TIER_10
accurate_range = 32
max_range = 8
damage = 30
damage_var_low = -PROJECTILE_VARIANCE_TIER_5
damage_var_high = PROJECTILE_VARIANCE_TIER_5
damage = 40
damage_var_low = 0
damage_var_high = 0
penetration = 0
shell_speed = AMMO_SPEED_TIER_2
shrapnel_chance = 10

/datum/ammo/bullet/shrapnel/claymore/set_bullet_traits()
. = ..()
LAZYADD(traits_to_give, list(
BULLET_TRAIT_ENTRY(/datum/element/bullet_trait_penetrating)
))

/datum/ammo/bullet/shrapnel/hornet_rounds
name = ".22 hornet round"
icon_state = "hornet_round"
Expand Down
2 changes: 1 addition & 1 deletion code/game/objects/items/explosives/mine.dm
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@
set waitfor = 0

if(!customizable)
create_shrapnel(loc, 24, dir, angle, /datum/ammo/bullet/shrapnel/claymore, cause_data)
create_shrapnel(loc, 60, dir, angle, /datum/ammo/bullet/shrapnel/claymore, cause_data)
cell_explosion(loc, 40, 20, EXPLOSION_FALLOFF_SHAPE_LINEAR, dir, cause_data)
qdel(src)
else
Expand Down

0 comments on commit 1fbcb94

Please sign in to comment.