Merge branch 'master' of https://github.com/Citadel-Station-13/Citadel-Station-13 into Ghommie-cit265
This commit is contained in:
@@ -76,23 +76,23 @@
|
||||
. = ..()
|
||||
|
||||
/obj/item/stack/examine(mob/user)
|
||||
..()
|
||||
. = ..()
|
||||
if (is_cyborg)
|
||||
if(singular_name)
|
||||
to_chat(user, "There is enough energy for [get_amount()] [singular_name]\s.")
|
||||
. += "There is enough energy for [get_amount()] [singular_name]\s."
|
||||
else
|
||||
to_chat(user, "There is enough energy for [get_amount()].")
|
||||
. += "There is enough energy for [get_amount()]."
|
||||
return
|
||||
if(singular_name)
|
||||
if(get_amount()>1)
|
||||
to_chat(user, "There are [get_amount()] [singular_name]\s in the stack.")
|
||||
. += "There are [get_amount()] [singular_name]\s in the stack."
|
||||
else
|
||||
to_chat(user, "There is [get_amount()] [singular_name] in the stack.")
|
||||
. += "There is [get_amount()] [singular_name] in the stack."
|
||||
else if(get_amount()>1)
|
||||
to_chat(user, "There are [get_amount()] in the stack.")
|
||||
. += "There are [get_amount()] in the stack."
|
||||
else
|
||||
to_chat(user, "There is [get_amount()] in the stack.")
|
||||
to_chat(user, "<span class='notice'>Alt-click to take a custom amount.</span>")
|
||||
. += "There is [get_amount()] in the stack."
|
||||
. += "<span class='notice'>Alt-click to take a custom amount.</span>"
|
||||
|
||||
/obj/item/stack/proc/get_amount()
|
||||
if(is_cyborg)
|
||||
|
||||
Reference in New Issue
Block a user