Starbound

Starbound

Racial Recipe Requisition
Kais  [developer] 29 Dec, 2022 @ 9:35pm
OTHER MODDERS: Adding support for RRR in your mod
These features have actually been in the mod for a year and a half now, but I realized I never actually documented them, so here we are.

The mod ID is kaisraceblueprintunlocker and the file you want to patch is /interface/scripted/kraceblueprintunlocker/kraceblueprintunlockerui.config.

Adding materials:
Add entries to /materials with the format itemname : odds. itemname should be a string item name, and odds should be a number between 0 and 1 for how likely the item is to be used up. The default entries here are:
"autochip" : 1.0 "manipulatormodule" : 0.75 "techcard" : 0.66666 "upgrademodule" : 0.5

Adding recipes which are not in /defaultBlueprints in the species file:
Add entries to /hardChecks with the format recipepath : questgate. recipepath should be a string path (read by root.assetJson) to a string-keyed list of either string recipe names or lists of string recipe names, and questgate should be a string quest name which must be completed before the recipe can be obtained, or false if the recipe should not be quest-gated. The default entries here are:
"/player.config:deploymentConfig.speciesStarterMechBody" : "mechunlock" "/quests/outpost/mechupgrade2.questtemplate:scriptConfig.giveSpeciesBlueprints" : "mechupgrade2"

Making the Cyanotyper UI auto-refresh:
A feature that I left in but disabled because it's pretty laggy and not all that helpful. Replace /refreshInterval with a positive number and the UI will auto-refresh every that number of seconds. No whining about stutter if you do this, got it?