StrayingFox-Trinkets icon

Trinkets

Eight new pickups: Swift Feather, Haste Rune, Giant Cap, Ward Charm, Mana Spring, Lucky Clover, Gold Pouch and Jackpot Coin. Elites drop them, and some appear on the map.

CHANGELOG

Changelog

0.1.35

  • Fix (from 0.1.33): the game's potion size kept being looked for only a minute; a run without a potion early kept the fallback trinket size and spin. Now it keeps looking (every 5 s, later every 15 s) until the first one is measured.
  • Self-test 700 waits up to 40 s for the measurement (a shop can pause the game first).

0.1.34

  • Pickup effect: the floating symbol takes the trinket's full colour (it bloomed to cream; the Gold Pouch blended into gold hats), and the white burst shards carry a light tint of the trinket's colour.

0.1.33

  • Lying trinkets re-sort their faces at most one per frame and only after the view turned about 3 degrees (they all re-sorted in the same frame before: the most frequent slow frame in testing).
  • The game's potion is measured for trinket size with fewer level-wide searches (3 samples, at most 12 tries, 5 s apart).
  • The 480 ms frame seen in test rounds was the test-only debug screenshot (Debug.TestHotkeys); it is now timed as "test-hotkeys". Players never have it.

0.1.32

  • Each part of the mod's per-frame work is timed; any part taking over 2 ms is logged (first 12 one by one, then a per-minute summary with count and worst), to pin down remaining slow frames on weak laptops.
  • Elite kill watch walks the enemy list 4 times a second instead of 10 (big hordes).
  • HUD placement re-measures once a second instead of twice while a buff is shown.
  • Self-test: the "icon row right next to the tip" check now measures from the last HUD piece beside the bar the row slid past (e.g. Elements' stoneskin bar).

0.1.31

  • Trinket models and pictures are built outside missions (menus, hub, loading), one per frame, instead of all at once when the first trinkets drop (a 485 ms frame in testing).
  • HUD placement re-measures only the HUD pieces in the lower half of the screen between full passes (fewer slow frames while a buff is shown).
  • Pickup effect: stronger trinket colour on the symbol and on the slash ring and blast.

0.1.30

  • No more level-wide object searches on timers (each one walks 200k+ objects, a dropped frame on weaker laptops):
    • wizards come from the game's own player list (GameplayPlayerManager.Identities), entries kept between lookups;
    • each wizard's buff-effect player is found under its body once and cached (buff bindings and the pickup effect use it);
    • HUD placement searches the HUD only when the buff row changes or the screen size does, and re-measures the cached pieces in between;
    • the health bar, the game's font, the BuffApplier and the pickup-size probe search only until found, with back-off or a try limit.

0.1.29

  • Self-test 740 waits 3 s after silencing the wizard (and asks the kit to clear lasting spells, kit 0.3.26+) so close-ups show the pickup effect, not the wizard's spells.

0.1.28

  • Pickup effect symbol drawn in the game's buff-symbol style: bright painted symbol, light rim glow and a soft dark halo (tools/make_fx_glyphs.py), tinted with the trinket colour.

0.1.27

  • Much less garbage with trinkets on the ground: the 3D models' triangles are re-sorted at most 20 times a second into a reused array (was a fresh array every frame), and their fade colour is only set when it changes.
  • Self-test 740 also shoots two lying trinkets up close while they spin.

0.1.26

  • Lighter per-frame work: the elite watch reads only elites each frame (walks all enemies ten times a second), the buff-effect search backs off once everything has its bindings, no per-frame lambdas.
  • Includes the 0.1.24/0.1.25 pickup effect (the game's own buff effect, recoloured per trinket with its symbol) and the new store icon.

0.1.25

  • Pickup effect: only the game's symbol layer (Ps_Icon) gets the trinket glyph (0.1.24 also put it on the radial blast), lifted clear of tall hats and 25% bigger. The old flat white flash only shows if the effect can't be made.
  • Self-test 740 runs its before/after pickups in one flat loop (the kit does not wait on nested steps).

0.1.24

  • New pickup effect on the wizard: a copy of the game's own super-pickup buff effect, recoloured to the trinket with the trinket's symbol as its emblem (Look.PickupEffect, Look.PickupEffectFrom). The game's blue speed / cast effect no longer plays on top for a Swift Feather or Haste Rune.
  • Self-test 740: close-up shots of the game's buff effects, the old pickup and the new one; logs every layer of the game's buff effects.

0.1.23

  • Self-test: picks up the Jackpot Coin and checks that Arcane Row's Gamble pull count goes up by one (or, without Gamble, that no pull is added).

0.1.22

  • New trinket: the Jackpot Coin (Stefan's Meshy jackpot coin from Arcane Row's Gamble). Picking it up gives one more pull on the Gamble slot machine this mission. It only drops while the host has Gamble (Arcane Row 0.6.0 with GambleApi); a wizard without Gamble who picks one up gets 40 gold instead.
  • Mana Spring and Giant Cap no longer flash the game's cast-speed emblem on the wizard: they get a silent buff effect, and the trinket's own ring and pickup burst show them.
  • TrinketsApi.Pickups for other mods (the Minimap): the trinkets on the ground with position, colour, icon and name.

0.1.21

  • Buff icons now follow the game's own spell slots: a black disc, a thin glowing ring in the trinket colour that empties as the buff runs out, and a single-colour painted glyph (feather, rune, mushroom, shield charm, spring, clover, pouch) tinted the same colour.

0.1.20

  • The Ward Charm is a 3D model now (Stefan's Meshy shield charm), spinning like the others, and its buff icon is rendered from that model.

0.1.19

  • Trinkets are 20% bigger (0.75 of the potion bottle).
  • Balance pass 1, a little stronger so they're worth chasing: Swift Feather +50% for 14 s (was +40%, 10 s), Haste Rune +60% for 15 s (+50%, 12 s), Giant Cap +60% for 18 s (+50%, 15 s), Ward Charm 6 s (5 s), Mana Spring 25 s (20 s), Gold Pouch 40 gold (25), elites drop one 30% of the time (25%). Existing configs are moved to these numbers once (Debug.BalanceVersion).

0.1.18

  • Pickup moment: a ring in the trinket's colour races out over the ground with the flash, and the buff icon punches in (1.4 to 1.0).
  • Running out: in its last 3 seconds a buff icon throbs and blinks, faster towards the end.
  • While a buff runs, a turning ring in its colour circles the wizard's feet (on top of the soft glow), so it reads in a crowd.
  • On the ground every trinket has a soft shadow and a slowly turning ring in its colour, like the game's potion.
  • Pairs with Loot Beams 0.3.1: slimmer, dimmer beams on trinkets that clear away within 6 units.

0.1.17

  • Self-test only: the "all seven on the ground" step counts just the trinkets it dropped, so natural drops in an all-mods round no longer fail it.

0.1.16

  • Buff icons beside the HP bar tip no longer hang down onto the thin XP line at the bottom of the screen: their bottom lines up with the bar's bottom.

0.1.15

  • Buff icons sit right after the HP bar's right tip, level with the bar (where Stefan's arrow pointed).
  • Buff icons use painted art rendered from each trinket's own model; the Ward Charm got a painted shield picture, also used on the ground until it has a model.
  • No more pickup text like "Gold Pouch Team: +25 gold" (Look.ShowPickupText brings it back).
  • Trinkets are 25% bigger (0.625 of the potion bottle) and spin on the spot like the potion, at its measured speed.
  • With Loot Beams 0.3.0+ installed, trinkets on the ground get a beam in their own colour.

0.1.14

  • Giant Cap and Mana Spring no longer throw the game's "Sequence contains no matching element" error. The read-back in 0.1.13 showed why: adding to the game's list of buff effects through the interop stored a pointer instead of the entry (stat came back as -1571616592, no effect). The entries are now written in place with the game's real layout, and the broken entries from older builds are repaired.
  • Self-test checks that every wizard's buff-effect list really holds Size and XPGain entries.

0.1.13

  • Trinkets are half the potion bottle's size (self-test measured the bottle at 1.16 units, so about 0.58), which is half of what Stefan saw.
  • Giant Cap and Mana Spring still logged the game's "Sequence contains no matching element" error: the buff-effect entries are now added to every effect player including inactive ones and the prefab, and read back into the log.

0.1.12

  • Trinkets are about half the size Stefan saw (0.75 of the potion bottle's longest side, around 0.6 units instead of 1.22).

0.1.11

  • Trinket size now comes from the potion's (or magnet's) own model alone: 0.1.10 still added the potion's respawn ring, which made trinkets about 1.5x the bottle. Parts the game hasn't drawn yet are ignored instead of stretching the measurement.

0.1.10

  • Fixed trinkets being sized far too big (the self-test measured 3.64 units): the measuring now takes the potion's or magnet's own model (its most detailed solid mesh) and skips glow, magic and other effect meshes around it, and anything much bigger than the model. It logs every part it looked at.

0.1.9

  • Test Kit self-test steps (only when the Test Kit's self-test is armed): trinket size against the game's potion/magnet, all seven on the ground, and the buff icons above the HP bar with a counting-down badge.

0.1.8

  • The seconds counter is drawn with the mod's own digit images now, so it can't come out garbled whatever the game font holds.
  • Measuring the game's potion/magnet ignores flat ground pieces (shadows, glow discs) and takes a few samples, so a potion that is still popping in can't make trinkets too small.
  • The HUD scan only looks at the lower half of the screen and skips a piece it can't measure instead of giving up.

0.1.7

  • Trinkets are now as big as the game's own health potion and magnet: the mod measures one of those in the level and sizes the models and orbs to match. They also float lower.
  • Buff icons sit just above the health bar, at its right end, next to the spell icons (instead of beside the bar).
  • The seconds counter on a buff icon was garbled; it now shows clean digits in a small dark badge.

0.1.6

  • Mana Spring is a 3D model now (only the Ward Charm is still an orb). The spring and the gold pouch tip their tops toward the camera, so you see the water and the coins.

0.1.5

  • Giant Cap, Lucky Clover and Gold Pouch are now 3D models too (Meshy, reduced to 3,000 triangles each). Only the Ward Charm and Mana Spring are still orbs.

0.1.4

  • Swift Feather and Haste Rune are now 3D models (made in Meshy) instead of orbs: they float facing the camera, sway gently, and keep a soft glow in their colour behind them. The other five stay orbs until their models are done. Look.UseModels = false brings the orbs back.
  • The HUD placement no longer uses a lookup that can fail in this game.

0.1.3

  • Buff icons now sit right next to the game's health bar, at its height. The position is measured from the game's own health bar (its exact screen rectangle, at any resolution, ultrawide included) instead of being guessed, the same way the Minimap measures the HUD.
  • Seconds left are shown as a small badge on the icon, like the level number on the spell slots.
  • Hidden or faded-out HUD panels and the long XP bar no longer push the icons away.

0.1.2

  • Fixed a game error when picking up a Giant Cap or Mana Spring. The game's buff effect had no entry for those stats, threw, and then never removed the buff, so it stayed for the rest of the mission. The mod now gives the game's buff effect player an entry for every stat trinkets use.

0.1.1

  • The buff icons no longer sit on top of the health and spell bar. They now go beside the game's health bar (right side by default, Look.HudSide to switch), and slide further out on their own when other HUD art is in that spot.
  • The pickup banner sits centred just above the bar.
  • Debug screenshots (Ctrl+F11 and the automatic ones) work again.

0.1.0

  • First version: Swift Feather, Haste Rune, Giant Cap, Ward Charm, Mana Spring, Lucky Clover and Gold Pouch.
  • Elites drop them (25%), and one appears on the map every 75 s (at most 3 lying around; they fade after 90 s).
  • Buff icons with timer rings, a pickup banner, and a glow under buffed wizards.
  • Test hotkeys (Debug.TestHotkeys): Ctrl+T drops the next trinket, Ctrl+Shift+T drops all seven, Ctrl+F11 saves a screenshot.