Skip to content

Commit 779ae8a

Browse files
committed
better error message when trying to use object without specifying target (closes #47)
1 parent 1a86d2e commit 779ae8a

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/fantasy_forge/l10n/en/main.ftl

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,10 @@ cannot-attack = Cannot attack { INTER($target) }.
4242
cannot-use-message = You can't use { EXISTS($other) ->
4343
[true] { INTER($other) } with{ " " }
4444
*[false] { "" }
45-
}{ INTER($this) }.
45+
}{ INTER($this) }{ EXISTS($other) ->
46+
[true] { "" }
47+
*[false] { " on its own, you need to specify what to use it with" }
48+
}.
4649
armour-detail = {$type}: {EXISTS($item) ->
4750
[true] {$item_name} ({NUM($item_defense)} defense)
4851
*[false] Nothing

0 commit comments

Comments
 (0)