Spaces:
Runtime error
Runtime error
Commit
·
673e438
1
Parent(s):
97a7099
new version
Browse files- src/app/main.tsx +2 -2
src/app/main.tsx
CHANGED
@@ -328,10 +328,10 @@ export default function Main() {
|
|
328 |
newEvent = <>You just grabbed <span className="font-bold">{item.name}</span></>
|
329 |
} else if (event === "DroppedOnAnotherItem") {
|
330 |
newEventString = `Player is trying to use those object from their own inventory: "${item.name}" with "${target?.name}". What do you think could the combination of ${item.name} and ${target?.name} lead to? Invent a funny outcome!`
|
331 |
-
newEvent = <>You tried to combine <span className="font-bold"
|
332 |
} else if (event === "ClickOnItem") {
|
333 |
newEventString = `Player is inspecting "${item.name}" from their inventory, which has the following description: "${item.description}". Can you invent a funny back story?`
|
334 |
-
newEvent = <>🔎 You are inspecting <span className="font-bold"
|
335 |
}
|
336 |
|
337 |
if (newEventString && newEventString !== lastEventString) {
|
|
|
328 |
newEvent = <>You just grabbed <span className="font-bold">{item.name}</span></>
|
329 |
} else if (event === "DroppedOnAnotherItem") {
|
330 |
newEventString = `Player is trying to use those object from their own inventory: "${item.name}" with "${target?.name}". What do you think could the combination of ${item.name} and ${target?.name} lead to? Invent a funny outcome!`
|
331 |
+
newEvent = <>You tried to combine <span className="font-bold">"{item.name}"</span> with <span className="font-bold">"{target?.name}"</span></>
|
332 |
} else if (event === "ClickOnItem") {
|
333 |
newEventString = `Player is inspecting "${item.name}" from their inventory, which has the following description: "${item.description}". Can you invent a funny back story?`
|
334 |
+
newEvent = <>🔎 You are inspecting <span className="font-bold">"{item.name}".</span> {item.description}</>
|
335 |
}
|
336 |
|
337 |
if (newEventString && newEventString !== lastEventString) {
|