just_frostice482-Amulet icon

Amulet

A mod to enhance high scoring runs - Fork of Talisman

Last updated 3 weeks ago
Total downloads 2825
Total rating 0 
Categories Misc
Dependency string just_frostice482-Amulet-3.5.2
Dependants 0 other packages depend on this package

This mod requires the following mods to function

Thunderstore-lovely-0.8.0 icon
Thunderstore-lovely

Lovely is a runtime lua injector for LÖVE 2d

Preferred version: 0.8.0

README

Amulet

A Talisman continuation that adds support for scoring above vanilla's limit (e308) while providing compatibility by default to most mods.

Additions from Talisman:

  • Backward-compatible high scores
  • BigAnte
  • OmegaNum optimizations

The OmegaNum used is a port of OmegaNum.js by Mathguy23.

Installation

Amulet requires Lovely to be installed in order to be loaded by Balatro.

API

Most Amulet APIs are backward-compatible with talisman, except mostly OmegaNum checking. Internally, Amulet's OmegaNum is cdata and not tables.

Making incompatible with Talisman

[!WARNING] Amulet >= 3.5.1 includes SMODS.Mods.Talisman to add compat for mods that checks Talisman that way. Do not use this method to make a conflict with Talisman, as it will also includes Amulet.

For Amulet >= 3.5.1, simply add conflicts to your JSON file

"conflicts": [ "Talisman (<=2.7)" ]

For Amulet >= 3.2.4, add check in your lua file

(expand for code)
if Talisman and not Talisman.Amulet then
error[[

      !!!!!!!!!!!!!!!

Talisman is not supported, use Amulet instead

Download it here: https://github.com/frostice482/amulet

      !!!!!!!!!!!!!!
]]
end

OmegaNum checking

Use is_big(thing) or Big.is(thing)

Forcing OmegaNum

Using this feature will force-enable OmegaNum and hide the option from the settings

Talisman.forced_features.force_omeganum()

Forcing BigAnte

Using this feature will force-enable BigAnte and hide the option from the settings

Talisman.forced_features.force_bigante()