You are viewing a potentially older version of this package. View all versions.
kakeEdition-CoordinateForEasterEggs-0.3.0 icon

CoordinateForEasterEggs

CoordinateForEasterEggs is a debug tool for easter eggs explosion mechanics.

Date uploaded 2 months ago
Version 0.3.0
Download link kakeEdition-CoordinateForEasterEggs-0.3.0.zip
Downloads 112
Dependency string kakeEdition-CoordinateForEasterEggs-0.3.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
Evaisa-LethalLib-1.2.0 icon
Evaisa-LethalLib

Personal modding tools for Lethal Company

Preferred version: 1.2.0
Rune580-LethalCompany_InputUtils-0.7.13 icon
Rune580-LethalCompany_InputUtils

API/Library for creating Unity InputActions with in-game re-binding support. Provides an alternative UI that allows for supporting mods to have in-game re-bindable keybinds.

Preferred version: 0.7.13

README

CoordinateForEasterEggs

CoordinateForEasterEggs is a debug tool for easter eggs explosion mechanics.

Features

Displays the coordinates where Easter Eggs will explode. Settings and features can be accessed via text chat commands.

With the virtual seed generation feature, you can simulate coordinates where Easter Eggs are likely to explode for seeds that meet specific conditions.

Conditions refer to the base scrap count and interior type.

Since this mod includes networking, all clients must have this mod installed to play in multiplayer.

By default:

  • Press F5 to toggle CFEE
  • Press F4 to toggle CFEE INFORMATION

Command List

/enable
Enables CFEE.

/disable
Disables CFEE.

/view <value>
Changes the view distance of coordinates.

/virtual
Toggles the virtual generation mode.

/seed random
Generates a random virtual seed.

/seed <value>
Generates using the specified seed.

/clear
Removes tiles.

/condition scraps <value> to <value>
Sets the base scrap count range as a condition.

/condition scraps upper
Uses the upper half of the scrap range as the condition.

/condition scraps lower
Uses the lower half of the scrap range as the condition.
(If the range is odd, the middle value is included in the lower half.)

/condition interior <word>
Sets the interior type as a condition.
(word: factory, mansion, mineshaft)

/condition clear
Clears all conditions.

/info
Toggles CFEE INFORMATION.

/number <value>
Sets the maximum number of automatic generation attempts.

/generation start
Starts automatic generation.

/generation stop
Stops automatic generation.

/generation interval <value>
Sets the interval between automatic generations.

Some commands can also be assigned to keybinds instead of being used via chat.

Notes

  • In multiplayer, if multiple Eggline Indicators appear at once, this is not a bug in this mod but an issue with the Easter Egg itself. The coordinates of the last displayed indicator will be applied.
  • This mod is currently compatible with Lethal Company v73 through v81.

CHANGELOG

CHANGELOG

CoordinateForEasterEggs-0.3.0

This update focuses on improving generation speed in Virtual Generation Mode and implementing tile color assignment based on explosion probability.

Main Features

  • Tiles generated in Virtual Generation Mode are no longer colored pink. Instead, colors are assigned based on their Chance to explode under the current Conditions. Tiles with a chance close to 0% appear cyan, gradually shifting toward red as the chance approaches 100%.
  • While tiles are color-assigned, picking up an Easter egg now displays its Chance to explode through an in-game notification.
  • Seed values and explosion calculation results are now cached during explosion calculations in Virtual Generation Mode. Since tiles with the same combined X and Z coordinate values can now share calculation results, the processing load during generation has been significantly reduced.
  • Due to the major reduction in processing load, generation speed has been increased to 10x the previous speed.

Changes

  • Changed tile updates during generation to occur once per second instead of every time a new seed is obtained.
  • Reduced the minimum "Generation Interval" from 0.1 to 0.05.
  • Changed the default "Generation Interval" from 0.3 to 0.1.
  • Increased the minimum "Number of attempts" from 1 to 10.
  • Increased the maximum "Number of attempts" from 10000 to 100000.
  • Increased the default "Number of attempts" from 100 to 1000.
  • Conditions now reset when changing planets.
  • Generation now stops automatically if the planet changes during generation.
  • Failed attempts no longer advance generation progress.
  • Fixed an issue where the success rate would not appear in CFEE INFORMATION if the final attempt failed.
  • All objects are now parented under the CFEE Container object.
  • Reduced the maximum number of attempts per generation cycle from 100 to 50.
  • Adjusted the notification shown when generation fails.
  • When Virtual Generation Mode is enabled, tiles are no longer generated using actual seeds.
  • The line color now changes visually when toggling Virtual Generation Mode, making it easier to identify its current state.
  • The /clear command can no longer be used during generation.
  • Debug logs now output only one generation result per second.
  • The /condition interior factory argument can now also be used with facility.
  • Fixed an issue in v81 where the CFEE INFORMATION text size was incorrect.
  • Renamed the namespace from testModLethalCompany to CoordinateForEasterEggs.
  • Renamed the CoordinateForEasterEggs class to CFEEManager.

CoordinateForEasterEggs-0.2.0

This update focuses on improving usability.

Main Features

  • Added support for ConfigEntry. You can now configure "View distance of coordinate", "Whether CFEE is enabled", "Number of attempts", and "Generation Interval" at game startup.
  • Certain commands can now be assigned to keybinds, allowing some actions to be executed with a single button press.
  • The INFORMATION feature has been significantly reworked. Instead of in-game notifications, a new CFEE INFORMATION HUD has been added. (Hidden on startup, toggled with F4 by default)
  • CFEE can now be disabled. This prevents the CFEE indicator from getting in the way. All features except commands will be disabled. (Disabled on startup, toggled with F5 by default)

Commands

  • The /virtual command now toggles by default instead of requiring true or false as the second argument. (true and false can still be used.)
  • The /condition info command has been moved and is now toggled with /info.
  • Added new arguments (upper, lower) to /condition scraps. These automatically calculate the upper and lower halves of the scrap range. (If the range is odd, the middle value is included in the lower half. Example: Artifice Lower 26–28, Upper 29–30)
  • Renamed the dungeon argument in /condition to interior. (dungeon is still supported.)
  • Renamed /generation <value> to /number <value> (short for Number of attempts).
  • Added /enable and /disable commands to toggle CFEE.

Changes

  • Reduced the maximum "View distance of coordinates" from 50 to 35, as larger values were unnecessary and could negatively impact performance.
  • Adjusted some text.
  • Reduced the minimum "Generation Interval" from 0.2 to 0.1.
  • The success rate of generated seeds is now displayed in CFEE INFORMATION. This shows the percentage of seeds that meet the configured conditions.
  • Debug logs now display generated seeds along with their scrap count and interior type.
  • Added Rune580-LethalCompany_InputUtils as a dependency.
  • Removed notifications shown each time a virtual seed is generated. This information has been integrated into CFEE INFORMATION.
  • Fixed an issue where the configurable scrap range upper limit was one higher than the actual maximum possible value.

Known Issues

  • Compatibility with previous versions of Lethal Company is still not supported.