Skip to content

Commit

Permalink
fix some effect classifications
Browse files Browse the repository at this point in the history
  • Loading branch information
kostmo committed Dec 7, 2023
1 parent 5a98f7f commit c85878b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Swarm/Language/Syntax.hs
Original file line number Diff line number Diff line change
Expand Up @@ -574,7 +574,7 @@ constInfo c = case c of
Push ->
command 1 short
. doc
(Mutation $ Set.singleton EntityChange)
(Mutation $ Set.fromList [EntityChange, RobotChange PositionChange])
"Push an entity forward one step."
$ [ "Both entity and robot moves forward one step."
, "Destination must not contain an entity."
Expand All @@ -597,7 +597,7 @@ constInfo c = case c of
(Mutation $ Set.fromList [EntityChange, RobotChange InventoryChange])
"Grab an item from the current location."
Harvest ->
command 0 short . doc (Mutation $ Set.singleton EntityChange) "Harvest an item from the current location." $
command 0 short . doc (Mutation $ Set.fromList [EntityChange, RobotChange InventoryChange]) "Harvest an item from the current location." $
[ "Leaves behind a growing seed if the harvested item is growable."
, "Otherwise it works exactly like `grab`."
]
Expand All @@ -611,7 +611,7 @@ constInfo c = case c of
Place ->
command 1 short
. doc
(Mutation $ Set.singleton EntityChange)
(Mutation $ Set.fromList [EntityChange, RobotChange InventoryChange])
"Place an item at the current location."
$ ["The current location has to be empty for this to work."]
Ping ->
Expand Down

0 comments on commit c85878b

Please sign in to comment.