chore: simplify
This commit is contained in:
parent
d11c6a6c72
commit
ea1473d3af
|
@ -28,21 +28,16 @@ export function wateringCanJSON() {
|
|||
},
|
||||
tool: {
|
||||
params: {
|
||||
condition: buildCondition(
|
||||
'or',
|
||||
[
|
||||
// Has to be dirt.
|
||||
buildCondition('is', [
|
||||
6,
|
||||
buildInvoke(
|
||||
['user', 'layer', 'tileAt'],
|
||||
[
|
||||
buildTraversal(['target']),
|
||||
],
|
||||
),
|
||||
]),
|
||||
],
|
||||
),
|
||||
// Has to be dirt.
|
||||
condition: buildCondition('is', [
|
||||
6,
|
||||
buildInvoke(
|
||||
['user', 'layer', 'tileAt'],
|
||||
[
|
||||
buildTraversal(['target']),
|
||||
],
|
||||
),
|
||||
]),
|
||||
actions: {
|
||||
type: 'actions',
|
||||
traversals: [
|
||||
|
|
Loading…
Reference in New Issue
Block a user