Skip to content

Adding GroundStoredProcessable behavior

Dana edited this page Apr 3, 2026 · 3 revisions

Important

Make sure to familiarize yourself with the library's syntax: Attribute‐based Matching

Allows an item to be processed with the right mouse button when in ground storage.

Add the following behavior:

"behaviors": [
    {
        "name": "AttributeRenderingLibrary.GroundStoredProcessable",
        "properties": {
            // add properties here
        }
    }
]

properties

Note

Everything listed below can only be used in behavior's own properties

Example / Available values

ProcessTime

The amount of time, in seconds, it takes to process this item.

Example:

"processTime": {
    "key-value": 5.0,
    "key2-value2": 4.0
}
ProcessedStacks

An array of drops for when the item is processed.

Example:

"processedStacks": {
    "key-value": [
        {
            "type": "item",
            "code": "game:fish-raw",
            "quantity": { "avg": 9 }
        }
    ],
    "key2-value2": [
        {
            "type": "item",
            "code": "game:instrument-flute1",
            "quantity": { "avg": 1 }
        }
    ],
}
ProcessingSound

The sound to play whilst the object is being processed.

Example:

"processingSound": {
    "key-value": "game:sounds/tool/groundcrafting/boneflute*",
    "key2-value2": "game:sounds/tool/groundcrafting/stonecrushing1"
}
ProcessingAnimationCode

The animation to play whilst the object is being processed. Needs to match an animation code on the Seraph.

Example:

"processingAnimationCode": {
    "key-value": "knifescrape",
    "key2-value2": "knifescrape"
}
RemainingItem

The item to replace this one in ground storage after it is processed.

Example:

"remainingItem": {
    "key-value": { "type": "item", "code": "game:hide-scraped-{size}" },
    "key2-value2": { "type": "item", "code": "game:paper-parchment" },
}
InteractionHelpCode

The code to use for the interaction help of this item.

Example:

"interactionHelpCode": {
    "key-value": "blockhelp-processable-process",
    "key2-value2": "blockhelp-processable-process"
}
HandbookProcessIntoTitle

The title to use on the handbook page above a list of output items.

Example:

"handbookProcessIntoTitle": {
    "key-value": "groundstoredprocessesdesc-title",
    "key2-value2": "groundstoredprocessesdesc-title"
}
HandbookCreatedByTitle

The title to use on the handbook page above a list of input items.

Example:

"handbookCreatedByTitle": {
    "key-value": "handbook-createdby-groundstoredprocessing",
    "key2-value2": "handbook-createdby-groundstoredprocessing"
}
Tool

If set, then the given tool is required to process.

Example:

"tool": {
    "key-value": "knife",
    "key2-value2": "shears"
}
ToolDamage

If set, changes how much damage is done to the tool in the process.

Example:

"toolDamage": {
    "key-value": 1,
    "key2-value2": 2
}

Clone this wiki locally