Compare commits

..

2 Commits

Author SHA1 Message Date
Nayan Sawyer
e97e40e9b9 Update README with release information
Added release notes for terrafirmagreg_bloomery.py.
2026-03-22 19:31:52 -04:00
Nayan Sawyer
6f3d6cb4ec add script for terrafirmagreg bloomery optimization 2026-03-22 19:13:31 -04:00
2 changed files with 17 additions and 0 deletions

View File

@@ -1,6 +1,11 @@
# public-python # public-python
This repository contains all of my public python program releases This repository contains all of my public python program releases
March 22 2026
terrafirmagreg_bloomery.py Release v1.0.0
A calculator for optimizing iron dust to charcoal ratios to minimize lost iron in the bloomery
Sep 19 2019 Sep 19 2019
mental_math.py Release v1.0.0 mental_math.py Release v1.0.0

View File

@@ -0,0 +1,12 @@
num_ore = 19
mb_per_ore = 129
mb_per_ingot = 144
mb_per_coal = 144
mb = num_ore * mb_per_ore
num_ingots = int(mb / mb_per_ingot)
num_coal = int(mb / mb_per_coal)
lost_mb = mb % mb_per_ingot
print(f"With {num_ore} ore and {num_coal} coal, you will get {num_ingots} ingots and lose {lost_mb} MB of iron.")