Skip to content

Commit

Permalink
Merge branch 'master' into boxfix
Browse files Browse the repository at this point in the history
  • Loading branch information
doganesi authored May 18, 2024
2 parents 7593037 + bc59712 commit edcce1e
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 4 deletions.
2 changes: 1 addition & 1 deletion code/game/objects/items/devices/helmet_visors.dm
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@

/obj/item/device/helmet_visor/medical/advanced
name = "advanced medical optic"
helmet_overlay = "med_sight_left"
helmet_overlay = "med_sight_right"

/obj/item/device/helmet_visor/medical/advanced/activate_visor(obj/item/clothing/head/helmet/marine/attached_helmet, mob/living/carbon/human/user)
. = ..()
Expand Down
10 changes: 7 additions & 3 deletions code/modules/projectiles/magazines/specialist.dm
Original file line number Diff line number Diff line change
Expand Up @@ -254,10 +254,16 @@
user.put_in_hands(fuel)
fuel = null
update_icon()
desc = initial(desc) + "\n Contains[fuel?" fuel":""] [warhead?" and warhead":""]."
return
. = ..()

/obj/item/ammo_magazine/rocket/custom/get_examine_text(mob/user)
. = ..()
if(fuel)
. += SPAN_NOTICE("Contains fuel.")
if(warhead)
. += SPAN_NOTICE("Contains a warhead.")

/obj/item/ammo_magazine/rocket/custom/attackby(obj/item/W as obj, mob/user as mob)
if(!skillcheck(user, SKILL_ENGINEER, SKILL_ENGINEER_ENGI))
to_chat(user, SPAN_WARNING("You do not know how to tinker with [name]."))
Expand All @@ -284,7 +290,6 @@
W.forceMove(src)
fuel = W
to_chat(user, SPAN_DANGER("You add [W] to [name]."))
desc = initial(desc) + "\n Contains[fuel?" fuel":""] [warhead?" and warhead":""]."
playsound(loc, 'sound/items/Screwdriver2.ogg', 25, 0, 6)
else if(istype(W,/obj/item/explosive/warhead/rocket) && !locked)
if(warhead)
Expand All @@ -298,7 +303,6 @@
W.forceMove(src)
warhead = W
to_chat(user, SPAN_DANGER("You add [W] to [name]."))
desc = initial(desc) + "\n Contains[fuel?" fuel":""] [warhead?" and warhead":""]."
playsound(loc, 'sound/items/Screwdriver2.ogg', 25, 0, 6)
update_icon()

Expand Down
4 changes: 4 additions & 0 deletions html/changelogs/AutoChangeLog-pr-6294.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
author: "Git-Nivrak"
delete-after: True
changes:
- rscadd: "Changed advanced medhud visor to be displayed on the same eye as normal medhud visor"
4 changes: 4 additions & 0 deletions html/changelogs/AutoChangeLog-pr-6299.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
author: "iloveloopers"
delete-after: True
changes:
- spellcheck: "Custom rocket description now looks nicer"

0 comments on commit edcce1e

Please sign in to comment.