Supermarket Simulator
0 of 0

File information

Last updated

Original upload

Created by

Tsuteto

Uploaded by

Tsutetofu

Virus scan

Safe to use

About this mod

Train both cashiers and restockers to perform faster!

Requirements
Permissions and credits
Changelogs
Introduces the Employee Training Program into the game, which is based on experience points and leveling. Through the implementation of this program, a gradual improvement in their performance is expected. I hope you will find the joy of training employees. The maximum level is 100, which should be enough to play happily ever after.

Restocker Training finally available!! They will acquire fast movement, fast item placement and multiple box carrying through training. And the mod name has been changed from Cashier Training Program.

I'll describe in English first, then in 日本語 (Japanese).

Compatible Mods
  • Better Save System by iSoq
    Although the Cashier Training Program has its own save data, it is able to load and save according to the selected data with Better Save System.
  • More Cashiers by MiraculinYuzu
    Cashier Training Program is basically capable of more than 4 cashiers even if they have some duplicate IDs, but a little bit buggy because of the vanilla behavior derived from ID-duped cashiers (described later).
  • Computer Anywhere by GrumpyCrouton
    You can check training progress anywhere!

While this mod makes a significant modification to the restocker logic and is likely to conflict with restocker-related mods, I have confirmed these mods do not:

Conflict Mods
  • BetterCashier by MaZy
    Overwrites the cashier speed each other.
  • MagicRestocker by AKMY4
    Training is never needed if they have magic, right? This can't be helped. Literally.
  • Pallets Display by iSoq
    Restockers don't refill goods on it. I'm looking into this now.

Installation
This mod is a BepInEx plugin.

For those who update this mod:
Remove the old "Cashier Training Program" from the plugins folder and make sure it is not installed!

How to Use
Exp and Leveling
Cashiers gain some exp (experience points) by performing checkouts as follows:
Scanning a product for 1 exp
Completing a checkout for 2 exp

Restockers also:
Placing a product for 1 exp
Completing a restocking cycle (taking boxes, placing products and returning or trashing boxes) for 2exp

And they level up when they accumulate a certain amount of exp.

Gauge on the Cashier/Restocker's Head
Indicates its current level and exp, and it will level up when reaching the max. Of course, the higher its level, the faster it performs.

Training App on PC
Installed by this mod, shows the detailed status of each cashier and provides some services - level-up training and unlocking upper grades, but both cost money.

Grade System and Unlock Service
We're also introducing the grade system. There are 5 grades - Rookie, Middle, Advanced, Pro and... the secret "?". Each grade is separated by a certain level range and must be unlocked one at a time using the Unlock Service on Training App.
Important: The cashier's level will not increase once it reaches the max level of the grade until you unlock the higher grade using your PC, though, the cashier will continue to gain exp and the exp will be returned to levels when the grade is unlocked.
Important: Once you unlock a higher grade, the employee's daily wage will increase. So, you may have an option not to unlock it if the cashier has enough performance.

Level-up Training Service
By paying a cost, the staff is trained and gains the remaining exp to the next level. The cost is based on the remaining exp.
Important: Available up to the Advanced grade, and no longer after the Pro grade.

Hiring and Firing
Since this mod treats each employee as a unique person, if you re-hire an employee after firing it once, its exp, level and grade will remain the same as before, not be reset.

Save Data
The employee's exp, level and grade (hereafter, called the training data) is saved in its own file separate from the vanilla one, located at:
%AppData%\LocalLow\Nokta Games\Supermarket Simulator\EmployeeTraining
* Changed in 2.0.0, migrates automatically, no action required.
The same date file with the vanilla one is selected when loading.
Note that this training data is not included in the Steam Cloud backup.
The vanilla save data will never be broken even if this training data is removed, lost, or broken.

If you reinstall this mod after removing it once, you can restore the training data by renaming the date part of its file name to the latest vanilla save data.

Training Data Not Loading Problem
Reported by several people that the training data is not loaded and the cachiers reset to level 1 when the game is saved and restarted. If you experience this problem, please follow these steps:
  • Update the Employee/Cashier Training Program to version 1.0.4 or later
  • Install Better Save System
  • Run the game and click the Continue button in the title screen
  • Select the save data named with the second latest date. (The most latest one should have zero data saved by 1.0.3 or earlier. If you tried multiple times in 1.0.3 or earlier, select the third or older)

