Skip to content

Commit 9d488fc

Browse files
committed
Adapt formatting of descriptions in example to new user interfaces
Adapt the format in the descriptions of the examples to the markdown rendering deployed on the reactor today. The new UI uses the implementation from dillonkearns/elm-markdown#108 for the markdown parsing and rendering.
1 parent 22f993a commit 9d488fc

File tree

7 files changed

+17
-5
lines changed
  • implement
    • applications
      • eve-online
      • tribal-wars-2/tribal-wars-2-farmbot
    • templates

7 files changed

+17
-5
lines changed

implement/applications/eve-online/eve-online-combat-anomaly-bot/Bot.elm

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
{- EVE Online combat anomaly bot version 2021-09-17
1+
{- EVE Online combat anomaly bot version 2021-09-22
2+
23
This bot uses the probe scanner to warp to combat anomalies and kills rats using drones and weapon modules.
34
45
Setup instructions for the EVE Online client:
@@ -23,11 +24,13 @@
2324
When using more than one setting, start a new line for each setting in the text input field.
2425
Here is an example of a complete settings string:
2526
27+
```
2628
anomaly-name = Drone Patrol
2729
anomaly-name = Drone Horde
2830
hide-when-neutral-in-local = yes
2931
rat-to-avoid = Infested Carrier
3032
module-to-activate-always = shield hardener
33+
```
3134
-}
3235
{-
3336
catalog-tags:eve-online,anomaly,ratting

implement/applications/eve-online/eve-online-mining-bot/Bot.elm

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
{- EVE Online mining bot version 2021-09-17
1+
{- EVE Online mining bot version 2021-09-22
2+
23
The bot warps to an asteroid belt, mines there until the ore hold is full, and then docks at a station or structure to unload the ore. It then repeats this cycle until you stop it.
34
If no station name or structure name is given with the bot-settings, the bot docks again at the station where it was last docked.
45
@@ -22,9 +23,11 @@
2223
When using more than one setting, start a new line for each setting in the text input field.
2324
Here is an example of a complete settings string:
2425
26+
```
2527
unload-station-name = Noghere VII - Moon 15
2628
module-to-activate-always = shield hardener
2729
module-to-activate-always = afterburner
30+
```
2831
-}
2932
{-
3033
catalog-tags:eve-online,mining

implement/applications/eve-online/eve-online-warp-to-0-autopilot/Bot.elm

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
{- EVE Online Warp-to-0 auto-pilot version 2021-09-17
1+
{- EVE Online Warp-to-0 auto-pilot version 2021-09-22
2+
23
This bot makes your travels faster and safer by directly warping to gates/stations. It follows the route set in the in-game autopilot and uses the context menu to initiate jump and dock commands.
34
45
Before starting the bot, set up the game client as follows:

implement/applications/tribal-wars-2/tribal-wars-2-farmbot/Bot.elm

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
{- Tribal Wars 2 farmbot version 2021-09-13
1+
{- Tribal Wars 2 farmbot version 2021-09-22
2+
23
I search for barbarian villages around your villages and then attack them.
34
45
When starting, I first open a new web browser window. This might take longer on the first run because I need to download the web browser software.
@@ -34,9 +35,10 @@
3435
When using more than one setting, start a new line for each setting in the text input field.
3536
Here is an example of `bot-settings` for three farm cycles with breaks of 20 to 40 minutes in between:
3637
38+
```
3739
number-of-farm-cycles = 3
3840
break-duration = 20 - 40
39-
41+
```
4042
-}
4143
{-
4244
catalog-tags:tribal-wars-2,farmbot

implement/templates/display-session-length-limit/Bot.elm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{- This program demonstrates how to use the session time limit.
2+
23
Some bots should consider the remaining time in the current session when choosing the next activity.
34
This program gets and stores the session length limit set in the configuration interface.
45
It also computes the remaining time as the difference between the present time and the configured limit and displays the result via the status text.

implement/templates/remember-bot-settings/Bot.elm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{- This program demonstrates how to remember the bot-settings string.
2+
23
It takes any settings string received from the user and stores it in the bot state.
34
This bot also updates the status message to show the last received settings string, so you can check that a method (e.g., via command line) of applying the settings works.
45
-}

implement/templates/send-input-to-window/Bot.elm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{- This template demonstrates how to send inputs to a window on the same Windows machine.
2+
23
This bot only sends a sequence of inputs to the window and then stops.
34
As the example input sequence below shows, we can implement drag&drop operations by using the inputs `MouseButtonDown`, `MoveMouseToLocation`, and `MouseButtonUp`.
45
A good way to test and visualize the mouse paths is to use this bot on a canvas in the MS Paint app.

0 commit comments

Comments
 (0)