Resource Spawner
This mod adds a tool that allows server admins to spawn harvestable resource nodes in a defined area.
Switch Modes
I am working on a better method, please bear with me as I learn new tricks in the devkit. For now, with a mouse hold Right Click and use the mouse wheel to scroll up and down. This is not quite as easy on consoles, you have to hold the RIght Bumper and use direction pads, but some testers are reporting that this moves through the modes 2 at a time rather than 1. I am still working on this, but I have a deadline with two other mods so this is currently on the back burner.
Vanilla-Compatible
Uses only vanilla resources, so it will not interfere with modded crafters or recipes.
Persistent Nodes
Each node automatically sets itself up to respawn 45 minutes after being harvested. This time is multiplied by ResourcesHarvestRespawnMultiplier in GameUserSettings.ini. Nodes will not respawn if blocked by a structure, but they will return on the next cycle once the obstruction is removed.
Erasure Mode
Erasure Mode cleanly removes all visible placeable harvest nodes in an area and prevents them from respawning, allowing placement mistakes to be corrected. Harvested nodes cannot be deleted until they have respawned.
Server Settings Respected
Resource yield respects all server harvest settings. Where custom harvest components are required, they are parented to the Stone harvest class to ensure compatibility with harvest health, respawn timing, and tool or dino harvesting behavior.
Harvesting Behavior
Each node behaves like its vanilla counterpart. Metal, sulfur, crystal, and similar resources are harvestable by pick, hatchet, or appropriate dinos. Some nodes, such as wood, are also harvestable using a chainsaw. All harvest systems are based on vanilla behavior.
Available Nodes for Placement
Element Produces: Element, Element Shards, Element Dust
Metal Produces: Metal, Stone
Obsidian Produces: Obsidian
Crystal Produces: Crystal, Stone, Rare Mushrooms
Polymer Produces: Organic Polymer, Polymer, Fiber
Bones Produces: Keratin, Cementing Paste
Pearls Produces: Silica Pearls, Silicate
Black Pearls Produces: Black Pearls
Oil Produces: Oil, Stone
Gems Produces: Blue Gems, Red Gems, Green Gems
Wood Produces: Wood, Fungal Wood, Thatch
Drones Produces: Metal Ingots, Electronics
Sulfur Produces: Sulfur, Stone
Custom Harvest Components
The following resources use custom harvest components with properties similar to Stone or Metal:
Black Pearls, Gems, Bones, Drones, Element, Polymer, and Silica Pearls
Component Paths
/ResourceSpawner/Node/ElementHarvestComponent.ElementHarvestComponent
/ResourceSpawner/Node/PolyHarvestComponent.PolyHarvestComponent
/ResourceSpawner/Node/PolyHarvestComponent.PolyHarvestComponent_Extra
/ResourceSpawner/Node/Silica_HarvestComponent.Silica_HarvestComponent
All other nodes use vanilla harvest components.
Notes
Spawn-Only Tool (No Engram) This tool can only be spawned in and does not have an engram. As of version 4.0, this tool can only be used by admins.
Spawn Command
cheat giveitem "/ResourceSpawner/Spawner/PrimalItem_WeaponSpawner.PrimalItem_WeaponSpawner" 1 0 0 false
Mode Switching
Right Click (Aim) and Mouse Wheel (Up / Down) cycles through the available modes. A more intuitive and less time-consuming method of switching modes is planned.