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