• R/O
  • SSH

Commit

Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Just a simple, and painful to use calculator for the game Factorio written in Python


Commit MetaInfo

Revisione1e9d8116ea8ab21123ad065c58a9ac78c54f679 (tree)
Time2017-08-10 07:49:29
AuthorEric Hopper <hopper@omni...>
CommiterEric Hopper

Log Message

Fix example to no longer have very long line.

Change Summary

Incremental Difference

diff -r de411c29bbb4 -r e1e9d8116ea8 README.md
--- a/README.md Tue Aug 08 12:24:31 2017 -0700
+++ b/README.md Wed Aug 09 15:49:29 2017 -0700
@@ -16,7 +16,17 @@
1616
1717 >>> from fractions import Fraction as F
1818 >>> import factorio_calc as fc; from factorio calc import item_db as idb
19- >>> fc.print_factories(fc.factories_for_each(idb['Yellow Science'], F(1,4), raw_materials=(idb['Circuit'], idb['Copper'], idb['Plastic'], idb['Battery'], idb['Speed Module 1'], idb['Sulfur'], idb['Iron'])))
19+ >>> fc.print_factories(
20+ ... fc.factories_for_each(
21+ ... idb['Yellow Science'],
22+ ... F(1,4),
23+ ... raw_materials=(idb['Circuit'],
24+ ... idb['Copper'],
25+ ... idb['Plastic'],
26+ ... idb['Battery'],
27+ ... idb['Speed Module 1'],
28+ ... idb['Sulfur'],
29+ ... idb['Iron'])))
2030 Factories (as a fraction) Rate Name
2131 --------- --------------- ------- ---------------------
2232 2 7/4 1/4 Yellow Science