TF2 Metal Calculator

A Modding Tool for Team Fortress 2

Updates

ToolParentSubmitterStats
  • Addition Support cli arguments
  • Adjustment Error messages format
Version 1.1.1 3mo
Stats

TF2 Metal Calculator in Command Line

1. TF2 Metal Calculator

OK, this is an offline command-line calculator, you can use this to calculate TF2 metals: Refined, Reclaimed and Scrap.

1.1. Usage

  • Use ref, rec, scrap and wep as metal unit.
  • Write metals together when calculating sum: 1.22ref2rec7wep
  • Write math expression: (2.33ref1rec * 3 + 3scrap) / 2
  • The answer is rounded to two decimals.
  • You can pass expressions to this tool as command-line arguments.

1.2. Why use this?

1.2.1. It support more complex expression

1.2.2. It can do batch operation

1.2.3. Its answers are accurate

Let's test 7.88ref * 3:


TF2 Metal Calc: Accurate


Windows 10 Calc: Inaccurate

Yes, a normal calculator can't calc TF2 metals accurately... If you try 7.88ref * 100, the answers will be totally different.

1.3. Source Code

This is also a Python library! It provide a class called Metal, use such code to import:
from tf2ref import Metal
Read the code for more information, and feel free to use it in your program under GPLv3 License.
Link

Files

Posts

  • How do I Download it? I just dragged it in my custom folder :T

    Bananite
  • SpillProff avatar
    SpillProff Joined 2y ago
    Offline
    292 points Ranked 15173rd
    5 medals 1 rare
    • Returned 1000 times Medal icon
    • One month a member Medal icon
    • 6 months a member Medal icon
    • Returned 100 times Medal icon
    • 1 year a member Medal icon
    3mo
    The computer calculator can be accurate, just round it up to what it normally be for Team Fortress 2. That's what I did to calculator a dollar of refined at one point, which is now useless due to the economy rapidly changing.
    Usually Spilly

Embed

Share banner
Image URL:
HTML embed code:
BB embed code:
Markdown embed code:

Credits

Authors
deluxghost

Submitter

deluxghost avatar
deluxghost Joined 1y ago
458 points Ranked 10673rd

deluxghost
Creator
Sign up to access this!
Sign up to access this!
Sign up to access this!
  • Paypal Donate

Game

Sign up to access this!

Category

License

GPLv3

Details

Attributes

IDE Used
Visual Studio Code
Development State
Beta
Compiled Language
Python
Operating System
Windows
Genre
Coding/Scripting

Share

  • Share on Reddit
  • Share on Twitter
  • Share on Facebook
  • Share on Google+

Stats

  • 41 Downloads
  • 857 Views
  • 8 Posts
  • 3mo Submitted
  • 3mo Modified
  • 3mo Updated

Scores

  • Not yet rated
Sign up to access this!

More from Submitter

More Other/Misc Tools

bcp.crwdcntrl.net tracking pixel