You are viewing a potentially older version of this package. View all versions.
PoikSpirit-MoreAds-0.1.0 icon

MoreAds

Get enough dystopian hellscape in real life? Hate ads? Too bad!

Date uploaded a year ago
Version 0.1.0
Download link PoikSpirit-MoreAds-0.1.0.zip
Downloads 359
Dependency string PoikSpirit-MoreAds-0.1.0

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2304 icon
BepInEx-BepInExPack

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

Preferred version: 5.4.2304

README

I'm guessing you play Lethal Company to get ads, so this will increase the nmber of ads introduced in v70.

This is currently mostly a proof of concept while I work on things. It currently allows ads even when solo or the last one alive, unlike in vanilla, sets the time to display at the minimum value, and makes the ads pop up every 30 seconds.

TODO

  • Make time to start still be randomized, just more often.
  • Make ad chosen more random, currently replays the lowest discount every time.
  • Ad configs
  • But what if custom ads?

CHANGELOG

2.1.0

  • Fixing an enum check for clients that changed in v73.
  • Fixing config values used when rolling for reset. Was using the first landing chance by accident.
  • Adding a bunch of debug messages that should default to off.

2.0.2

  • Pulling sale value directly from terminal, as I always should have been.
    • Enables compatibility with ButteryFixes with no compat checks needed.
  • Mentioning suits fix in ButteryFixes and how to let it work with this mod added as well.

2.0.1

  • Fixing Player #[N] showing up when no one is in a slot.
  • Adding : to the slogan parsing.
  • Added a quick sanitization to the slogans where a missing or invalid weight is replaced with the previous weight in the list plus 1, allowing for quick strictly monotomically more common setting of slogans.
  • Until I know how to do mod data loading, quota ad count will always be set to zero on save file loads.

2.0.0

  • Adding probabilities to all the ad triggers.
  • Last day until quota probabilities are also available separately.
  • Resetting the ad wait interval on landing.
  • Adding a Max Ads Per Quota setting.
  • Adding slogan variables and modifiers:
    • {me} for the current player
    • {player} for a random player
    • {here} for the current planet
    • {planet} for a random planet
    • {product} for the advertised product
    • , to show a comma
    • and / to split the slogan between the bottom and top text with the first part overriding the product name that's usually displayed

1.2.0

  • Using ads slogans that are furniture only in vanilla to tools with no sale or low sale values.
  • Slogan values switched from cumulative distribution to weight function, like the ones used to select interiors on moons, monster spawns, and scrap spawns.

1.1.0

  • Add item and furniture (combined) blacklist to prevent errors (suits break ads permanently in vanilla (v72))
  • Add customizable ad slogans, defaults to vanilla.

1.0.1

  • Fix dll version stuff

1.0.0

  • Adding a server side config. LethalConfig is helpful but not required.
  • Ads now randomly select after the first time which attempts to play a vanilla ad.
  • Can play or speed up ads on player hurt or player death.

0.1.0

  • Turns out there's more than one thing that needs to be reset each ad.
  • Runs ads every 30 seconds.

0.0.1

  • Tell the game it hasn't run an ad yet.