aboutsummaryrefslogtreecommitdiff
path: root/config.sh.sample
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2019-06-09 16:14:46 +0200
committerFlorian Fischer <florian.fl.fischer@fau.de>2019-06-09 16:14:46 +0200
commitecac9d9c0714c7ec3a63d67e077af15cacd3f02b (patch)
tree4158f873bf82de289109c0d56bb022569bcb75a4 /config.sh.sample
parenta32b04a623d13badac51ffeca9cc991033fc8001 (diff)
downloadgeldschieberbot-ecac9d9c0714c7ec3a63d67e077af15cacd3f02b.tar.gz
geldschieberbot-ecac9d9c0714c7ec3a63d67e077af15cacd3f02b.zip
add new car commands and make tanken aware of cars
Cars are names associated to a service charge. They are stored in the state file in a dict called "cars". Each car has its own balance from which money can be pulled or pushed. Because of this cars and users can't share a name. Service charges are calculated per drive and split among all drivers similar to fuel cost. If a driver is not known by geldschieberbot the recipient of the "tanken" cmd is held accountable and has to collect the service charge manually just like fuel cost. NOTE: This change breaks geldschieberbot if the state file does not contain the field "cars" !!! You have to add it manually !!!
Diffstat (limited to 'config.sh.sample')
0 files changed, 0 insertions, 0 deletions