Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Claymores & Mine Tweaks #2988

Merged
merged 24 commits into from
Oct 22, 2024
Merged
Show file tree
Hide file tree
Changes from 21 commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
b6d0ab6
la bomba
Sun-Soaked May 13, 2024
db41fdd
fixes create & destroy test (I think)
Sun-Soaked May 13, 2024
872235f
Merge branch 'master' into claymores
Sun-Soaked May 15, 2024
ec9c747
plasma claymores
Sun-Soaked May 22, 2024
38629df
oops
Sun-Soaked May 22, 2024
eaff52b
Merge remote-tracking branch 'upstream/master' into claymores
Sun-Soaked May 23, 2024
2bfe2a8
cargo claymores
Sun-Soaked May 23, 2024
56ab18e
oops again
Sun-Soaked May 23, 2024
cbb2131
Merge remote-tracking branch 'upstream/master' into claymores
Sun-Soaked Jun 2, 2024
4e35bce
violent thought...
Sun-Soaked Jun 4, 2024
941f2ec
Merge branch 'master' into claymores
Sun-Soaked Jun 4, 2024
3ba3ff4
this is gonna be hilarious
Sun-Soaked Jun 4, 2024
0fc172a
Merge branch 'master' into claymores
Sun-Soaked Jun 4, 2024
16259b3
Merge remote-tracking branch 'upstream/master' into claymores
Sun-Soaked Jun 6, 2024
8750c47
Merge remote-tracking branch 'upstream/master' into claymores
Sun-Soaked Jul 12, 2024
c18e1e8
it's minover
Sun-Soaked Jul 25, 2024
8583930
Merge branch 'master' into claymores
Sun-Soaked Aug 28, 2024
b9314ae
Merge branch 'master' into claymores
Sun-Soaked Sep 6, 2024
e4afbbc
Merge remote-tracking branch 'upstream/master' into claymores
Sun-Soaked Sep 29, 2024
4e73025
sanity check
Sun-Soaked Sep 29, 2024
82b9857
Merge branch 'master' into claymores
Sun-Soaked Sep 29, 2024
f29a6ed
another pr sterilized
Sun-Soaked Oct 22, 2024
b1030b4
Merge branch 'master' into claymores
Sun-Soaked Oct 22, 2024
cf5fc3c
Merge branch 'master' into claymores
Sun-Soaked Oct 22, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 10 additions & 3 deletions code/datums/components/pellet_cloud.dm
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,10 @@


/datum/component/pellet_cloud/proc/create_casing_pellets(obj/item/ammo_casing/shell, atom/target, mob/living/user, fired_from, randomspread, spread, zone_override, params, distro)
shooter = user
if(user)
shooter = user
else
shooter = fired_from
var/targloc = get_turf(target)
if(!zone_override)
zone_override = shooter.zone_selected
Expand All @@ -106,8 +109,12 @@
RegisterSignal(shell.BB, COMSIG_PROJECTILE_SELF_ON_HIT, PROC_REF(pellet_hit))
RegisterSignal(shell.BB, list(COMSIG_PROJECTILE_RANGE_OUT, COMSIG_PARENT_QDELETING), PROC_REF(pellet_range))
pellets += shell.BB
if(!shell.throw_proj(target, targloc, shooter, params, spread))
return
if(user)
if(!shell.throw_proj(target, targloc, shooter, params, spread))
return
else
if(!shell.throw_proj(target, targloc, null, params, spread, shooter))
return
if(i != num_pellets)
shell.newshot()

Expand Down
Loading
Loading