@@ -1,4 +1,6 @@ +-- the math basically needs to be rewritten from scratch by someone who isn't +-- dyscalculic but sorcery.lathe = { techs = { cut = {dmg = true}; intaglio = {consume = true}; @@ -40,9 +42,9 @@ return { tool = tool, wkpc = wkpc; cost = rec.cost * ntimes; ntimes = ntimes; - tqty = math.floor(howmany / outn), outn = outn; + tqty = math.floor(howmany / outn) * (rec.mass or 1), outn = outn; gqty = ntimes * outn; tech = tech; rec = rec; inv = inv;