diff --git a/data/scenarios/Testing/475-wait-one.yaml b/data/scenarios/Testing/475-wait-one.yaml index efe8b6b35..cdc7f4b2e 100644 --- a/data/scenarios/Testing/475-wait-one.yaml +++ b/data/scenarios/Testing/475-wait-one.yaml @@ -13,7 +13,7 @@ objectives: ishere "lambda" } { return false } solution: | - log "I will win next tick!"; place "lambda"; + log "I will win next tick!"; wait 1; place "lambda"; robots: - name: base loc: [0, 0] @@ -21,6 +21,7 @@ robots: devices: - logger - grabber + - clock inventory: - [1, lambda] - name: sleeper @@ -30,7 +31,7 @@ robots: - logger - clock program: | - log "I shall sleep"; wait 1; log "I have awoken" + log "I shall sleep"; wait 2; log "I have awoken" world: palette: '.': [grass] diff --git a/src/swarm-lang/Swarm/Language/Syntax/Constants.hs b/src/swarm-lang/Swarm/Language/Syntax/Constants.hs index 8e714771f..4e92039fc 100644 --- a/src/swarm-lang/Swarm/Language/Syntax/Constants.hs +++ b/src/swarm-lang/Swarm/Language/Syntax/Constants.hs @@ -642,7 +642,7 @@ constInfo c = case c of <> "that is done automatically once you have a listening device equipped." , "Note that you can see the messages either in your logger device or the message panel." ] - Log -> command 1 short $ shortDoc (Set.singleton $ Mutation LogEmission) "Log the string in the robot's logger." + Log -> command 1 Intangible $ shortDoc (Set.singleton $ Mutation LogEmission) "Log the string in the robot's logger." View -> command 1 short . doc (Set.singleton $ Query $ Sensing RobotSensing) "View the given actor." $ [ "This will recenter the map on the target robot and allow its inventory and logs to be inspected."