TCGTCG Card Shop Wiki

Guide

Keeping the counter straight on a busy day

How the money at a counter in TCG Card Shop Simulator actually works: pieces of cash are objects with a value and an index, the counter holds the currency list, and a customer's payment can be scanned, boxed and moved like anything else.

Applies to

no version stated by this build (see the sources page)

Before you start

Steps

  1. Treat what is on the counter as objects rather than as a running total, because each piece knows what it is.
    a piece of money at the counter can be a coin or a note and carries that on the object
  2. Read the value from the piece itself when something looks wrong, because the value is kept on the object in two forms plus an index.
    each piece carries an ordinary value, a more precise one and an index
  3. Remember that the counter owns the list of currencies, so a piece means nothing without it.
    the counter keeps a list of currency data that the money refers to
  4. Take the customer's payment as an object too, because cash and a card are two different things with a model each.
    the payment knows whether it is a card and has a cash model and a card model
  5. Scan a payment rather than working it out by eye, because scanning at the counter is something the payment allows.
    a payment can be scanned at the counter
  6. Clear up by boxing and moving money like any other object, keeping to the shop and warehouse rules.
    money can be boxed and moved, and it carries rules for being placed in the shop or the warehouse
  7. Set the counter up through its own screens instead of treating it as fixed, because the register and its settings are things of their own.
    the counter has a register and a setting screen of its own
  8. Expect a currency to be a set of pictures rather than a recolour, because each one has its own sheet of coins and notes.
    the game ships a texture sheet for each currency with both coins and notes on it

Common mistakes

Related entries

Sources

A local copy of the game, read only. The grounding for each step is listed on the technical reference pages; nothing here is estimated.