// Autogenerates a table which will resemble the traditional wiki table. /datum/lore/codex/page/overview name = "Overview" data = "This has a table of all the corporate violations and legal crimes contained inside this book. The 'mandated' area \ determines the flexibility/strictness allowed in sentencing for violations/crimes." /datum/lore/codex/page/overview/add_content() var/list/law_sources = list( /datum/lore/codex/category/corporate_minor_violations, /datum/lore/codex/category/corporate_major_violations, /datum/lore/codex/category/law_minor_violations, /datum/lore/codex/category/law_major_violations ) var/list/table_color_headers = list("#66ffff", "#3399ff", "#ffee55", "#ff8855") var/list/table_color_body_even = list("#ccffff", "#66ccff", "#ffee99", "#ffaa99") var/list/table_color_body_odd = list("#e6ffff", "#b3e6ff", "#fff6cc", "#ffd5cc") spawn(2 SECONDS) // So the rest of the book can finish. var/HTML HTML += "
| Incident | " HTML += "Description | " HTML += "Suggested Punishment | " HTML += "Notes | " HTML += "Mandated? | " HTML += "
|---|---|---|---|---|
| [quick_link(L.name)] | " HTML += "[L.definition] | " HTML += "[L.suggested_punishments] | " HTML += "[L.notes] | " HTML += "[L.mandated ? "Yes" : "No"] | " HTML += "