From aa1218ca9a43416fead9314d9b76359e5bfdde72 Mon Sep 17 00:00:00 2001 From: worldwidepixel <58098422+worldwidepixel@users.noreply.github.com> Date: Sun, 2 Jun 2024 19:15:16 -0700 Subject: [PATCH] Experimental 'leader' addition --- index.php | 4 ++++ template/nation.twig | 7 +++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/index.php b/index.php index 2e79ec5..7847d99 100644 --- a/index.php +++ b/index.php @@ -18,6 +18,7 @@ 'short' => 'psf', 'short_description' => 'The first nation, prev. known as ROP.', 'description' => 'The first nation on CRSS, previously known as ROP.', + 'leader' => 'iforgotaname', ), 'cnk' => array( 'name' => 'Chunkia', @@ -25,6 +26,7 @@ 'short' => 'cnk', 'short_description' => 'Chunkia is based in a chaotic landscape', 'description' => 'In the chaos of Minecraft, chunk errors are inevitable. Chunkia is based in one.', + 'leader' => 'WorldWidePixel', ), 'ttk' => array( 'name' => 'The Toaster-Königreich', @@ -32,6 +34,7 @@ 'short' => 'ttk', 'short_description' => 'The Toaster-Königreich is the Industrialized Nation of CRSS', 'description' => 'In the vast landsacpe of CRSS, The Toaster-Königreich is one of the most industrialized Marxist district of CRSS. With Charge Industries as one of the main government controlled company in the nation.', + 'leader' => 'Lupancham', ), 'rob' => array( 'name' => 'Republic of Budapest', @@ -39,6 +42,7 @@ 'short' => 'rob', 'short_description' => 'Republic of Budapest is a country located to the west of the map.', 'description' => 'Republic of Budapest is a country located to the west of the map.', + 'leader' => 'TheClashFruit', ) ); diff --git a/template/nation.twig b/template/nation.twig index 011ce30..b44255d 100644 --- a/template/nation.twig +++ b/template/nation.twig @@ -14,6 +14,8 @@

Description

{{ nation.description }}

+

Leader

+

{{ nation.leader }}

@@ -21,14 +23,15 @@