From 0fe313fc34e96aaf6e98af62f02414c2307e70b2 Mon Sep 17 00:00:00 2001 From: worldwidepixel <58098422+worldwidepixel@users.noreply.github.com> Date: Sun, 2 Jun 2024 19:36:05 -0700 Subject: [PATCH] Add customisable terms for Nation leaders --- index.php | 4 ++++ template/nation.twig | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/index.php b/index.php index 7847d99..5c5b94c 100644 --- a/index.php +++ b/index.php @@ -19,6 +19,7 @@ 'short_description' => 'The first nation, prev. known as ROP.', 'description' => 'The first nation on CRSS, previously known as ROP.', 'leader' => 'iforgotaname', + 'leader_term' => 'Prime Minister', ), 'cnk' => array( 'name' => 'Chunkia', @@ -27,6 +28,7 @@ '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', + 'leader_term' => 'Leader', ), 'ttk' => array( 'name' => 'The Toaster-Königreich', @@ -35,6 +37,7 @@ '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', + 'leader_term' => 'Chancellor', ), 'rob' => array( 'name' => 'Republic of Budapest', @@ -43,6 +46,7 @@ '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', + 'leader_term' => 'Leader', ) ); diff --git a/template/nation.twig b/template/nation.twig index 3dc53e3..755bfbd 100644 --- a/template/nation.twig +++ b/template/nation.twig @@ -15,7 +15,7 @@

Description

{{ nation.description }}

-

Leader

+

{{ nation.leader_term }}

{{ nation.leader }}