Skip to content

Commit

Permalink
changes to the PR since i didn't have perms to push directly
Browse files Browse the repository at this point in the history
  • Loading branch information
Zonespace27 committed Sep 24, 2024
1 parent 0ce8fff commit 9c891c6
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@
if(!bleed_heal)
goto bone

end_gun_fire()
holster_primary()
equip_item_from_equipment_map(HUMAN_AI_HEALTHITEMS, bleed_heal)
sleep(short_action_delay)
Expand All @@ -124,6 +125,7 @@
if(!bone_heal)
goto fire

end_gun_fire()
holster_primary()
equip_item_from_equipment_map(HUMAN_AI_HEALTHITEMS, bone_heal)
sleep(short_action_delay)
Expand All @@ -146,6 +148,7 @@
if(!burn_heal)
goto pain

end_gun_fire()
holster_primary()
equip_item_from_equipment_map(HUMAN_AI_HEALTHITEMS, burn_heal)
sleep(short_action_delay)
Expand All @@ -169,6 +172,7 @@
if(!painkiller)
goto tox

end_gun_fire()
holster_primary()
equip_item_from_equipment_map(HUMAN_AI_HEALTHITEMS, painkiller)
sleep(short_action_delay)
Expand All @@ -191,6 +195,7 @@
if(!tox_heal)
goto oxy

end_gun_fire()
holster_primary()
equip_item_from_equipment_map(HUMAN_AI_HEALTHITEMS, tox_heal)
sleep(short_action_delay)
Expand All @@ -212,6 +217,7 @@
if(!oxy_heal)
return

end_gun_fire()
holster_primary()
equip_item_from_equipment_map(HUMAN_AI_HEALTHITEMS, oxy_heal)
sleep(short_action_delay)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@

tied_human.face_atom(current_target)

if(get_dist(tied_human, current_target) > gun_data.maximum_range && COOLDOWN_FINISHED(src, return_fire))
if((get_dist(tied_human, current_target) > gun_data.maximum_range) && COOLDOWN_FINISHED(src, return_fire))
currently_busy = FALSE
return

Expand Down
2 changes: 1 addition & 1 deletion code/modules/projectiles/ammunition.dm
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ bullets/shells. ~N
max_rounds = 5 // For shotguns, though this will be determined by the handful type when generated.
flags_atom = FPRINT|CONDUCT
flags_magazine = AMMUNITION_HANDFUL
flags_human_ai = null
flags_human_ai = NONE
attack_speed = 3 // should make reloading less painful

/obj/item/ammo_magazine/handful/Initialize(mapload, spawn_empty)
Expand Down

0 comments on commit 9c891c6

Please sign in to comment.