Skip to content

Commit

Permalink
mortar should launch static lights and cigarettes need to be a little…
Browse files Browse the repository at this point in the history
… dimmer
  • Loading branch information
harryob committed Aug 22, 2023
1 parent 22a8453 commit 3132f89
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 1 deletion.
8 changes: 8 additions & 0 deletions code/game/objects/effects/light.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/obj/effect/bright_flare
name = "illumination flare"
desc = "It's really bright, and unreachable."
icon_state = ""
invisibility = 101

light_range = 7

1 change: 1 addition & 0 deletions code/game/objects/items/tools/flame_tools.dm
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,7 @@ CIGARETTE PACKETS ARE IN FANCY.DM
icon_state = icon_on
item_state = icon_on
set_light_range(1)
set_light_power(0.5)
set_light_on(TRUE)
if(iscarbon(loc))
var/mob/living/carbon/C = loc
Expand Down
2 changes: 1 addition & 1 deletion code/modules/cm_marines/equipment/mortar/mortar_shells.dm
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
icon_state = "mortar_ammo_flr"

/obj/item/mortar_shell/flare/detonate(turf/T)
new /obj/item/device/flashlight/flare/on/illumination(T)
new /obj/effect/bright_flare(T)
playsound(T, 'sound/weapons/gun_flare.ogg', 50, 1, 4)
deploy_camera(T)

Expand Down
1 change: 1 addition & 0 deletions colonialmarines.dme
Original file line number Diff line number Diff line change
Expand Up @@ -922,6 +922,7 @@ s// DM Environment file for colonialmarines.dme.
#include "code\game\objects\effects\effect.dm"
#include "code\game\objects\effects\elevator.dm"
#include "code\game\objects\effects\glowshroom.dm"
#include "code\game\objects\effects\light.dm"
#include "code\game\objects\effects\manifest.dm"
#include "code\game\objects\effects\misc.dm"
#include "code\game\objects\effects\overlays.dm"
Expand Down

0 comments on commit 3132f89

Please sign in to comment.