You are viewing a potentially older version of this package. View all versions.
Lega-TrickOrTreat-2.0.0 icon

TrickOrTreat

New entity with the ability to curse anyone who crosses its path...

Date uploaded a week ago
Version 2.0.0
Download link Lega-TrickOrTreat-2.0.0.zip
Downloads 1190
Dependency string Lega-TrickOrTreat-2.0.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
Evaisa-HookGenPatcher-0.0.5 icon
Evaisa-HookGenPatcher

Generates MonoMod.RuntimeDetour.HookGen's MMHOOK file during the BepInEx preloader phase.

Preferred version: 0.0.5
Evaisa-LethalLib-1.1.1 icon
Evaisa-LethalLib

Personal modding tools for Lethal Company

Preferred version: 1.1.1
Lega-CursedScraps-3.0.1 icon
Lega-CursedScraps

Some scraps may appear cursed, offering a more attractive price, but you will have to face this curse.

Preferred version: 3.0.1
Lega-LegaFusionCore-1.0.3 icon
Lega-LegaFusionCore

Common library with shared code for my mods

Preferred version: 1.0.3

README

Trick Or Treat

Requires: Cursed Scraps
Adds a new special enemy with unique curse-based behavior and a new item interaction.

Overview

Trick Or Treat introduces a new enemy, Hollow Girl, whose behavior entirely revolves around whether players are cursed and whether they dare to offer her a Cursed Candy.
This mod is designed to synergize with Cursed Scraps, making curses an active part of combat and survival (curses are listed in the Cursed Scraps mod).

Hollow Girl — Behavior

Description

When Hollow Girl encounters a player, she reacts based on their state:

  • If the player is not cursed:
    Hollow Girl throws a projectile that applies a curse upon hitting the target.
  • If the player is cursed (or becomes cursed):
    She switches to close-range attacks, dealing damage directly.
  • If the player is holding a Cursed Candy in their hand:
    Hollow Girl stops attacking and approaches the player, asking for "Trick Or Treat".
    (Simply having the candy in the inventory is not enough, it must be held)

Trick Or Treat state

Description

When Hollow Girl reacts to the candy, this peaceful behavior lasts 5 seconds.
After that, she becomes enraged for 30 seconds:

  • She no longer responds to the candy.
  • She becomes aggressive again and resumes her usual behaviors.

Giving the Candy

Description

The player can give the Cursed Candy to Hollow Girl during the "Trick Or Treat" state.
Doing so:

  • Curses Hollow Girl
  • Makes her vulnerable to damage
  • But also allows her to deal damage immediately, without needing to curse players first

How to damage Hollow Girl

Description

There are two ways to hurt her:

  • If Hollow Girl is cursed (after being given Cursed Candy):
    → Any player can damage her.
  • If Hollow Girl is not cursed:
    → Only players who are cursed can damage her.

More informations

For any feedback/suggestions or questions, you can reach me on the 'Lethal Company Modding' Discord server (https://discord.gg/9rZjs3qZ) under the same name (username lega2039) or the Trick Or Treat thread.
DMs are welcome.

Attributions

Agatha Rig - (Hollow Girl)

"Agatha Rig" (https://skfb.ly/oXyOx) by NO DONT EAT ME CASEOH (Ferris wheel) is licensed under Creative Commons Attribution (http://creativecommons.org/licenses/by/4.0/).

CHANGELOG

CHANGELOG

Version 2.0.0

  • Updated to v73
  • Rework of the enemy

Version 1.0.5

  • Game version update

Version 1.0.4

  • Fixed an error displayed by PathfindingLagFix

Version 1.0.3

  • Game version update
  • Cursed Scraps version update
  • Adjusted some default values
  • Modified Halloween Candy: it will now be picked up without being stored in the player's inventory, freeing up an inventory slot
  • Removed the code that made the item stackable, players can now collect as many as they want during a game but candies will not carry over to the next game
  • Added the ability to display an image indicating that the player has a candy, the image's position can be adjusted via the config file
  • Updated Little Girl: added an interaction trigger to give her a candy

Version 1.0.2

  • Modified HalloweenCandy to have a default value
  • Fixed an NRE that occurred when the little girl was removed from possible spawns for a moon

Version 1.0.1

  • Added a new setting to increase the Little Girl's spawn rate according to the number of Halloween Candies spawned
  • Modification of some default values
  • Modification of animation triggers to make Little Girl more fluid

Version 1.0.0

  • Initial release