aboutsummaryrefslogtreecommitdiff
path: root/bartworks
diff options
context:
space:
mode:
Diffstat (limited to 'bartworks')
-rw-r--r--bartworks/BWLogo.pngbin642 -> 0 bytes
-rw-r--r--bartworks/BlockAdderGenerator/biovatgen.py68
-rw-r--r--bartworks/BlockAdderGenerator/csv.csv28
-rw-r--r--bartworks/ID Range.txt6
4 files changed, 0 insertions, 102 deletions
diff --git a/bartworks/BWLogo.png b/bartworks/BWLogo.png
deleted file mode 100644
index 61e1a41a95..0000000000
--- a/bartworks/BWLogo.png
+++ /dev/null
Binary files differ
diff --git a/bartworks/BlockAdderGenerator/biovatgen.py b/bartworks/BlockAdderGenerator/biovatgen.py
deleted file mode 100644
index 650cc52de7..0000000000
--- a/bartworks/BlockAdderGenerator/biovatgen.py
+++ /dev/null
@@ -1,68 +0,0 @@
-# -*- coding: utf-8 -*-
-"""
-Created on Wed Jan 2 19:11:07 2019
-
-Copyright (c) 2019 boubou_19, bartimaeusnek
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.
-
-@author: boubou_19, bartimaeusnek
-"""
-
-import os
-import datetime
-import time
-name="GTNHBlocks" #change the name of the output file here
-ending=".java"
-csv_path = os.getcwd()+os.sep+"csv.csv" # change the name of the csv here
-output_file_path = os.getcwd()+os.sep+name+ending
-code_list = [] #will store all the lines of code
-max_meta = []
-with open(csv_path, "r") as file:#open the file and automatically close it when it leaves the scope
- code_list.append("import com.github.bartimaeusnek.bartworks.API.BioVatLogicAdder;\n")
- code_list.append("\n")
- code_list.append("//Autogenerated run file, script Created on Wed Jan 2 19:11:07 2019 by boubou_19 and bartimaeusnek\n")
- code_list.append("//Executed on "+datetime.datetime.fromtimestamp(time.time()).strftime('%Y-%m-%d %H:%M:%S')+"\n")
- code_list.append("public class "+name+" implements Runnable {\n")
- code_list.append("\n")
- code_list.append(" @Override\n")
- code_list.append(" public void run(){\n")
- file.readline() #skip the first line of the file
-
- for line in file:
- line = line.split(";") #turns the string into a list of strings using the ";" separator
- line[4] = line[4].strip("\n") #it remove the \n at the end of a csv line otherwise it will do shit in the string later
- if line[3] == "-1" or line[3] == "0":
- code_list.append(" BioVatLogicAdder.BioVatGlass.addCustomGlass(\"{0}\",\"{1}\",{2},{3});\n".format(line[0],line[1],line[2],line[4]))
- else:
- if line[3] == "15" and line[2] == "0":
- max_meta.append(" BioVatLogicAdder.BioVatGlass.addCustomGlass(\"{0}\",\"{1}\",i,{3});\n".format(line[0],line[1],line[2],line[4]))
- else:
- code_list.append("\n for (int i = {0}; i <= {1};++i)\n".format(line[2],line[3]))
- code_list.append(" BioVatLogicAdder.BioVatGlass.addCustomGlass(\"{0}\",\"{1}\",i,{3});\n\n".format(line[0],line[1],line[2],line[4]))
-
- # for i in range(int(line[2]),int(line[3])+1): #the +1 is here because range instruction always exclude the last number
- code_list.append("\n for (int i = 0; i <= 15;++i;){\n")
- for line in max_meta:
- code_list.append(line)
- code_list.append(" }\n")
- code_list.append(" }\n")
- code_list.append("}\n")
-with open(output_file_path,"w") as out:
- out.writelines(code_list)
-
diff --git a/bartworks/BlockAdderGenerator/csv.csv b/bartworks/BlockAdderGenerator/csv.csv
deleted file mode 100644
index 2f1ee7ef53..0000000000
--- a/bartworks/BlockAdderGenerator/csv.csv
+++ /dev/null
@@ -1,28 +0,0 @@
-mod;unlocalised name;meta start;meta end;tier
-minecraft;stained_glass;0;15;3
-minecraft;glass;0;-1;3
-BloodArsenal;blood_stained_glass;0;-1;3
-Botany;stained;0;0;3
-EnderIO;blockFusedQuartz;0;5;3
-ExtraUtilities;decorativeBlock1;9;-1;3
-ExtraUtilities;decorativeBlock2;0;11;3
-ExtraUtilities;etherealglass;0;5;3
-GalaxySpace;futureglasses;0;15;3
-GalaxySpace;futureglass;0;-1;3
-HardcoreEnderExpension;laboratory_glass;0;-1;3
-IC2;blockAlloyGlass;0;-1;4
-Natura;NetherGlass;0;1;3
-Railcraft;glass;0;15;3
-RandomThings;spectreGlass;0;-1;3
-TConstruct;GlassBlock;0;-1;3
-TConstruct;GlassBlock.StainedClear;0;15;3
-Ztones;tile.glaxx;0;15;3
-chisel;glass;0;15;3
-chisel;stained_glass_white;0;15;3
-chisel;stained_glass_yellow;0;15;3
-chisel;stained_glass_lightgray;0;15;3
-chisel;stained_glass_brown;0;15;3
-chisel;glass2;0;-1;3
-chisel;stained_glass_forestry;0;15;3
-tectech;tile.quantumGlass;0;-1;5
-witchery;shadedglass;0;15;3
diff --git a/bartworks/ID Range.txt b/bartworks/ID Range.txt
deleted file mode 100644
index 264b4c9661..0000000000
--- a/bartworks/ID Range.txt
+++ /dev/null
@@ -1,6 +0,0 @@
-12501-13000
-
-12501-12600 are occupied by Crops++
-12900-13000 are occupied by EMT
-
-12600-12900 are aviable for bartworks \ No newline at end of file