Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
ShopkeeperRules
Host only mod. Make the shopkeeper as lenient or as strict as you like. Try out weapons freely, keep the warnings but never get shot, or have it shoot at the first violation. Haggle up to 100 times, guarantee discounts and take up to 100% off.
By saya_0x0efe
| Last updated | 3 hours ago |
| Total downloads | 71 |
| Total rating | 0 |
| Categories | Mods Server-side AI Generated |
| Dependency string | saya_0x0efe-ShopkeeperRules-0.1.0 |
| Dependants | 0 other packages depend on this package |
This mod requires the following mods to function
BepInEx-BepInExPack
BepInEx pack for Mono Unity games. Preconfigured and ready to use.
Preferred version: 5.4.2305README
Shopkeeper Rules
English
Lets the host tune how strict the shopkeeper is and how easy discounts are. You can try out weapons in the shop without getting in trouble, or keep the warnings and never get shot. For discounts, you can change the number of tries, the success chance and the amount. Installing it changes nothing by itself.
Multiplayer
Only the host installs this mod. Other players need nothing. Single player works the same way.
Settings
We recommend REPOConfig for changing settings.
With it installed, open Mods > Shopkeeper Rules in game.
Without it, close the game and edit BepInEx/config/saya.ShopkeeperRules.cfg.
| What you want | What to change |
|---|---|
| Try out a weapon in the shop | Set the slider for that weapon to 0: Gunfire % for guns, Explosives % for grenades, and so on |
| Keep the warnings but never get shot | Set Max Response to Warn Only |
| No warnings either | Set Max Response to Do Nothing |
Even with Gunfire % at 0, a shot that hits a teammate counts under Player Hits %. With Warn Only, the shopkeeper can still grab and scold you.
Violation points per action
Each action in the shop adds violation points to the player who did it. The nine sliders below scale those points from 0% to 300%, and all start at 100%. At 0% the action no longer counts as a violation.
| Setting | What it covers | Points at 100% |
|---|---|---|
| Gunfire % | Firing a gun or the C.A.R.T. Cannon | 100 per shot |
| Laser Fire % | Firing the Photon Blaster or the C.A.R.T. Laser | 100 when it starts, then 100 per second |
| Explosives % | Grenades, mines and the Rubber Duck | 100–200 when activated, 200 when it explodes |
| Staff Use % | Roll Staff, Void Staff and Zero Gravity Staff | 200 per cast, plus 200 if the shot lands near a teammate |
| Melee on Objects % | Hitting an object with a melee weapon | 100 per hit |
| Drift & Ram % | Drifting a Scout or Hauler, or ramming a teammate with it | 50 per second of drifting, 100 per ram |
| Object Hits Player % | Hitting a teammate with an object you grabbed | 150 per hit |
| Player Hits % | Damaging a teammate | 15 per hit, plus 5 per point of damage, plus 50 if the teammate is knocked over |
| Held Player Struggle % | A teammate you are holding tries to break free | 40 each time, added to the holder |
Three hits in a row on the same teammate, 20 or more total damage, or a kill adds another 200 points.
Warnings and the shot
| Setting | Default | Range |
|---|---|---|
| Max Response | Warn and Shoot | Warn and Shoot, Warn Only, Do Nothing |
| Warn Stage 1 At to Warn Stage 4 At | 200 / 400 / 600 / 800 points | 1–10,000 points |
| Keeper Shoots At | 1,000 points | 1–10,001 points |
The shopkeeper warns you each time your points pass a warning stage, and shoots once they reach Keeper Shoots At after all four stages. Raise these values for more leeway, or lower them for a stricter shopkeeper. For the strictest setup, set all five values to the minimum of 1. The first violation then gets a warning, and the shopkeeper shoots right after it.
Discounts
To ask for a discount, grab a shop item and show it to the shopkeeper while you hold it.
| Setting | Default | Range |
|---|---|---|
| Allow Discounts | On | On, Off |
| Tries per Shop | 3 | 1–100 |
| Success Chance % | 33.3% | 0–100% in steps of 0.1% |
| Min Discount % and Max Discount % | 50% and 70% | 0–100% |
| Min Discount $K | 5k$ | 0–100k$, whole numbers |
| Refused Weapon | May Attack | May Attack, No Attack |
| Refused Item | Break Later | Break Later, No Break |
Tries per Shop is shared by everyone in the shop. Min Discount $K is in thousands of dollars: at 2, an accepted item gets at least $2,000 off (up to its full price). Refused Weapon decides whether the shopkeeper may hit you with a melee weapon it refused. Refused Item decides whether a refused item breaks a little later.
Compatibility
A player without the mod gets the same discount results and prices as the host (checked on R.E.P.O. v0.5.4). Other mods that change the shopkeeper's warnings or discounts may conflict with this mod and keep it from working properly.
日本語
ショップの店主の厳しさと、値引きのしやすさをホストが調整できるMODです。 店内で武器を試しても怒られないようにしたり、警告だけにして撃たれないようにしたりできます。 値引きは、交渉できる回数、成功率、値引き額を変えられます。 導入しただけでは何も変わりません。
マルチプレイ
このMODはホストが導入するだけで動作します。 参加者はMODを導入する必要はありません。 シングルプレイでも同じように動作します。
設定
設定の変更には REPOConfig をおすすめします。
導入すると、ゲーム内の Mods > Shopkeeper Rules で変更できます。
REPOConfigを使わない場合は、ゲームを終了してから BepInEx/config/saya.ShopkeeperRules.cfg を編集します。
| やりたいこと | 変える設定 |
|---|---|
| ショップで武器を試しに使いたい | 銃なら「発砲(%)」、グレネード系なら「爆発物の使用(%)」のように、使う武器の項目を0にする |
| 警告だけにして、撃たれないようにしたい | 「店主の対応」を「警告のみ」にする |
| 警告もされたくない | 「店主の対応」を「何もしない」にする |
「発砲(%)」を0にしても、弾が仲間に当たると「仲間への攻撃(%)」で数えられます。 「警告のみ」でも、店主につかまれて説教されることはあります。
行動ごとの違反点
ショップで下の行動をすると、その人に違反点がたまります。 9つの項目はその点数の倍率で、どれも0〜300%、初期値は100%です。 0%にした行動は違反として数えられません。
| 設定 | 対象 | 100%のときの違反点 |
|---|---|---|
| 発砲(%) | 銃、カートキャノンを撃つ | 1発100点 |
| レーザー照射(%) | フォトンブラスター、カートレーザーを撃つ | 撃ち始めに100点、照射中は1秒ごとに100点 |
| 爆発物の使用(%) | グレネード、地雷、アヒルのおもちゃ | 起動で100〜200点、爆発で200点 |
| 杖の使用(%) | ロールスタッフ、ヴォイドスタッフ、無重力スタッフ | 1回200点、弾が仲間の近くに着弾するとさらに200点 |
| 物を殴る(%) | 近接武器で物を殴る | 1回100点 |
| ドリフト・衝突(%) | スカウト、ハウラーでドリフトする、仲間にぶつける | ドリフト中は1秒ごとに50点、衝突は1回100点 |
| 仲間に物を当てる(%) | つかんだ物を仲間にぶつける | 1回150点 |
| 仲間への攻撃(%) | 仲間にダメージを与える | 1回15点+ダメージ1につき5点、仲間が転倒していればさらに50点 |
| つかんだ仲間の抵抗(%) | つかんでいる仲間が振りほどこうとする | 1回40点(つかんでいる側に加算) |
同じ仲間に続けて3回当てるか、合計20以上のダメージを与えるか、倒すと、さらに200点が加算されます。
警告と射撃
| 設定 | 初期値 | 選べる範囲 |
|---|---|---|
| 店主の対応 | 警告と射撃 | 警告と射撃、警告のみ、何もしない |
| 警告段階1の基準点 〜 警告段階4の基準点 | 200 / 400 / 600 / 800点 | 1〜10,000点 |
| 店主が撃つ基準点 | 1,000点 | 1〜10,001点 |
違反点が警告段階の基準点を超えるたびに警告され、4段階を過ぎてから「店主が撃つ基準点」に届くと撃たれます。 基準点を上げると余裕が増え、下げると厳しくなります。 いちばん厳しくするなら、5つの基準点をすべて最小の1点にします。 この設定では、最初の違反で警告され、そのまま撃たれます。
値引き
値引きは、ショップの商品をつかんだまま店主に見せると交渉できます。
| 設定 | 初期値 | 選べる範囲 |
|---|---|---|
| 値引きを有効にする | オン | オン、オフ |
| 値引き交渉の回数 | 3 | 1〜100 |
| 値引きされる確率(%) | 33.3% | 0〜100%、0.1%刻み |
| 最小の値引き率(%)と最大の値引き率(%) | 50%と70% | 0〜100% |
| 最小値引き額(k$) | 5k$ | 0〜100k$の整数 |
| 値引き失敗時の近接武器 | 抽選で攻撃する | 抽選で攻撃する、攻撃しない |
| 値引き失敗時の商品 | 時間差で壊す | 時間差で壊す、壊さない |
「値引き交渉の回数」は、ショップにいる全員で共有です。 「最小値引き額(k$)」は千ドル単位で、2にすると成功した商品は2,000ドル以上安くなります(商品の価格が上限)。 「値引き失敗時の近接武器」は、断られた近接武器で店主に殴られることがあるかどうかです。 「値引き失敗時の商品」は、断られた商品が少しあとで壊れるかどうかです。
互換性
MODを導入していない参加者にも、値引きの結果と価格はホストと同じように反映されます(R.E.P.O. v0.5.4で確認)。 店主の警告や値引きを変える他のMODと併用すると、競合して正常に動作しない可能性があります。
This is an AI-generated mod. / このMODはAIが生成したものです。