Skip to content

Commit

Permalink
Merge pull request #616 from Arokha/patches
Browse files Browse the repository at this point in the history
RPED beakers and storage icons
  • Loading branch information
SpadesNeil committed Apr 20, 2016
2 parents f98698e + 279ec66 commit e67a63f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion code/defines/obj/weapon.dm
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@
icon_state = "RPED"
item_state = "RPED"
w_class = 5
can_hold = list(/obj/item/weapon/stock_parts)
can_hold = list(/obj/item/weapon/stock_parts, /obj/item/weapon/reagent_containers/glass/beaker)
storage_slots = 50
use_to_pickup = 1
allow_quick_gather = 1
Expand Down
6 changes: 3 additions & 3 deletions code/game/objects/items/weapons/storage/storage.dm
Original file line number Diff line number Diff line change
Expand Up @@ -263,11 +263,11 @@
if(!prevent_warning && !istype(W, /obj/item/weapon/gun/energy/crossbow))
for(var/mob/M in viewers(usr, null))
if (M == usr)
usr << "<span class='notice'>You put \the [W] into [src].</span>"
usr << "<span class='notice'>\icon[W] You put \the [W] into [src].</span>"
else if (M in range(1)) //If someone is standing close enough, they can tell what it is...
M.show_message("<span class='notice'>[usr] puts [W] into [src].</span>")
M.show_message("<span class='notice'>\icon[W] [usr] puts \the [W] into [src].</span>")
else if (W && W.w_class >= 3.0) //Otherwise they can only see large or normal items from a distance...
M.show_message("<span class='notice'>[usr] puts [W] into [src].</span>")
M.show_message("<span class='notice'>\icon[W] [usr] puts \the [W] into [src].</span>")

src.orient2hud(usr)
if(usr.s_active)
Expand Down

0 comments on commit e67a63f

Please sign in to comment.