Skip to content

some economy stuff

Rob Nelson requested to merge pull/6190/tempay4colleg into Bleeding-Edge

Created by: DeityLink

nothing major here

  • credit chips can finally be stacked and un-stacked like sheet stacks.
  • every vending machines/merch computer/pda terminal/etc now has an ID number which is referenced in the transaction logs.
  • fixed a few transaction logs having incorrect amount values/having an empty "source terminal" field.

Also I added a new useful proc to unsorted.dm: multinum_display() First argument is the number, Second argument is how many digits you wish to display. Returns a text variable. A few examples will help you understand what I mean:

  • multinum_display(42,4) = "0042"
  • multinum_display(-137,6) = "-000137"
  • multinum_display(4572,3) = "999"//if the number is bigger than we can display, just fill it with "9"s
  • multinum_display(38,-3) = "0"//negative/null digits return "0"

Merge request reports