PartialCommand
BETA. Three artifacts that work like Command for a percentage of your drops: 75%, 50% and 25%.
模組介紹 作者原文
PartialCommand
Artifact of Command lets you choose every item you pick up. These three do the same for a fraction
of your drops.
| Artifact | Choosable drops | Icon |
| --- | --- | --- |
| Artifact of Direct | 75% | |
| Artifact of Suggest | 50% | |
| Artifact of Ask | 25% | |
Each drop rolls separately. Every icon is a pie wedge showing that artifact's chance, redrawn when
you change the config.
Beta
This release is a beta. Bug reports welcome.
A useful report includes:
- The [Info: PartialCommand] line from the BepInEx console for that run.
- Which of the three artifacts were enabled.
- Your MultipleArtifacts and MaximumChance settings.
- Singleplayer or multiplayer, and whether you were the host.
- Any other mods that touch items, drops or artifacts.
How it works
Command operates through a flag. A spawning pickup droplet is tagged with
PickupArtifactFlag.COMMAND when Command is enabled, and PickupDropletController.CreatePickup
reads that tag to spawn a command cube in place of the item.
Every command-eligible drop funnels through one method:
PickupDropletController.CreatePickupDroplet(CreatePickupInfo, Vector3, Vector3)
This mod puts a Harmony prefix there and sets the same flag on a percentage of droplets. The
cube-spawning code stays untouched. Coverage matches Command: chests, shrines, printers, scrappers,
boss drops, Scavenger bags.
Deliberate limits:
- Rolls happen on the server only.
- With real Artifact of Command enabled, all three go dormant.
- Droplets already flagged COMMAND (command chests) or DELUSION are left alone.
- Pickups Command itself skips stay skipped: artifacts, void coins, anything without an item tier.
Rolls come from a dedicated Xoroshiro128Plus seeded from the run seed, separate from the drop
tables' own generators.
Config
BepInEx/config/com.zackman.partialcommand.cfg, written on first launch.
| Key | Default | Meaning |
| --- | --- | --- |
| Chances.Direct | 75 | Percent of drops that become choosable. |
| Chances.Suggest | 50 | " |
| Chances.Ask | 25 | " |
| Behaviour.MultipleArtifacts | Highest | How several enabled artifacts combine. |
| Behaviour.MaximumChance | 100 | Hard ceiling on the final number. 100 disables it. |
Turning on more than one
MultipleArtifacts resolves the combination:
- Highest (default): only the most generous enabled artifact counts.
- Independent: each enabled artifact rolls on its own, and any success wins.
| Enabled | Highest | Independent |
| --- | --- | --- |
| Direct | 75% | 75% |
| Suggest | 50% | 50% |
| Ask | 25% | 25% |
| Direct + Suggest | 75% | 87.5% |
| Direct + Ask | 75% | 81.25% |
| Suggest + Ask | 50% | 62.5% |
| Direct + Suggest + Ask | 75% | 90.625% |
Both modes clamp the result into [0, MaximumChance] before rolling, and every config value is
scrubbed of NaN and infinities on the way in.
The first drop of each run logs the result, repeating only when the answer changes:
[Info: PartialCommand] Artifact of Direct 75% + Artifact of Ask 25% [Highest] -> 75% of drops choosable this run.
Common surprises
Artifact of Command is also enabled. All three go dormant. The console reports it on the first
drop of the run.
A chance is set to 0. The artifact still appears in the lobby and can still be selected, and it
never fires. The console reports this too.
Config edited while the game is running. BepInEx does not watch the file, so hand edits take
effect at the next restart. Under ConfigurationManager the rolls change immediately while the
tooltip keeps showing the old percentage, since descriptions are language tokens built at startup.
Percentages read as "per chest". They apply per droplet. A boss dropping three items rolls three
times, so 25% gives roughly a 58% chance that at least one is choosable.
Coverage you might expect and will not get. Anything without an item tier is skipped, including
artifact pickups and void coins. Void cradles and multishop terminals carry their own choice and
stay untouched. Real Command strips multishops
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。
下面這些內容需要先安裝,否則該模組不會生效: