Skip to content

Latest commit

 

History

History
53 lines (39 loc) · 3.45 KB

README.md

File metadata and controls

53 lines (39 loc) · 3.45 KB

Nova Currency Mod

Version Nova PHP

The Nova Currency Mod was designed by Emily Wolf for use on the Nova 2 system created by Anodyne Productions. This mod calculates an in-game currency for players based on the number of mission posts made by a character. This mod is in early stages of development and the information is static (meaning there is no way to subtract or exchange currency in-game).

Report a Bug

Screenshot

Currency Mod Screenshot

Getting Started

Installation without personnel_character.php page

If you do not have a personnel_index.php file in /application/views/_base_override/main/pages, follow the steps below:

  1. Downloading personnel_index.php file from this directory
  2. Upload the file to your Nova's /application/views/_base_override/main/pages directory

This template file is the same format as the default view located in /nova/modules/core/views/_base/main/pages. If you have a different or custom personnel_index.php file, disregard the instructions above and follow the next step.

Installation with personnel_character.php page

If you have a personnel_index.php file in /application/views/_base_override/main/pages, follow the steps below:

  1. Open and edit the personnel_index.php file in /application/views/_base_override/main/pages
  2. Navigate to the line that begins the Stats section (Cmd + F for <h4 class="page-subhead"><?php echo $label['stats'];?></h4>)
  3. Within the list statement (<ul>) below the Stats header label in Step 2, add the following code into the file:
<?php if ($postcount > 0): ?>
  <?php $currency = $postcount * 2; ?>
  <li><strong><?php echo $currency;?></strong> Bars of Latinum</li>
<?php endif;?>

Change Currency

This mod displays currency in Gold Pressed Latinum (GPL). If you want to change the currency, edit line 65 of the personnel_index.php file or change the <li> statement before inserting it into your file.

Example (in USD):

<li><strong><?php echo $currency;?></strong> United States Dollars</li>

Change Calculation

This mod displays currency at a rate of 2 Bars of Latinum per mission posts. If you want to change the calculation, edit line 64 of the personnel_index.php file or change the statement before inserting it into your file.

Example (4 units of currency per mission post):

<?php $currency = $postcount * 4; ?>

Support

If you need any help installing or customizing this skin, please join the Anodyne Productions Discord and use room #xtras. Otherwise, direct message me on Discord (@Emily#6153) or send me an email.

Credits

The Nova Currency Mod was designed by Emily Wolf for the Nova 2 system created by Anodyne Productions. Edits are permissible so long as the original credits remain intact.