tony4twenty-Campfire_Building icon

Campfire Building

Pick up sticks to be able to build and light the fire at each summit!

Last updated 2 days ago
Total downloads 151
Total rating 0 
Categories Mods Misc World All Clients
Dependency string tony4twenty-Campfire_Building-1.0.0
Dependants 0 other packages depend on this package

This mod requires the following mods to function

BepInEx-BepInExPack_PEAK-5.4.75301 icon
BepInEx-BepInExPack_PEAK

BepInEx pack for PEAK. Preconfigured and ready to use.

Preferred version: 5.4.75301

README

๐Ÿ”ฅ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