Closed malikhollins closed 6 months ago
Append Fake Attributes to each input?
E.G. buildDesignerString( ...inputs, ...inputsAttributes ) ?? Create list of boolean attributes??
I added context as an input parameter. We really should type protect the input to something other than object...
Finished, but not committed to main yet as I need to fix tests.
There is a lot to improve on with designer strings, but I don't have the time.
Adding Type of text to JSON Users should be able to specify the type of text, e.g. append, prepend, etc. so that they can generate a richer paragraph.
Differentiating between inputs better
A JSON object like this does not specify which tribute has to attack which, so who initiated this action is lost in the designer string. A solution can be creating a wrapper for tribute that has a property Initiated Attack, but I'd to know other possible solutions to this issue.