Skip to content

Commit

Permalink
Makes chemical flamethrowers more efficient (#26742)
Browse files Browse the repository at this point in the history
  • Loading branch information
DGamerL authored Sep 14, 2024
1 parent 52442e6 commit 515d3eb
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@
var/canister_burn_duration = 10 SECONDS
/// How many firestacks will our reagent apply
var/canister_fire_applications = 1
/// How much ammo do we use per tile?
var/ammo_usage = 2
/// Is this a syndicate flamethrower
var/syndicate = FALSE

Expand Down Expand Up @@ -138,7 +140,7 @@
for(var/turf/simulated/T in turflist)
if(iswallturf(T)) // No going through walls
break
if(!use_ammo(3))
if(!use_ammo(ammo_usage))
to_chat(user, "<span class='warning'>You hear a click!</span>")
playsound(user, 'sound/weapons/empty.ogg', 100, TRUE)
break // Whoops! No ammo!
Expand Down

0 comments on commit 515d3eb

Please sign in to comment.