Console Calculator (Fork)

by lhoto

Open console and type an arithmetic expression or base conversion operation to use. This mod will ignore any chat messages that aren't valid arithmetic expressions or base conversions. Original mod created by aengus. This fork of the mod contains some AI generated code.

Utilities
15 days ago
2.0
10
Owner:
lhoto
Source:
N/A
Homepage:
N/A
License:
MIT
Created:
15 days ago
Latest Version:
0.1.1 (15 days ago)
Factorio version:
2.0
Downloaded by:
10 users

Computes arithmetic expressions and base conversions typed in the console.

Original mod by aengus available here.


Features

Arithmetic Operators

( ) ^ * / % + -

Base Conversions

Convert to Binary
bin(0b... / 0x... / decimal)

Convert to Hexidecimal
hex(0b... / 0x... / decimal)

Convert to Decimal
dec(0b... / 0x... / decimal)


Planned Features

  • Update to 2.1
  • Add ability to compute arithmetic expressions using any base
  • Allow arithmetic expressions inside of conversion operations
  • Add binary operators (bit shifting, AND, OR, etc...)
  • Add trigonometric expressions

AI Disclosure

This fork of the mod contains some AI generated code which has been reviewed and tested.