Resources & Recipes

Sign Writing Recipes

Access every Sign Writing recipe in Dinkum and its license unlock level.


Type

This module uses the same shared Recipe type as Crafting Recipes.

interface Recipe {
  id: string
  name: string
  img: string
  source?: string[]
  baseSellPrice: number
  buyPrice?: number
  outputCount?: number | 'Varies'
  variants: ResourceVariant[]
  buffs?: Buffs
}
FieldTypeDescription
idstringStable identifier.
namestringDisplay name.
imgstringPath to the sign's icon, relative to images/.
sourcestring[]?License level required to unlock.
baseSellPricenumberBase sell price in Dinks.
buyPricenumber?Purchase price, if purchasable.
outputCountnumber | 'Varies'?Quantity produced per craft.
variantsResourceVariant[]Ingredient sets that produce this sign.
buffsBuffs?Consumable buff effects, if any.

Factory

import { signWritingRecipes } from 'dinkum-data'

signWritingRecipes() // all 17 recipes
signWritingRecipes(source) // wrap a pre-filtered array

Filters

bySource(source: string)

Filter to recipes obtainable from the given source (case-insensitive substring match).

signWritingRecipes().bySource('Sign Writing Licence Level 1').get()

Sorts

sortByBaseSellPrice(order?: 'asc' | 'desc')

Sort by base sell price. Defaults to 'desc' (most valuable first).


Terminal methods

MethodReturnsDescription
.get()Recipe[]All results
.first()Recipe | undefinedFirst result
.find(id)Recipe | undefinedFind by id
.findByName(name)Recipe | undefinedCase-insensitive exact name match
.search(query)Recipe[]Case-insensitive partial name match
.count()numberNumber of results

Examples

import { signWritingRecipes } from 'dinkum-data'

// Everything unlocked at the first Sign Writing Licence level
signWritingRecipes().bySource('Sign Writing Licence Level 1').get()

Next steps

Previous
Food Modeller recipes
Next
Tools