promotional bannermobile promotional banner
premium banner
Simply locks rugs in place during gameplay to prevent accidental dragging, compatible with all packs and CC.

Description

Compatible with Patch 1.123.66.1030 (April 16, 2026)

What is this?

I made this small script because I kept accidentally dragging rugs while trying to click on my Sims or other objects. It’s a minor annoyance, but I found it quite distracting during gameplay. Since I couldn't find a simple fix that didn't involve overriding game files, I wrote this script to handle it.

How does it work?

This mod is a lightweight script. It simply scans the lot when you load into the game and disables the "Live Drag" feature for any object recognized as a rug.

  • No Overrides: It doesn't replace any EA tuning files, so it shouldn't conflict with other mods.
  • Works with CC: It checks for standard tags (like Func_Rug and Build_Buy_NoAutonomy_Rugs). As long as your Custom Content rugs are tagged correctly by their creators, this mod should work on them too.
  • Performance: I wanted to keep the script as clean as possible. It only runs once when the loading screen finishes. It does not run in the background, so it won't slow down your game.

A Note on Usage:

Because I designed this to be very lightweight (Lite Version), it only checks for rugs when the lot loads.

  • For existing rugs: They will be fixed automatically when you enter the household.
  • For new rugs: If you place a new rug from Build Mode, it might still be draggable at first. You don't need to do anything special—just traveling to another lot or reloading the save will fix it. I decided this was a better trade-off than having a script constantly monitoring your game. After V3, just type rugs.fix in the console to fix rugs instantly.

Installation

  1. Unzip the file and place the .ts4script file into your Mods folder.
  2. Ensure "Script Mods Allowed" is enabled in your game settings.
  3. Deleting localthumbcache.package is recommended when installing new scripts.
  4. Keep .ts4script files within just one folder.

 

The update mainly focuses on making the mod run smoother and more stably. The latest version refined the internal validation logic and implemented a robust depth limit to prevent infinite logic loops. While this specific freeze is an extremely rare edge case, this proactive fix ensures safety even in the more complex scenarios. In addition, added a manual command to fix any rugs that were skipped by the safety system or purchased after loading.

I hope this little tool makes your gameplay smoother!

🍵 Enjoyed AveryPing's Sims 4 mods?

👉 Click here to treat me to a cup of nice tea! 🍵

Buy Me a Coffee at ko-fi.com

 


這是一個什麼模組?

我做這個小模組是因為我自己在玩遊戲時,常常想點選小人或物品,卻不小心手滑把地毯拖走了。這雖然不是什麼大問題,但真的很影響遊戲體驗。因為我找不到不修改遊戲原始檔的解決方案,所以自己寫了這個腳本來處理它。

運作方式:

這是一個非常輕量的腳本。它單純只會在讀取畫面結束後掃描一次地段,並把所有被辨識為「地毯」的物品的拖曳功能關閉。

  • 無覆蓋 (No Overrides) 沒有修改任何 EA 的原始調校檔,所以應該不會跟其他模組產生衝突。
  • 支援 CC 透過檢查標籤(如 Func_Rug 等)來運作的。只要 CC 作者有正確設定標籤,這個模組對自定義地毯也有效。
  • 效能優先: 為了保持程式碼乾淨,只會在「載入時」執行一次,不會在後台持續運作,所以不會拖慢你的遊戲速度。

用上的小提醒:

因為我希望這個模組盡可能精簡,所以只會在讀取地段時進行檢查。

  • 對於原本的地毯: 進入家庭時就會自動修復。
  • 對於新買的地毯: 如果你剛從建築模式買了一塊新地毯,可能暫時還能拖曳。這時只要切換地圖去別的地方再回來,或是重進存檔就會生效了。我認為與其讓腳本一直在後台監控,不如維持這種簡單的機制對效能比較好。第三版以後,你可以按 Ctrl+Shift+C 輸入rugs.fix,新地毯立刻乖乖聽話!

安裝方式

  1. 解壓縮並將 .ts4script 檔放入 Mods 資料夾。
  2. 請確認遊戲設定中的 「啟用腳本模組」 已開啟。
  3. 安裝新腳本時,建議刪除 localthumbcache.package
  4. ts4script檔案請不要放超過1個資料夾深。

 

最新版改良了內部驗證邏輯並實作了嚴格的深度限制,以防止無限邏輯循環。雖然這種凍結屬於極其罕見的極端情況,但這項主動的修復能確保在更複雜的場景下依然安全無虞,並新增手動指令,在控制台下輸入該指令,可用來修復那些被安全機制跳過、或是載入後才購買的地毯。。

希望能讓大家的遊戲體驗順暢一點!

🍵 喜歡我的模組嗎?

👉 點選這裡請我喝一杯好茶! 🍵

Buy Me a Coffee at ko-fi.com