Skyrat-tg icon indicating copy to clipboard operation
Skyrat-tg copied to clipboard

Modular Engines + The Return of Lord Singuloth(and more)

Open Gandalf2k15 opened this issue 1 year ago • 7 comments

About The Pull Request

This adds a few things to make engineering a little bit more dynamic:

  • Modular Engines
  • More Engine Types

Modular Engines

The modular engine system uses my automapper system to choose a random engine type at the start of every shift to replace the default engine. The default engine has an equal chance to spawn however. So this will mean you will still get the supermatter engine sometimes.

The modular engine system will have the following engine types to pick from:

  • Supermatter engine(unchanged)
  • Singularity Engine
  • Tesla Engine
  • ~~PACMAN~~ Penitence Engine
  • RBMK Engine
  • GA37W EBWR Engine
  • Antimatter Engine
  • Quantum Phase Inversion Drive(TM)

For those of you that remember the old singularity I added, it has been renewed and tested, the systems that it once used are now gone so I've had to redo the engine. Here are the deets: It uses hawking radiation instead of radiation(basically just a way for me to transmit energy from the singularity to the rad collectors). It functions in almost the exact same way as before(just without the radiation component).

The bugs it had before have been removed and it now functions correctly.

Calculations for Hawking Radiation: Given:

ACCUMULATOR_STORED_OUTPUT = 0.04 stored_energy_per_collector = 1000 energy units number_of_collectors = 6 Calculation Steps Power Output for Each Collector:

power_output_per_collector = min(stored_energy, (stored_energy * ACCUMULATOR_STORED_OUTPUT) + joules_to_energy(2000)) We need to calculate joules_to_energy(2000) as before. joules_to_energy(2000):

= 2000 * (1 SECONDS) / SSmachines.wait = 2000 * 10 / 20 = 1000 energy units For stored_energy_per_collector = 1000:

power_output_per_collector = min(1000, (1000 * 0.04) + 1000) = min(1000, 40 + 1000) = min(1000, 1040) = 1000 energy units (since 1000 is less than 1040) Total Power Output to the Powernet:

total_power_output = power_output_per_collector * number_of_collectors = 1000 * 6 = 6000 energy units

The RBMK engine will be ported from TBA

The Antimatter Engine will be ported from TBA

The Penitence is made inhouse. Give it blood.

The GA37W will be added when I finish it. LOL.

The QPID will not be completed until the next solar cycle.

Each map has it's own set of engine templates which need to be fabricated. You can have an unlimited amount per map. Like I said, it just uses the automapper system.

How This Contributes To The Skyrat Roleplay Experience

Having more variety of engines to pick from for the engineering team is good as it just makes a very very important job a little bit more interesting.

Proof of Testing

image

Changelog

:cl: add: Modular engine system, see: add: LOTS OF ENGINES. /:cl:

Gandalf2k15 avatar Dec 30 '23 20:12 Gandalf2k15