mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-27 23:14:18 +01:00
516 compatibility for browsers (#20652)
this is a bit of https://github.com/cmss13-devs/cmss13/pull/8646 https://github.com/cmss13-devs/cmss13/pull/8875 https://github.com/cmss13-devs/cmss13/pull/8606 https://github.com/cmss13-devs/cmss13/pull/8607 https://github.com/cmss13-devs/cmss13/pull/8359 https://github.com/cmss13-devs/cmss13/pull/7860 ( and thus https://github.com/ParadiseSS13/Paradise/pull/25105 https://github.com/ParadiseSS13/Paradise/pull/25205 https://github.com/ParadiseSS13/Paradise/pull/25363 https://github.com/ParadiseSS13/Paradise/pull/26423 and https://github.com/ParadiseSS13/Paradise/pull/26433 ) https://github.com/tgstation/tgstation/pull/89766 in order to work properly - using the efficient storage method, instead of the byond json method - github pages needs to be enabled and built from the gh-pages branch. because yeah --------- Co-authored-by: harryob <55142896+harryob@users.noreply.github.com>
This commit is contained in:
@@ -383,7 +383,7 @@ GLOBAL_LIST_INIT(ai_verbs_default, list(
|
||||
Recall the channel list at any time by calling <code>Radio-Settings</code> under <em>AI Commands</em>.\
|
||||
</p>\
|
||||
"
|
||||
usr << browse(dat, "window=aihelp,size=520x700")
|
||||
usr << browse(HTML_SKELETON(dat), "window=aihelp,size=520x700")
|
||||
|
||||
/mob/living/silicon/ai/proc/pick_icon()
|
||||
set category = "AI Commands"
|
||||
|
||||
@@ -180,8 +180,7 @@
|
||||
if(!module)
|
||||
module = new /obj/item/robot_module/drone(src)
|
||||
|
||||
var/dat = "<HEAD><TITLE>Drone modules</TITLE></HEAD><BODY>\n"
|
||||
dat += {"
|
||||
var/dat = {"
|
||||
<B>Activated Modules</B>
|
||||
<BR>
|
||||
Module 1: [module_state_1 ? "<A href='byond://?src=[REF(src)];mod=[REF(module_state_1)]>[module_state_1]<A>" : "No Module"]<BR>
|
||||
@@ -221,4 +220,4 @@
|
||||
|
||||
dat += resources
|
||||
|
||||
src << browse(dat, "window=robotmod")
|
||||
src << browse(HTML_SKELETON_TITLE("Drone modules", dat), "window=robotmod")
|
||||
|
||||
@@ -485,7 +485,7 @@
|
||||
to_chat(src, SPAN_WARNING("WARNING: Power too low for self-diagnostic functions."))
|
||||
return
|
||||
var/dat = self_diagnosis()
|
||||
src << browse(dat, "window=robotdiagnosis")
|
||||
src << browse(HTML_SKELETON(dat), "window=robotdiagnosis")
|
||||
|
||||
/mob/living/silicon/robot/verb/toggle_component()
|
||||
set category = "Robot Commands"
|
||||
@@ -896,7 +896,7 @@
|
||||
dat += "[module.malf_AI_module]: <B>Activated</B><BR>"
|
||||
else
|
||||
dat += "[module.malf_AI_module]: <A href='byond://?src=[REF(src)];act=[REF(module.malf_AI_module)]>Activate</A><BR>"
|
||||
src << browse(dat, "window=robotmod")
|
||||
src << browse(HTML_SKELETON(dat), "window=robotmod")
|
||||
|
||||
|
||||
/mob/living/silicon/robot/Topic(href, href_list)
|
||||
|
||||
@@ -231,7 +231,7 @@
|
||||
var/synth = (L in speech_synthesizer_langs)
|
||||
dat += "<b>[L.name] ([get_language_prefix()][L.key])</b>[synth ? default_str : null]<br/>Speech Synthesizer: <i>[synth ? "YES" : "NOT SUPPORTED"]</i><br/>[L.desc]<br/><br/>"
|
||||
|
||||
src << browse(dat, "window=checklanguage")
|
||||
src << browse(HTML_SKELETON(dat), "window=checklanguage")
|
||||
return
|
||||
|
||||
/mob/living/silicon/proc/toggle_sensor_mode()
|
||||
|
||||
Reference in New Issue
Block a user