Potions

版本 v1.1.0·更新於 2025-11-08

Adds a cauldron to brew potions in PEAK

模組介紹 作者原文

Potions

Adds 21 potions to PEAK which can brewed using two ingredients at a Cauldron. This mod also contains a small API for developers to add their own potions.

Recipes

| Name | Recipe | Drink Time | Effects |

| ---------------------- | ----------------------------------------- | ---------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |

| Vile Potion | Default Potion | 4.5s | 110% Poison total beginning 10s after consuming |

| Rat Poison | Vile Potion + Green Crispberry | 0.5s | Instantly kills the user |

| Potion of Happiness | Any Berrynana Peel + Yellow Crispberry | 4.5s | Provides a Morale Boost to everyone (a whole bar of reserve stamina) |

| Erratic Potion | Big Lollipop + Energy Drink | 4.5s | Speed boost and infinite stamina for 20s (effects of Big Lollipop + Energy Drink) |

| Temperate Potion | Any Clusterberry + Cluster Shroom | 4.5s | Temperate for 120s, removing 10% Cold and 10% Hot each second |

| Numbness Potion | Any Mushroom + Any Mushroom | 4.5s | Removes all Injury for 120s, then returns the Injury afterwards |

| Potion of Selflessness | Remedy Fungus + Shelf Fungus | 4.5s | Respawns all fallen teammates on the user, then kills the user |

| Potion of Impatience | Any Shroom + Any Crispberry | 4.5s | Removes all of your Cold, Hot, Poison and Drowsy |

| Potion of Lifesteal | Remedy Fungus + Any Coconut | 4.5s | Lifesteal for 60s |

| Potion of Levitation | Scout Cannon + Any Coconut | 4.5s | Levitation for 60s |

| Potion of Negativity | Any Shroom + Remedy Fungus | 4.5s | Clears all afflictions |

| Duck in a Bottle | Napberry + Any Kingberry | 4.5s | Kills the user and spawns a bunch of Rubber Duckies |

| Potion of Employment | Ancient Idol + Potion of Happiness | 4.5s | Closes the users game and opens LinkedIn |

| Sandstorm in a Bottle | Any Prickleberry + Rope Spool | 4.5s | Summons a Tornado |

| Antimatter Potion | Any Crispberry + Any Anti-Rope | 4.5s | Triggers an antimatter explosion and kills the user |

| Potion? | Antimatter Potion + Antimatter Potion | 4.5s | Literally nothing |

| Potion of Positivity | Potion of Negativity + Antimatter Potion | 4.5s | Massive mixed bag for 60s: Speed, Infinite Stamina, Levitation, Lifesteal, Morale Boost, Numbness, Temperate; also applies 50% Poison, triggers an antimatter explosion, grants Rebirth, and revives teammates |

| Potion of Selfishness | Remedy Fungus + Shelf Fungus | 4.5s | Kills all other teammates, clears virtually all statuses (Cold/Hot/Hunger/Thorns/Injury/Poison/Drowsy/Curse) |

| Potion of Rebirth | Rat Poison + Antimatter Potion | 0.5s | Rebirth for 60s (revive on death) |

| Tumbleweed in a Bottle | Sandstorm in a Bottle + Antimatter Potion | 4.5s | Spawns 5 Tumbleweeds |

| Pinata Potion | Any Shroom + Any Kingberry | 4.5s | On player death, instantly spawn a bunch of candy and one lollipop |

| | | | |

For developers: Making custom potion recipes

To create a custom potion: Create an instance of the Potions.APIs.Potion class and register it using Potions.APIs.PotionAPI.RegisterPotion

using Potions.APIs;

using BepInEx;

namespace MyPotionPack;

[BepInAutoPlugin]

public partial class Plugin: BaseUnityPlugin

{

private void Awake()

{

var myPotion = new Potion

{

name = "Speedy Potion",

drinkTime = 4.5f, // default drink time for most built-in potions

id = "speedy",

effects = [

new IncreasedSpeed(120f),

],

liquidColour = new Color(1, 0, 0), // red

recipe = ["Energy Drink", "Red Crispberry"] // the UIData.name of the item

}

PotionAPI.RegisterPotion(myPotion);

}

}

To make a potion effect, just inherit the PotionEffect class

using Peak.Afflictions;

using Potions.APIs;

namespace Potions.PotionEffects;

public class IncreasedSpeed(float length): PotionEffect

{

private float len = length;

public override void Drink(Character character)

{ }

public override void Apply(Item ite

安裝與使用 安裝:BepInEx 外掛

  1. 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
  2. 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
  3. 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
  4. 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。

帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。

前置依賴

下面這些內容需要先安裝,否則該模組不會生效:

BepInEx-BepInExPack_PEAKPEAKModding-PEAKLib_Items

檔案與校驗

檔案名稱
Potions-1.1.0.zip
檔案大小
34.6 MiB