Skip to content

Commit

Permalink
>= 50 is white
Browse files Browse the repository at this point in the history
  • Loading branch information
iloveloopers committed Jun 21, 2024
1 parent 9f4b256 commit 8ff90b9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/projectiles/gun_attachables.dm
Original file line number Diff line number Diff line change
Expand Up @@ -3235,7 +3235,7 @@ Defined in conflicts.dm of the #defines folder.
ammo_datum.flamer_reagent_id = flamer_reagent.id
P.generate_bullet(ammo_datum)
P.icon_state = "naptha_ball"
P.color = flamer_reagent.color
P.color = flamer_reagent.burncolor
P.hit_effect_color = flamer_reagent.burncolor
P.fire_at(target, user, user, max_range, AMMO_SPEED_TIER_2, null)
var/turf/user_turf = get_turf(user)
Expand Down
5 changes: 5 additions & 0 deletions code/modules/reagents/chemistry_properties/prop_positive.dm
Original file line number Diff line number Diff line change
Expand Up @@ -728,6 +728,11 @@
holder.durationfire = max(holder.durationfire, 1)
holder.intensityfire = max(holder.intensityfire, 1)

if(holder.intensityfire >= 50 && istype(holder, /datum/reagent/generated))
holder.burncolor = "#ffffff"
else
holder.burncolor = holder.color

/datum/chem_property/positive/fire/fueling
name = PROPERTY_FUELING
code = "FUL"
Expand Down

0 comments on commit 8ff90b9

Please sign in to comment.