Skip to content

CombinationsAttribute

namespace Griff.Modules.Adventures;
public sealed class CombinationsAttribute : RowsAttribute

Marks a list of strings as items that go together, “Grappling Hook = Rope + Hook: I tie the rope to the hook.” (an InventoryBar’s Combinations): the Inspector lists them a row each, the two items picked, what they make and what’s said.

public override IReadOnlyList<RowColumn> Columns { get; }
public override string Example { get; }
public override string Noun { get; }
public override string Describe()
public override IReadOnlyList<string> NewRow()
public override IReadOnlyList<string>? Read(string row)
public override string Write(IReadOnlyList<string> cells)