Skip to content

Commit

Permalink
changes the tank flamer back to a 5 tile radius glob
Browse files Browse the repository at this point in the history
  • Loading branch information
VileBeggar committed Jun 27, 2024
1 parent 4fff70a commit acb92cc
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 3 deletions.
15 changes: 14 additions & 1 deletion code/datums/ammo/misc.dm
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,21 @@

/datum/ammo/flamethrower/tank_flamer
flamer_reagent_id = "napalmx"

max_range = 8
icon_state = "pulse1"

/datum/ammo/flamethrower/tank_flamer/drop_flame(turf/turf, datum/cause_data/cause_data)
if(!istype(turf))
return

var/datum/reagent/napalm/blue/reagent = new()
reagent.durationfire = BURN_TIME_TIER_1
new /obj/flamer_fire(turf, cause_data, reagent, 2)

var/datum/effect_system/smoke_spread/landingsmoke = new /datum/effect_system/smoke_spread
landingsmoke.set_up(2, 0, turf, null, 4, cause_data)
landingsmoke.start()
landingsmoke = null

/datum/ammo/flamethrower/sentry_flamer
flags_ammo_behavior = AMMO_IGNORE_ARMOR|AMMO_IGNORE_COVER|AMMO_FLAME
Expand Down
2 changes: 1 addition & 1 deletion code/game/objects/effects/effect_system/smoke.dm
Original file line number Diff line number Diff line change
Expand Up @@ -731,7 +731,7 @@
location = get_turf(loca)
if(direct)
direction = direct
if(lifetime)
if(smoke_time)
lifetime = smoke_time
radius = min(radius, 10)
amount = radius
Expand Down
2 changes: 1 addition & 1 deletion code/modules/vehicles/hardpoints/primary/flamer.dm
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/obj/item/hardpoint/primary/flamer
name = "DRG-N Offensive Flamer Unit"
desc = "A primary weapon for the tank that spews fire everywhere."
desc = "A primary weapon for the tank that spews out a custom variant of X-Napathal in a wide radius. The fuel burns intensely and quickly, which allows for it to be used offensively by armoured vehicles."

icon_state = "drgn_flamer"
disp_icon = "tank"
Expand Down

0 comments on commit acb92cc

Please sign in to comment.