Skip to content

Instantly share code, notes, and snippets.

@ghostdevv
Last active January 12, 2024 19:16
Show Gist options
  • Select an option

  • Save ghostdevv/366cce6995906d6dce8b15ca13a8aad4 to your computer and use it in GitHub Desktop.

Select an option

Save ghostdevv/366cce6995906d6dce8b15ca13a8aad4 to your computer and use it in GitHub Desktop.

Revisions

  1. ghostdevv revised this gist Jan 12, 2024. 1 changed file with 15 additions and 0 deletions.
    15 changes: 15 additions & 0 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,15 @@
    # Fuel Command

    Simple command to check the fuel level of the turtle.

    ## Installation

    ```bash
    wget https://gist.github.com/ghostdevv/366cce6995906d6dce8b15ca13a8aad4/raw/8085d548d0ab634cc22dfc24bd98350989e4d9e6/fuel.lua
    ```

    ## Usage

    ```bash
    fuel
    ```
  2. ghostdevv created this gist Jan 12, 2024.
    1 change: 1 addition & 0 deletions fuel.lua
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    print("Fuel Level: " .. turtle.getFuelLevel() .. "/" .. turtle.getFuelLimit())