This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
resources = {'compound':4, 'resin':4, 'organic':4, 'clay':3, 'quartz':2, 'graphite':1, 'ammonium':.5, 'laterite':1.5, 'malachite':1.5, 'wolframite':1, 'hematite':1, 'sphalerite':3, 'titanite':.75, 'lithium':.375} | |
resource = small_canisters = medium_canisters = None | |
print('This calculator will calculate the amount of a resource one can obtain in Astroneer from a specified amount of soil. The resources that can not be obtained with a Soil Centrifuge can be obtained with a Trade Platform by obtaining Clay with a Soil Centrifige, smelting it, crafting it into a Drill Mod 1, and shredding it for 1.5 Scrap.\nby CopperyMarrow15') | |
while resource not in resources.keys(): | |
resource = input('(Type a resource that can be traded for.) convert soil to ').lower() | |
def small_canister_input(): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
set ORIGINAL_DIR=%CD% | |
:pypath | |
set /p PY_INSTALLATION=Enter Python 3 installation path. (ex: C:\Python38): | |
cd %PY_INSTALLATION% | |
if exist python.exe (if exist Scripts\pip.exe (python -m pip install --user --upgrade setuptools wheel twine)) else (goto pypath) else (goto pypath) |