Advertises double-examine lore blurbs on a single examine (#27974)

* Double Examine is advertised more clearly

Atoms with double-examine now advertise the fact on a single examine.

* Changes per request

 Double examining atoms without blurbs now gives regular examine message

* Changed double examine prompt

Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>
Signed-off-by: ExusA <67055922+ExusA@users.noreply.github.com>

---------

Signed-off-by: ExusA <67055922+ExusA@users.noreply.github.com>
Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>
This commit is contained in:
ExusA
2025-01-18 18:05:52 +00:00
committed by GitHub
co-authored by Luc
parent a521827110
commit 9328128a9a
+3 -1
View File
@@ -649,9 +649,11 @@ GLOBAL_LIST_INIT(slot_equipment_priority, list( \
if(LAZYACCESS(client.recent_examines, ref_to_atom))
result = A.examine_more(src)
if(!length(result))
result += "<span class='notice'><i>You examine [A] closer, but find nothing of interest...</i></span>"
result = A.examine(src)
else
result = A.examine(src)
if(length(A.examine_more()))
result += "<span class='notice'><i>You can examine [A.p_them()] again to take a closer look...</i></span>"
client.recent_examines[ref_to_atom] = world.time + EXAMINE_MORE_WINDOW // set to when we should not examine something
to_chat(src, chat_box_examine(result.Join("\n")), MESSAGE_TYPE_INFO, confidential = TRUE)