Skip to content

BLOKBUSTR/LegalizeNuclearBombs

Repository files navigation

☢️ 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!

About

Call the fire department! We just nuked the building. — A R.E.P.O. mod that adds a highly configurable nuke valuable!

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Contributors

Languages