Stardew Valley
0 of 0

File information

Last updated

Original upload

Created by


Uploaded by


Virus scan

Safe to use

About this mod

Allows you to create custom ore nodes that look like and drop whatever object you want.

Permissions and credits
This mod allows you to create custom ore nodes that have a chance to spawn instead of ordinary stones (similar to other ore nodes). By default it includes a new "coal stone" node that drops coal and has examples of a "pizza stone" that drops pizza and a rainbow stone that drops prismatic shards.


To use this mod, you can simply rename the EXAMPLEcustom_ore_nodes.json file included with this mod to custom_ore_nodes.json and edit it with a text editor. The nodes key has a list of strings that each describe a custom node. Here's the default:

    "This stone is rich in coal./assets\\CoalStone.png/mod/0,0/16,16/1,120/5/4/12/382;100;1,4;1;1|390;75;1,2;1;1",
    "This stone is rich in coal./assets\\CoalStone.png/mod/0,0/16,16/121,-1/10/4/12/382;100;1,4;1;1|390;75;1,2;1;1",
"This stone smells like pizza./Maps\\springobjects/game/160,432/16,16/-1,-1/20/2/12/206;100;1,2;1;1",
"This stone shines like stardust./LooseSprites\\Cursors/game/597,1888/16,16/-1,-1/0/12/48/Prismatic Shard;100;1,1;0;0"

Alternatively, you can create your own Content Pack for this mod (see Files section for a template mod) with its own custom_ore_nodes.json file.

Node Explanation

The node info in each string (separated by "/") is, in order:

  1. Node type description
  2. Relative path to sprite sheet containing this node's sprite
  3. Where to look for the sprite sheet: mod means in this mod's folder, game means in the game's Content folder.
  4. Sprite X location on the sprite sheet, sprite Y location on the sprite sheet
  5. Sprite width, sprite height
  6. Minimum mine level to spawn this node, maximum mine level to spawn this node (set either to -1 to disable it) (121 is the first Skull Cave level)
  7. Percent chance to spawn this node (instead of each ordinary stone)
  8. Durability of this node
  9. Experience for cracking this node
  10. Drop item list

The drop item list contains information on what items this node should drop (items separated by "|", item infos separated by ";") as follows:

  1. Object index or name of item (see Raw data here for object ids and names)
  2. % Chance to drop this item
  3. Minimum amount to drop, maximum amount to drop
  4. Additional amount to drop if lucky
  5. Additional amount to drop if skilled miner

The default list above translates into a 5% chance per stone of spawning a coal stone instead in the mines (levels 1-120), a 10% chance per stone of spawning a coal stone instead in Skull Cave (level 121+), and a 0% chance of spawning pizza stones and rainbow stones.

Technical Notes

If you are trying to drop items from mods that you don't know the id for, just use the object name (but not the display name if it's different).

The screenshots were created using Custom Dungeon Floors which allows for spawning more stones, among other things.

This mod extends (adds to the bottom of) the sprite sheet Maps\springobjects, so any other mod that does that may conflict. To avoid this, there is now a setting in the config file, SpriteSheetOffsetRows to skip that many rows before adding sprites. You'll have to figure out from the conflicting mod how many rows you need to skip, based on where that mod adds its sprites. The current height of springobjects is 544 pixels, and each row is 16 pixels high.

Requires SMAPI, uses Harmony.

Source code is available at