|
@@ -25,6 +25,7 @@ class ActionInventory extends Action {
|
|
|
public static async createButton (thing : Thing, resolve : (t : Thing) => void) {
|
|
|
let p = document.createElement("p");
|
|
|
p.classList.add("choice");
|
|
|
+ p.classList.add("small");
|
|
|
let elements = await ((new Say(thing)).getPureElements());
|
|
|
elements.forEach(ele => {
|
|
|
p.appendChild(ele);
|
|
@@ -52,7 +53,7 @@ class ActionInventory extends Action {
|
|
|
Controls.KeyHandler.reset();
|
|
|
let say = new Say();
|
|
|
if (wielded.length > 0) {
|
|
|
- say.add(new SayBold("Wielded:"), Say.LINE_BREAK);
|
|
|
+ say.add(new SayBold("Wielded:"), Say.PARAGRAPH_BREAK);
|
|
|
for (let i = 0; i < wielded.length; i++) {
|
|
|
say.add(await ActionInventory.createButton(wielded[i], resolve));
|
|
|
}
|