Use in Combination with MoreCashiers
There are bugs I've confirmed, probably because of unexpected behavior of the vanilla derived from ID-duped cashiers:
  • Placing a checkout assigned to a ID-duped cashier unpacked from a box after packing it. This causes a freeze in placement mode and the game becomes unplayable. Restarting the game will fix this.
  • Repeatedly hiring/firing a ID-duped cashier. This causes cashier checkout assignments to go wrong. Reloading saved data will fix this.

How Each Parameter Works
Cashier
Scan per Minute: Increasing product scanning speed
Payment Time: Reducing time spent on cash or credit card payment

Restocker
Rapidity: Increasing moving speed
Capacity: Increasing strength to carry product boxes with a specific weight per item or box and improving sense of balance to stack boxes high that have a specific height per box
Dexterity: Reducing time spent on picking boxes off a rack, unpacking, placing items, etc. 100% equals to vanilla, 200% equals half of vanilla.

Each product and box has a specific weight - for example, in the case of Kraftung Flour, the weight per item is 2500g net plus 100g packaging, 8 items in a box, this box size weighs 618g, so it is (2500 + 100) x 8 + 618 = 21418g.
Note that the restocker can carry at least one box regardless of its capacity.

How Much They Can Be Trained:
Cashier
Rookie grade: From 20 (scans per minute)
Middle grade: From 60
Advanced grade: From 120
Pro grade: From 200
The secret "?" grade: From 420, up to 640

Restocker
Rookie grade: From 5km/h (Move speed), 10kg (Capacity)
Middle grade: From 8km/h, 20kg
Advanced grade: From 12.5km/h, 40kg
Pro grade: From 20km/h, 70kg
The secret "?" grade: From 36km/h, 120kg - up to 52km/h, 200kg

Acknowledgements
  • UnityExplorer by sinai-dev
    This is super useful for inspecting inside the game and debugging. It helped me a lot.
  • BetterCashier by MaZy
    I referred to it for implementation of checkout speed modification and i18n
  • Supermarket Online - eCommerce by Alrikh
    I referred to it for implementation of app UI on PC.


日本語
ゲームに経験値とレベルアップによる『従業員育成プログラム』を導入するMODです(MODはプログラムで出来てるだけに)。このトレーニングプログラムを実施することでレジ係や品出し係の仕事効率が徐々に向上することが期待できます。ついでに従業員を育てる楽しみも見出してもらえたらと思います。最大レベルの100まで末永く遊べます。

やっとの思いで品出し係のトレーニングに対応しました!!トレーニングにより素早い動き、素早い品出し、複数箱の運搬を身に着けます。そしてMOD名もCashier Training Programから変わりました。

対応MOD
  • Better Save System by iSoq
    このMODは独自のセーブデータを持つようになっていますが、Better Save Systemによって選択可能です。
  • More Cashiers by MiraculinYuzu
    ID重複を含む4人を超えるレジ係も扱えるように作っていますが、バニラ由来の想定外の挙動によるバグが散見されます(後述)。
  • Computer Anywhere by GrumpyCrouton
    どこでもトレーニング進捗確認できる!

このMODは品出し係の処理を大きく書き換えているため品出し係関連のMODと競合する可能性がありますが、これらは競合しないことを確認しています。

競合MOD
  • BetterCashier by MaZy
    レジ係の速度を書き換えあってしまうためうまく動きません。
  • MagicRestocker by AKMY4
    魔法が使えたらトレーニングする意味がないからね、しょうがないね。

インストール
BepInExプラグインです。

使い方
経験値とレベルアップ
レジ係はレジをこなすことで経験値が増え、一定量貯まるとレベルアップします。
商品をスキャンする:1 EXP
レジを終わらせる:2 EXP

同じく品出し係も
商品を一つ棚に置く:1 EXP
品出し作業を1サイクル終える(箱を取って商品を並べて箱を返したり捨てるまで):2 EXP

従業員頭上のゲージ
現在のレベルと経験値を表示します。ゲージが最大になるとレベルアップします。もちろんレベルが高くなるほど早くレジをこなすようになります。

PCの『トレーニング』アプリ
このMODによってインストールされます。詳しいステータスの表示と、レベルアップトレーニングと上位グレードの解放といったサービスを提供しますがこれらのサービスは有料です。

