Skip to content

Commit

Permalink
mod-inspect3
Browse files Browse the repository at this point in the history
  • Loading branch information
Builder13 committed Dec 29, 2024
1 parent b69cbc8 commit a8d82ec
Showing 1 changed file with 20 additions and 2 deletions.
22 changes: 20 additions & 2 deletions mods/item_identification/code/item_identification.dm
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,25 @@
/obj/item/proc/update_mod_identification()
return

/mob/verb/mod_skill_examine(obj/item/I as obj in view(1))
/mob/verb/mod_skill_examine_init()
set name = "Inspect"
set category = "IC"

to_chat(src, SPAN_CLASS("interface", "Вы теперь можете производить инспекцию предметов через ПКМ и через верб."))
verbs -= /mob/verb/mod_skill_examine_init
verbs += /verb/mod_skill_examine
verbs += /verb/mod_skill_examine_hide

/verb/mod_skill_examine_hide()
set name = "Hide Inspect"
set category = "IC"

to_chat(src, SPAN_CLASS("interface", "Верб Inspect вновь спрятан."))
usr.verbs += /mob/verb/mod_skill_examine_init
usr.verbs -= /verb/mod_skill_examine
usr.verbs -= /verb/mod_skill_examine_hide

/verb/mod_skill_examine(obj/item/I as obj in view(1))
set name = "Inspect"
set category = "IC"

Expand Down Expand Up @@ -115,7 +133,7 @@

if(LAZYLEN(additional_users))
var/list/additional_names = list()
starting_message += " вместе с:"
starting_message += " вместе с: "
for(var/auser in additional_users)
var/auser_name = additional_users[auser]["name"]
additional_names.Add(auser_name)
Expand Down

0 comments on commit a8d82ec

Please sign in to comment.