MC/docs/SPY-MODULE.md
2026-11-28 16:28:50 +01:00

27 lines
1.7 KiB
Markdown

# Spy Module (Smuggler / Spy ability)
## Recipe (cookbook)
Shapeless, crafting table. Unlocked when a player accepts a smuggler contract. The server checks the unlock and all three tagged ingredients when previewing and taking the result. Automated crafters cannot make this player-unlocked recipe.
| Ingredient | Item | ei-id |
|---|---|---|
| Egg | Weirding Module (MK III) | `jerboa_egg` |
| Orange dye | Smuggled Spice | `smuggled_spice` |
| Clay ball | Jerboa Hide Paste (MK II) | `jerboa_hide_paste` |
Result: **Spy Module**, Uncommon, MK IV (highest ingredient MK + 1), ei-id `spy_module`, item model `dunerealms:spy_module`.
Recipe key `dunenpc:spy_module`. A spy quest can call `SmugglerCover.unlock(player)` to grant it as well.
## Active
Throw the egg at a player. It does no damage, knockback, sound or message to them. The thrower looks like the target
(armour, main hand, off hand) to every player within `spy.view-distance` blocks. Cosmetic only. 3 s cooldown.
Cover ends on attacking, being hurt, death, quit, world change, or after `spy.duration-seconds` (180 s).
## Passive: Quiet Contacts
Per previous completed smuggling run: +2% payout (max +10%, calculated after the Trust levy) and +10 s cover time (max +120 s). The base reward and bonus are deposited together.
Runs are stored on the player as `dunenpc:smuggler_runs`.
## Release checks
The Spy Module appears in the J.A.R.V.I.S. item catalogue. The legacy ZIP includes its model and texture, and the central pack builds them from `network/resource-pack/shared`.
A two-player acceptance test should confirm the copied kit is cosmetic and clears on damage, attack, expiry and world change. The current unlock comes from smuggler contracts.