You are viewing a potentially older version of this package. View all versions.
TrippyTree-PizzaProbability-1.1.0 icon

PizzaProbability

Adds chance to the FacilityMeltdown mod. Improves interoperability with PizzaTowerEscapeMusic. Includes optional extras.

Date uploaded 4 months ago
Version 1.1.0
Download link TrippyTree-PizzaProbability-1.1.0.zip
Downloads 1906
Dependency string TrippyTree-PizzaProbability-1.1.0

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2100 icon
BepInEx-BepInExPack

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

Preferred version: 5.4.2100
loaforc-FacilityMeltdown-2.6.15 icon
loaforc-FacilityMeltdown

Maybe taking the apparatus out isn't such a great idea... (v56)

Preferred version: 2.6.15

README

PizzaProbability

PizzaProbability is a simple mod that adds chance to the FacilityMeltdown mod.

With this mod, a meltdown is no longer guaranteed to occur when the apparatus is pulled.

By default, there is a 50% chance that pulling the apparatus will result in a meltdown.

Apparatus Value

As an optional feature, PizzaProbability can adjust the apparatus value based on if a meltdown occurs.

To encourage removal, a safe apparatus is worth 1-3x its original value. However, an unsafe apparatus is worth 2-4x its original value.

To use this feature, disable OverrideApparatusValue in FacilityMeltdown’s config and enable ApparatusValueMultiplier in PizzaProbability’s config.

[me.loaforc.facilitymeltdown.cfg]
OverrideAppartusValue = false

[PizzaProbability.cfg]
ApparatusValueMultiplier = true

Escape Music

This mod also improves interoperability between FacilityMeltdown and PizzaTowerEscapeMusic.

In order to enable escape music, you must install PizzaTowerEscapeMusic. This mod does not provide escape music on its own.

Since PizzaTowerEscapeMusic was not created with meltdown chance in mind, escape music plays every time the apparatus is pulled, even if a meltdown doesn’t occur. Fortunately, this mod patches PizzaTowerEscapeMusic to fix this behavior.

Please note that PizzaTowerEscapeMusic doesn't enable meltdown music by default. To enable it, add ,Meltdown to Scripts in PTEM's config.

When enabling meltdown music, it’s highly recommended that you set FacilityMeltdown's music volume to 0 in its config.

[bgn.pizzatowerescapemusic.cfg]
Scripts = Default,Meltdown

[me.loaforc.facilitymeltdown.cfg]
MusicVolume = 0

Extra Music

Considering Zeekerss’ roots in ROBLOX content creation, I couldn’t pass up the opportunity to add escape music from two popular (albeit unrelated) ROBLOX games. This music can be enabled by using the optional Meltdown script for PizzaTowerEscapeMusic. This music only plays under very specific criteria, but if you’d prefer not to hear it, you can use the MeltdownAlt script instead.

See the Escape Music section above to learn how to enable one of these scripts.

  • Tsunami (Jay Cosmic Remix) – featured in Pinewood Computer Core.
  • The Opened Way (Shadow of the Colossus) – featured in Flood Escape.

Credit goes to the U.M.I YouTube channel for their meltdown music template & tutorial.

Extra Scripts

Please read the Escape Music and Extra Music sections above before proceeding to this section.

Only one Default script can be enabled. Likewise, only one Meltdown script can enabled. One Default script MUST be enabled.

For the best experience, I recommend using Default+ and Meltdown++.

[bgn.pizzatowerescapemusic.cfg]
Scripts = Default+,Meltdown++

DefaultOff

  • An alternative to PTEM's Default script.
  • When paired with any Meltdown script, escape music only plays during a meltdown event.
  • Use this script when you don't want escape music to occur when players vote to leave.

Default+

  • An enhanced alternative to PTEM's Default script.
  • Unlike PTEM's Default script, all players hear the same music. There is no RNG.
  • Selects music based on moon, weather conditions and time of day.
  • Includes 5 extra music tracks from Pizza Tower and The Noise Update.

Meltdown

  • An improved alternative to PTEM's Apparatus script.
  • Selects music similarly to PTEM's Default script.
  • Includes meltdown sound effects.
  • Includes 2 extra music tracks inspired by ROBLOX that play under very specific criteria.

Meltdown++

  • Similar to the Meltdown script listed above.
  • Includes the enhancements and extra music tracks provided in the Default+ script.

Other Scripts

  • MeltdownAlt Identical to the Meltdown script listed above. Excludes the 2 ROBLOX inspired music tracks.
  • Meltdown+ Identical to the Meltdown++ script listed above. Excludes the 2 ROBLOX inspired music tracks.
  • DefaultTsmi An alternative to PTEM's Default script that only plays Tsunami (Jay Cosmic Remix).
  • MeltdownTsmi An alternative to the Meltdown script that only plays Tsunami (Jay Cosmic Remix).
  • MeltdownSotC An alternative to the Meltdown script that only plays The Opened Way (Shadow of the Colossus).

Troubleshooting

Out of respect for the developer of FacilityMeltdown, please do not bring issues to them until you've verified that the issue(s) are not caused by PizzaProbability. Please extend this respect to the developer of PizzaTowerEscapeMusic as well.

If FacilityMeltdown or PizzaTowerEscapeMusic updates, it's very possible that PizzaProbability could need an update as well.

Please be patient as I'm not a developer. This mod was originally made for personal use.

That said, if you run into issues, you can use this form to contact me.

CHANGELOG

v1.2.2

  • PizzaProbability now utilizes FacilityMeltdown's provided API to start and detect meltdowns.
  • Sadly, there is no API function to disable automatic meltdowns, so a workaround is still utilized to block meltdowns.
  • In simple terms, PizzaProbability now tampers as little as possible with FacilityMeltdown's internals; potentially improving stability.

v1.2.1

  • Added support for FacilityMeltdown v2.6.13.
  • FacilityMeltdown's music is now disabled when PizzaPatch is enabled in the config.

v1.2.0

  • Added the ability to enable and adjust moon-specific config values.
  • Enabled ApparatusValueMultiplier by default. If you've previously used PizzaProbability, your previous setting will remain intact.

v1.1.0

To utilize the new music tracks and scripts, please check the README.

  • Added automatic configuration syncing based on this guide.
  • Added 3 music tracks from The Noise Update.
  • Added 2 music tracks from Pizza Tower.
  • Added a non-meltdown version of Tsunami (Jay Cosmic Remix).
  • Added 7 additional PizzaTowerEscapeMusic scripts.
  • Added the ability to change the base value of an Apparatus via the config.
  • Apparatus value is now forcibly overwritten when using ApparatusValueMultiplier.
  • Reduced the absurdity of PizzaProbability's console output.

v1.0.2

  • Added support for FacilityMeltdown v2.5.

v1.0.1

  • Fixed paths for PizzaTowerEscapeMusic music and scripts.
  • Fixed package file structure.

v1.0.0

  • Initial release.