Skip to content

drums12360/CC-Survival-Scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CC-Survival-Scripts

Stuff for the CC:Tweaked mod

Downloader CC:T Command wget https://raw.githubusercontent.com/drums12360/CC-Survival-Scripts/main/downloader/downloader.lua

File Name Description Usage
downloader.lua Downloads all normal scripts and/or standalone scripts downloader <version> <no auto updater> Executing without variables given will result in normal scripts and active auto updater. For standalone scripts use sa. For normal and standalone scripts use all. For normal or all scripts without auto updater write auto no or all no

Refuel CC:T Command wget https://raw.githubusercontent.com/drums12360/CC-Survival-Scripts/main/standalone/refuelSA.lua

Remote Control v0.4.3

Installer CC:T Command: wget https://raw.githubusercontent.com/drums12360/CC-Survival-Scripts/main/remote-control/rcInstaller.lua

Usage: rcInstaller turtle|remote <true/nil>

Features

  • Turtle remembers current Controller ID for security purposes
  • History and Auto Complete
  • Works with ender modems if desired
  • Keep Alive and Status Updates
  • Protection from random RCE
  • Auth for File Transfers and Running remote scripts

Files

File names are subject to change

File Description
rcRemote.lua As the file name implies it controls rcTurtle via the rednet api.
rcTurtle.lua Controlled by rcRemote via the rednet api.
rcInstaller.lua Installs the RC script you choose and its dependencies and whether to auto update the script on reboot.
ecc.lua Elliptic Curve Cryptography api thx to @MCJack123

Libraries with description

File Name Description
dataLib.lua Data manipulation
toolsLib.lua Dig, place and item manipulation
storageLib.lua External storage stuff
digLib.lua stack and vein mine
moveLib.lua Basic movement helper funtions
init.lua = library Uses all the files in library folder
argOptParser.lua @LDDestroier 's argParser2.lua. Takes program args -o, -o optArg or --opt, --opt optArg and does something useful with it

Scripts with dependencies

File Name Dependencies
mineCuboid.lua library
mineStaircase.lua library
mineTunnel.lua library
mineVert.lua library
stripMine.lua library
stripTunnel.lua library

Standalone scripts

File Name Description Usage
mineCuboidSA.lua Mines a cuboid of minimum 3 x 3 x 1 the width needs to be an odd # and the side is left or right mineCuboidSA <w> <h> <d> <side> cube size and which side you placed the turtle
mineStaircaseSA.lua Mines a one block wide staircase up or down mineStaircaseSA <step_amount> <direction>
mineTunnelSA.lua Overhauled tunnel script which places torches and deposits stuff in a chest mineTunnelSA <distance> Torches in slot 16 if wanted, turtle facing chest if deposit is wanted
mineVertSA.lua Digs in a straight line down untill finds ore then vein mines it, block off hole while mining mineVertSA <depth>
stripMineSA.lua Digs in a straight line untill it finds ore then vein mines it stripMineSA <depth>
stripTunnelSA.lua Classical two block heigh stripmine without torches and vein mine on the lower block stripTunnelSA <Shaft_Amount> <Shaft_Width> <Shaft_Distance> How far in, how long each shaft is and the distance between them, recommended 3.
refuelSA.lua Custom refuel script which lets you manually refuel for x amount of time refuelSA <time_inSeconds> <replace_original> If no time is given, default is 120 seconds. If you want to replace the default script write replace