Skip to main content

stub_inventory

Function stub_inventory 

Source
fn stub_inventory(arr: &mut Value, kind: &str)
Expand description

Replace each entry of one inventory array, whichever of the two shapes it uses: a bare name string, or an object carrying a name plus local prose about it. A non-array is left alone.