グレードシステムと解放
さらにグレードシステムも導入いたします。グレードには初級、中級、上級、プロ…そしてシークレット「?」の5つがあり、それぞれ一定のレベル範囲で区切られています。トレーニングアプリで一つずつ解放していく必要があります。
【重要】 従業員のレベルはグレードの最大レベルに到達すると上位グレードを解放するまで上昇しなくなります。ただし獲得した経験値は失われず加算されていき、グレード解放時にレベルに還元されます。
【重要】 上位グレードを解放すると従業員の日給が上がります。パフォーマンスが十分であれば解放しないというのも手です。

レベルアップトレーニングサービス
料金を支払うことでトレーニングが受けられ、次のレベルに上がるまでの残り経験値が手に入ります。料金は残り経験値に応じて決まります。
【重要】このサービスは上級グレードまでの提供です。プログレード以降は利用できません。

雇用と解雇
このMODではレジ係はそれぞれ決まった個人として扱うため、レジ係は解雇しても経験値、レベル、グレードがリセットされず再雇用した際に前のステータスが引き継がれます。

セーブデータ
レジ係の経験値、レベルやグレード(以下トレーニングデータ)は次の場所の独自ファイルにセーブされます。
%AppData%\LocalLow\Nokta Games\Supermarket Simulator\EmployeeTraining
※2.0.0にて変更、自動的に移行しますので操作は不要です。
ロード時にはバニラと同じ日付のファイルが選択されます。
このトレーニングデータはSteamクラウドによるバックアップには含まれないので注意です。
このトレーニングデータが削除、消失、破損した場合でもバニラのデータには影響せず壊れることはありません。

もしこのMODを一度削除し再インストールした場合、ファイル名の日付部分を最新のバニラセーブデータに合わせてリネームすることで復活させることができます。

トレーニングデータがロードされない問題
複数の方からセーブしてゲームを再開するとトレーニングデータがロードされず、レジ係がレベル1にリセットされる問題が報告されています。この問題が発生する場合、以下の手順を行ってください。
  • Employee Training Program(旧Cashier Training )をバージョン1.0.4以降にアップデートする
  • Better Save Systemをインストールする
  • ゲームを起動してタイトル画面でContinueボタンをクリック
  • 2番目に新しい日付のセーブデータを選択する(1番新しいデータは1.0.3以前によりゼロのデータが保存されているはずです。1.0.3以前で複数回試した場合は、3番目以降を選択)

MoreCashiersとの併用
いくつかバグを確認しています。おそらくID重複したレジ係に由来するバニラの予期せぬ動作が原因と思われます。
  • ID重複したレジ係のいるチェックアウトを箱にしまい、開梱して配置する
    →配置状態で硬直し、ゲームを進行できなくなります。ゲームの再起動で直ります。
  • ID重複したレジ係の雇用と解雇を繰り返す
    →レジ係のレジの配置がおかしくなります。セーブデータの再読み込みで直ります。

各パラメータの働き
【レジ係】
スキャン回数毎分:商品のスキャン速度が上がる
支払い時間:現金やクレジットカード払いに掛かる時間が短縮される

【品出し係】
素早さ:足の速さが上がる
積載量:商品や箱ごとに決まった重さの商品箱を運搬する力や箱ごとに決まった高さの箱を高く積み上げるバランス感覚が向上する
器用さ:倉庫棚から箱を取ったり開梱したり品出ししたりなどに掛かる時間が短縮される。100%はバニラと同等、200%でバニラの半分

商品や箱は個々に重さを設定しています。例えば、Kraftung小麦粉の場合、商品ごとに正味2500gに100gのパッケージ、さらに1箱に8個入りでこの箱サイズだと重さは618gになるので、(2500 + 100) x 8 + 618 = 21418gとなります。
ただし、品出し係は積載量に関わらず1箱は必ず運搬できます。

従業員はどこまでトレーニングできるか
【レジ係】
初級グレード:20~(スキャン回数毎分)
中級グレード:60~
上級グレード:120~
プログレード:200~
?グレード:420~最大640

【品出し係】
初級グレード:5km/h~(移動速度)、10kg~(積載量)
中級グレード:8km/h~、20kg~
上級グレード:12.5km/h~、40kg~
プログレード:20km/h~、70kg~
?グレード:36~最大52km/h、120~最大200kg

謝辞
  • UnityExplorer by sinai-dev
    ゲームの内部を調べたりデバッグするのにめっちゃ役立つツール。すっかり助けられました。
  • BetterCashier by MaZy
    チェックアウト速度変更とI18N実装の参考にさせてもらいました。
  • Supermarket Online - eCommerce by Alrikh
    PCアプリUIの実装の参考にさせていただきました。