You are viewing a potentially older version of this package. View all versions.
BLOKBUSTR-LegalizeNuclearBombs-3.1.0 icon

LegalizeNuclearBombs

Call the fire department! We just nuked the building. // Adds a highly configurable nuke valuable!

Date uploaded a week ago
Version 3.1.0
Download link BLOKBUSTR-LegalizeNuclearBombs-3.1.0.zip
Downloads 5940
Dependency string BLOKBUSTR-LegalizeNuclearBombs-3.1.0

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2305 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2305
Zehs-REPOLib-4.2.0 icon
Zehs-REPOLib

Library for adding content to R.E.P.O.

Preferred version: 4.2.0

README

☢️ LegalizeNuclearBombs ☢️

Follow BLOKBUSTR

Adds a custom-made nuclear warhead as a Tall valuable, even bigger than before! Handle with the utmost caution!!

This mod must be installed on all clients.

Screenshot of the nuke valuable in-game

🔧 Configuration

This mod is highly configurable! Configs can be updated in-game with REPOConfig. I also highly recommend using MenuLibExtras for finer control.

Click to expand config list:
Category ConfigEntry Default Value Description
Nuke
| HitSensitivity Medium The minimum impact strength that the nuke is sensitive to.
| MaxHitCount 3 The number of hits the nuke can take until it explodes. Set to 0 to disable and make it explode only when it loses all value (this will also disable the explosion delay).
| ExplosionStrength 15f The strength of the explosion.
| PlayerDamage 150 The amount of damage dealt to players.
| EnemyDamage 300 The amount of damage dealt to enemies.
CameraShakeStrength 5f The intensity of the explosion camera shake.
Explosion Delay
| ExplosionDelayTime 1f Time in seconds that the explosion will be delayed after the nuke has taken its last hit. Can be adjusted to match the length of a custom sound added with loaforcsSoundAPI, as long as it's under 10 seconds. Please do not change if using the default sound.
| ExplosionDelayVolume 0.5f The volume of the explosion delay sound.
| ExplosionDelayParticles true Whether to play particle effects during the explosion delay.
ExplosionDelayCameraGlitch true Whether to play the camera glitch effect to players holding the nuke when its explosion delay begins.
Uranium Cloud
| SpawnUraniumCloud true Whether to spawn a uranium cloud upon explosion.
| UraniumCloudSize 15f The size of the uranium cloud, including its damage range.
| UraniumCloudDuration 12f The duration that the uranium cloud will linger for. The HurtCollider will disappear once the duration expires, but particles will linger for several seconds longer.
| UraniumPlayerDamage 5 The amount of damage dealt to players who are inside the uranium cloud.
| UraniumPlayerDamageRate 1.5f The rate per second to damage the player.
| UraniumEnemyDamage 5 The amount of damage dealt to enemies that are inside the uranium cloud.
UraniumEnemyDamageRate 2f The rate per second to damage enemies.
Break Warning
| WarningVolume 0.35f The volume of the warning sound. Set to 0 to disable.
| ShowWarningVisual true Whether to momentarily show a red glow on the nuke when the break warning triggers.
WarningCameraShakeStrength 1.5f The intensity of the warning camera shake.
Items
IndestructibleDroneBatteryDrain 2f The amount at which to accelerate the Indestructible Drone's battery drain when attached to the Nuke. Set to 0 to disable.
Debug
EnableDebug false The debug logging level to use. Keep this disabled for normal gameplay

⚠️ Compatibility

No known incompatibilities.

Click to expand the list of methods patched by this mod:
  • ItemDroneIndestructible.Update

❤️ Acknowledgements

  • Zehs for creating and maintaining REPOLib;
  • TitanVortex for the original BigNuke mod which was one of my favorites, and of which this mod is mostly inspired by;
  • EvryFlare, OrigamiCoder, Vippy and Endershade for playtesting;
  • Skrillex and DJ Smokey for more goofy inspiration 🔥

Thank you for playing with this mod!
Please report any issues to the Discord Thread. Suggestions are also welcome!

CHANGELOG

Changelog

3.1.0 - Now with even more uranium!

  • Implemented custom uranium cloud logic, plus new config options to fine-tune it to your liking, such as size, damage, duration, etc.
  • Added another new config setting IndestructibleDroneBatteryDrain, which accelerates the rate at which the Indestructible Drone's battery will drain when attached to the Nuke. The battery drain is twice as fast by default.
  • Changed config settings to apply shortly after instantiation of the Nuke, instead of right when it explodes.
  • Adjusted several config defaults.
  • Changed config EnableDebug to DebugLogLevel, now including "Disabled," "Enabled," and "Verbose" logging options.
    • "Verbose" will include logs that occur very frequently within short periods of time, such as timers.

3.0.1

  • Fixed oversight where config ExplosionUraniumCloud was unused. The uranium cloud should now spawn if the host has the setting enabled.
  • Upgraded REPOLib version.

3.0.0

  • Updated for R.E.P.O. 0.4.4+.
  • Added a configurable delay before the explosion, after the nuke has taken its last hit.
    • The buildup sound can be replaced with anything of your choosing with loaforcsSoundAPI, as long as it's under 10 seconds. Adjust ExplosionDelayTime to fit your custom sound.
    • Also includes particle visuals adopted from the cosmetic boxes, which do not play if Photosensitivity is enabled.
    • Added config options ExplosionDelayTime, ExplosionDelayVolume, ExplosionDelayParticles, and ExplosionDelayCameraGlitch.
  • Added a uranium cloud that spawns upon explosion. Added a config entry ExplosionUraniumCloud to enable/disable it. I want to experiment with more customization for this in the future.
  • Fixed a few networking issues:
    • Oversight where explosion strength and player damage were not synced; now added proper networking.
    • The nuke did not destroy itself properly on clients upon explosion.
  • Reorganized and optimized some logic.
  • Removed config PlayWarningSound, since WarningVolume can already be used to silence the sound.

2.0.0

  • Upgraded BepInEx dependency.
  • Implemented an emissive visual warning when the nuke has only one hit remaining.
  • The nuke now completely destroys itself upon explosion to prevent the explosion from getting spammed every update, especially on lower strengths.
  • Changed config entry HitSensitivity to use an enum value to make it more readable and intuitive, particularly with REPOConfig.
  • README changes:
    • Updated the Configuration section to my new table style;
    • Updated Discord URL to link to this mod's own dedicated thread.

1.0.0

  • Initial release 🎉