mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-12 16:37:19 +01:00
1da20ad33f
https://forums.aurorastation.org/topic/20198-mission-briefing-auroras-gamemode-revolution To-do: - [x] Finish storyteller verbs. - [x] Storyteller landmarks. - [x] Proper storyteller spawning. Right now the gamemode system is happy with just picking one storyteller and no actors. - [x] Antagonist whitelists code. - [x] Adding the Storyteller whitelist. - [x] Mission map loading code. - [x] Map in a bunch of missions. - [ ] Storyteller adminhelps. --------- Co-authored-by: Matt Atlas <liermattia@gmail.com> Co-authored-by: DreamySkrell <>
24 lines
777 B
Plaintext
24 lines
777 B
Plaintext
/proc/examinate(mob/user, atom/target, show_extended)
|
|
if(user.is_blind() || (user.stat && !isghost(user)))
|
|
to_chat(user, SPAN_NOTICE("Something is there, but you cannot see it."))
|
|
return
|
|
|
|
user.face_atom(target)
|
|
|
|
var/distance = INFINITY
|
|
var/is_adjacent = FALSE
|
|
if(isobserver(user) || user.stat == DEAD)
|
|
distance = 0
|
|
is_adjacent = TRUE
|
|
else
|
|
var/turf/source_turf = get_turf(user)
|
|
var/turf/target_turf = get_turf(target)
|
|
if(source_turf && source_turf.z == target_turf?.z)
|
|
distance = get_dist(source_turf, target_turf)
|
|
is_adjacent = user.Adjacent(target)
|
|
|
|
SEND_SIGNAL(user, COMSIG_MOB_EXAMINATE, target)
|
|
|
|
if(!target.examine(user, distance, is_adjacent, show_extended = show_extended))
|
|
crash_with("Improper /examine() override: [log_info_line(target)]")
|