Don't Starve

Don't Starve

217 Bewertungen
Draggable Container Interface
2
   
Preis verleihen
Favorisieren
Favorisiert
Entfernen
Dateigröße
Veröffentlicht
Aktualisiert
23.368 KB
3. Jan. um 20:39
7. Apr. um 1:47
11 Änderungshinweise (anzeigen)

Abonnieren zum Herunterladen
Draggable Container Interface

In 1 Kollektion von iceamei冰糖
我的 DS 懒人包
21 Inhalte
Beschreibung
What are the functions of this mod?
Use the mouse to drag the display position of the container interface on the screen (short for "container position") and store location data


Function Menu:
1. Independently dragging container position
2. Dragging container positions of similar containers
3. Use 1+2 both
4. Restore dragging positions

Function Explanation:
1. Independently dragging container position
●Using a combination of keys: Ctrl+Right Mouse Button, drag the container interface and store the current container position.
●This position adjustment only applies to the current container and stores data in the current save slot, without sharing location storage with other save slots. (For example, if I have three chests A, B, and C, and drag chest A to adjust the container position to the bottom right corner of the screen, then other chests such as B and C will still be in the default position in the upper middle of the screen. Using another save slot will not retain the storaged container position.)
●The combination key Ctrl can be adjusted to: Do not use, Ctrl (default), Alt, Shift, a total of 4 types. (Configuration: CombKey)
●The combination key Right Mouse Button can be adjusted to two types: Left Mouse Button and Right Mouse Button (default). (Configuration: MouseKey)


2. Dragging container positions of similar containers
●Using a combination of keys: Ctrl+Alt+Right Mouse Button, drag the container interface and store the position of similar containers.
●Similar Containers refer to the Same Entity (i.e., the same prefab in code).
●This position adjustment will take effect on all similar containers and can share position data across save slots. For example, if I have three chests("treasurechest" in code), A, B, and C, and drag chest A and adjust the container position to the bottom right corner of the screen, then the positions of other chests, such as B and C, will also be adjusted to the same position in the bottom right corner of the screen. If using another save slot, any chests will retain its storage position without the need for re dragging.
●The combination of Ctrl+Alt keys can be adjusted to three types: Ctrl+Alt (default), Ctrl+Shift, and Alt+Shift. (Configuration: SameCmbK)
●The combination key Right Mouse Button can be adjusted to two types: Left Mouse Button and Right Mouse Button (default). (Configuration: MouseKey)


3. Use 1+2 both, the position of the container that has been independently dragged is the position after independent drag, and the position of the container that has not been independently dragged is the position after similar drag.

4. Restore dragging
●Secondary Mouse Combination Key: Another key of the configured combination Mouse Key (for example, if configured as the Right Mouse Button, the secondary mouse button is the Left Mouse Button).
●Restore dragging operation: Similar to dragging operation, switching the primary mouse button to the secondary mouse button can restore the corresponding dragging (such as Ctrl+Right Mouse Button for independent drag, Ctrl+Left Mouse Button for restoring independent drag, the same applies to similar drag).



Introduction to other configuration:
●SlotDrag: When enabled, empty slots in the container can also be dragged to adjust the position of the container. If not enabled, only container background image can be performed for dragging operations (without a container background image, dragging is not possible). Enabling this option does not mean that the position of each slot can be dragged separately, and only empty slots of the container can be dragged. (If there are no additional requirements, it is recommended to disable this option to save game performance)
●SelfDrag: A switch for independent dragging.
●SameDrag: A switch for dragging similar containers.
●TipStr: Display switch for hover text when it can be dragged.
●SecTipStr: Secondary prompt text, a hover text display switch for restoring drag operations when drag is possible.

For other modders:
●Using the console to input "IAI_DRAGCON.Clear()" can clear the position save data for dragging similar containers, and reopen the corresponding container to restore the default position.
●After enabling this mod, all containers can be dragged by default. Coding the container entity "inst:AddTag("no_drag")" can prevent the container from being dragged.

iceamei冰糖
14 Kommentare
Player0101 28. Apr. um 0:13 
nice
Roxy 20. Apr. um 6:23 
nice
Aazerra 19. Apr. um 13:49 
great
Solar 18. März um 5:12 
great
格蕾修的雪糕塞我嘴里 14. März um 6:32 
不错
cjmn 12. März um 4:51 
666
Osn1n 8. März um 1:36 
great
Hold1R 29. Feb. um 13:07 
nice
Joefizz32 23. Feb. um 21:04 
very nice
Rexalir 13. Feb. um 12:28 
good