mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2025-12-09 16:07:40 +00:00
debug messages, bug fix
This commit is contained in:
@@ -19,9 +19,7 @@
|
||||
A.move_camera_by_click()
|
||||
|
||||
/mob/living/silicon/ai/ClickOn(var/atom/A, params)
|
||||
message_admins("do we even get this far")
|
||||
if(!can_interact_with(A))
|
||||
message_admins("can't interact with [A]")
|
||||
return
|
||||
|
||||
if(multicam_on)
|
||||
@@ -33,16 +31,13 @@
|
||||
break
|
||||
|
||||
if(check_click_intercept(params,A))
|
||||
message_admins("intercepted")
|
||||
return
|
||||
|
||||
if(control_disabled || incapacitated())
|
||||
message_admins("disabled or incap'd")
|
||||
return
|
||||
|
||||
var/turf/pixel_turf = get_turf_pixel(A)
|
||||
if(isnull(pixel_turf))
|
||||
message_admins("no turf pixel")
|
||||
return
|
||||
if(!can_see(A))
|
||||
if(isturf(A)) //On unmodified clients clicking the static overlay clicks the turf underneath
|
||||
@@ -56,7 +51,6 @@
|
||||
send2tgs_adminless_only("NOCHEAT", message)
|
||||
return
|
||||
|
||||
message_admins("click going through with [params]")
|
||||
var/list/modifiers = params2list(params)
|
||||
if(modifiers["shift"] && modifiers["ctrl"])
|
||||
CtrlShiftClickOn(A)
|
||||
@@ -68,7 +62,6 @@
|
||||
AltClickOn(A)
|
||||
return
|
||||
if(modifiers["ctrl"])
|
||||
message_admins("he clicked [A]")
|
||||
CtrlClickOn(A)
|
||||
return
|
||||
|
||||
|
||||
@@ -114,7 +114,6 @@
|
||||
mode = MODE_HOLOPAD
|
||||
|
||||
/datum/saymode/holopad/handle_message(mob/living/user, message, datum/language/language)
|
||||
world << "OTHER GAMING TEST"
|
||||
if(isAI(user))
|
||||
var/mob/living/silicon/ai/AI = user
|
||||
AI.holopad_talk(message, language)
|
||||
@@ -126,7 +125,6 @@
|
||||
mode = MODE_STATUSDISPLAY
|
||||
|
||||
/datum/saymode/statusdisplay/handle_message(mob/living/user, message, datum/language/language)
|
||||
message_admins("uwu?")
|
||||
if(isAI(user))
|
||||
var/mob/living/silicon/ai/AI = user
|
||||
AI.statusdisplay_talk(message, language)
|
||||
|
||||
@@ -515,10 +515,11 @@
|
||||
// move AI to the location, set master, update overlays (removes messages)
|
||||
user.current = src
|
||||
user.eyeobj.setLoc(get_turf(src))
|
||||
update_appearance()
|
||||
icon_state = initial(icon_state)
|
||||
user.controlled_display = src
|
||||
master = user
|
||||
update_overlays()
|
||||
update_appearance()
|
||||
|
||||
// we set the avatar here
|
||||
var/icon/I = icon(user.client.prefs.custom_holoform_icon)
|
||||
|
||||
Reference in New Issue
Block a user