tgui reagent guidebook & tgui updates (#6161)

Co-authored-by: silicons <no@you.cat>
This commit is contained in:
silicons
2023-12-06 21:35:54 +01:00
committed by GitHub
co-authored by silicons
parent 344e6a0f42
commit db95e39df3
119 changed files with 5534 additions and 2321 deletions
@@ -0,0 +1,27 @@
//* This file is explicitly licensed under the MIT license. *//
//* Copyright (c) 2023 Citadel Station developers. *//
/datum/prototype/guidebook_section
abstract_type = /datum/prototype/guidebook_section
/// section title
var/title = "Unknown"
/// tgui guidebook module to load
var/tgui_module
/**
* data to be sent to module - static
*
* this is the only one, for now
*
* todo: add dynamic data support???
*/
/datum/prototype/guidebook_section/proc/section_data()
. = list()
/datum/prototype/guidebook_section/proc/interface_data()
return list(
"$tgui" = tgui_module,
"$src" = REF(src),
"title" = title,
) | section_data()