diff --git a/code/modules/antagonists/clockcult/clock_items/clockwork_slab.dm b/code/modules/antagonists/clockcult/clock_items/clockwork_slab.dm
index 4090f8085f..b8179afe21 100644
--- a/code/modules/antagonists/clockcult/clock_items/clockwork_slab.dm
+++ b/code/modules/antagonists/clockcult/clock_items/clockwork_slab.dm
@@ -295,13 +295,13 @@
if(GLOB.ratvar_awakens)
return
if(LAZYLEN(quickbound) < i || !quickbound[i])
- .["rec_binds"] += list()
+ .["rec_binds"] += list(list())
else
var/datum/clockwork_scripture/quickbind_slot = quickbound[i]
- .["rec_binds"] += list(
+ .["rec_binds"] += list(list(
"name" = initial(quickbind_slot.name),
"color" = get_component_color_bright(initial(quickbind_slot.primary_component))
- )
+ ))
// .["rec_section"]["title"] //this is here if ever we decided to return these back.
// .["rec_section"]["info"]// wall of info for the thing
@@ -313,7 +313,7 @@
INVOKE_ASYNC(src, .proc/recite_scripture, text2path(params["script"]), usr, FALSE)
if("bind")
var/datum/clockwork_scripture/path = text2path(params["script"]) //we need a path and not a string
- if(!path.quickbind || path.tier == SCRIPTURE_PERIPHERAL) //fuck you href bus
+ if(!ispath(path, /datum/clockwork_scripture) || !initial(path.quickbind) || initial(path.tier) == SCRIPTURE_PERIPHERAL) //fuck you href bus
to_chat(usr, "Nice try using href exploits")
return
var/found_index = quickbound.Find(path)
diff --git a/tgui/packages/tgui/interfaces/ClockworkSlab.js b/tgui/packages/tgui/interfaces/ClockworkSlab.js
index 0f424be1bb..e95ff1ee90 100644
--- a/tgui/packages/tgui/interfaces/ClockworkSlab.js
+++ b/tgui/packages/tgui/interfaces/ClockworkSlab.js
@@ -16,6 +16,7 @@ export const ClockworkSlab = (props, context) => {
recollection = true,
recollection_categories = [],
rec_section = null,
+ rec_binds = [],
scripture = {}, // this is a {}, not a []
tier_infos = {},
power = "0 W",
@@ -88,38 +89,37 @@ export const ClockworkSlab = (props, context) => {
)}
- {!!recollection_categories
- && recollection_categories.map(cat => {
- return (
-
-
+
- {rec_section ? (
- "One of the cogscarabs must've misplaced this section."
- ) : (
+ {rec_section?.info ? (
rec_section.info
+ ) : (
+ "One of the cogscarabs must've misplaced this section."
)}
@@ -136,7 +136,7 @@ export const ClockworkSlab = (props, context) => {
action buttons for easy use.
- {!!data.rec_binds && data.rec_binds.map(bind => (
+ {rec_binds?.map(bind => (
diff --git a/tgui/packages/tgui/interfaces/SkillPanel.js b/tgui/packages/tgui/interfaces/SkillPanel.js
index ed9d1c96d4..42b34e36f8 100644
--- a/tgui/packages/tgui/interfaces/SkillPanel.js
+++ b/tgui/packages/tgui/interfaces/SkillPanel.js
@@ -1,6 +1,7 @@
import { Fragment } from 'inferno';
import { useBackend } from '../backend';
-import { Box, Button, LabeledList, ProgressBar, Section, Window } from '../components';
+import { Window } from '../layouts';
+import { Box, Button, LabeledList, ProgressBar, Section } from '../components';
export const SkillPanel = (props, context) => {
const { act, data } = useBackend(context);
@@ -31,7 +32,7 @@ export const SkillPanel = (props, context) => {
{skill.desc}
- `Modifiers: ${skill.modifiers}`
+ Modifiers: {skill.modifiers}
{!!skill.level_based && (
diff --git a/tgui/packages/tgui/interfaces/TelecommsInteraction.js b/tgui/packages/tgui/interfaces/TelecommsInteraction.js
index 7e1f6d8bb7..d42f8a436e 100644
--- a/tgui/packages/tgui/interfaces/TelecommsInteraction.js
+++ b/tgui/packages/tgui/interfaces/TelecommsInteraction.js
@@ -68,7 +68,7 @@ export const TelecommsInteraction = (props, context) => {
color={power ? 'good' : 'bad'}>
{prefab ? 'TRUE' : 'FALSE'}
- {isrelay ? (
+ {!!isrelay && (
"+Q(l.message+"",!0)+"";throw l}}return ne.options=ne.setOptions=function(e){return X(ne.defaults,e),ee(ne.defaults),ne},ne.getDefaults=J,ne.defaults=te,ne.use=function(e){var t=X({},e);if(e.renderer&&function(){var n=ne.defaults.renderer||new G,o=function(t){var o=n[t];n[t]=function(){for(var r=arguments.length,a=new Array(r),i=0;i
'+(n?e:H(e,!0))+"\n":""+(n?e:H(e,!0))+"\n"},t.blockquote=function(e){return"\n"+e+"\n"},t.html=function(e){return e},t.heading=function(e,t,n,o){return this.options.headerIds?"
"+e+"
\n"},t.table=function(e,t){return t&&(t=""+t+""),""+e+""},t.br=function(){return this.options.xhtml?""+Q(l.message+"",!0)+"";throw l}}return ne.options=ne.setOptions=function(e){return X(ne.defaults,e),ee(ne.defaults),ne},ne.getDefaults=J,ne.defaults=te,ne.use=function(e){var t=X({},e);if(e.renderer&&function(){var n=ne.defaults.renderer||new G,o=function(t){var o=n[t];n[t]=function(){for(var r=arguments.length,a=new Array(r),i=0;i