PEAK
Install

Details

Last Updated
First Uploaded
Downloads
1.1K
Likes
0
Size
106KB
Dependency string
tony4twenty-Campfire_Building-1.0.0
Dependants

🔥Campfire Building

  • Campfire Building enhances the campfire system by automatically spawning firewood near natural objects and requiring players to collect firewood before lighting campfires.

  • Natural Firewood Spawning - Firewood automatically spawns near trees, bushes, nests, and tumbleweeds with different spawn rates based on difficulty.

  • Multiplayer Synchronized - All players see the same firewood count and campfire visuals when firewood is added.

  • Difficulty Scaling - Spawn rates adjust based on ascent level for balanced gameplay.

  • 🗣️ Find the mod in the Peak Modding Discord under #mod-releases to discuss mod related topics like issues/reports/appreciation

🧠 How It Works

  • Automatic Spawning: When entering new biomes or starting a run, firewood spawns near natural objects with specific chances:
    • Trees/Pine: 3% chance (ascent 0-2), 2% (ascent 3-5), 1% (ascent 6+)
    • Bushes: 1% chance
    • Nests: 100% chance (2 firewood for ascent 0-2, 1 firewood for ascent 3+)
    • Tumbleweeds: 100% chance (2 firewood for ascent 0-2, 1 firewood for ascent 3+)
  • Firewood Collection: Players must collect firewood items (ItemID 28) and add them to campfires before lighting
  • Visual Feedback: Campfire logs appear as firewood is added, with UI showing "ADD FIREWOOD (X/3)"
  • Multiplayer Sync: When any player adds firewood, all clients are notified via RPC to update visuals

⚙️ Configuration

This mod currently has no configuration options. All settings are hardcoded for balanced gameplay.

🛠️ Requirements

📦 Installation

  1. Download via Thunderstore
  2. Place the .dll file in: /PEAK/BepInEx/plugins/
  3. Launch game and start a run 🔥 or use the thunderstore mod manager app 🔥

🎮 Usage

  1. Start a Run: Firewood will automatically spawn near natural objects
  2. Collect Firewood: Pick up firewood items scattered around the map
  3. Build Campfires: Add firewood to campfires (requires 3 pieces to light)
  4. Light Fires: Once you have 3 firewood, you can light the campfire
  5. New Biomes: When advancing to new segments, old firewood is cleaned up and new firewood spawns

🔧 Technical Details

  • Host-Only Spawning: Only the host spawns firewood to prevent duplicates
  • Photon RPC Sync: Uses Photon networking to sync firewood counts across all clients
  • Harmony Patching: Patches campfire interaction methods to implement the new system
  • Scene Management: Automatically handles firewood spawning on scene changes and biome progression

👨‍🍳 Credits

Author tony4twenty My Other Mods tony4twenty Photon RPC Sync help from Snosz

Thunderstore development is made possible with ads. Please consider making an exception to your adblock.