Looter Shooter - Shooter Looter
A QoL mod for Starfield.
Automagically loots, hacks terminals and, picks locks.
Fully configurable and Hotkey ready.




Console/Hotkey commands:
See the bottom of this file for a Hotkey example config.

cgf "LSSL:Interface.SetFloatControl" "asControl" float
cgf "LSSL:Interface.ModFloatControl" "asControl" float
cgf "LSSL:Interface.SetBoolControl" "asControl" bool
cgf "LSSL:Interface.ToggleBoolControl" "asControl"
cgf "LSSL:Interface.ToggleFilter" "asFilter"




Controls:

asControl:          Type (Default):     Description:
HandScannerOnly     bool (True)         Only do the magic while the hand scanner is open.  Otherwise, do it all the time.
AllowStealing       bool (False)        Allow stealing items, may trigger alarms, etc if the player is caught.
PauseScan           bool (False)        Pause scanning while True
ScanRadius          float (4.0)         Scan for objects in this radius around the player (in meters).
ScanInterval        float (2.0)         Time between the end of one scan and start of another (in seconds). *1




Filters:

asFilter:           Default:    Action:     Details:

Terminals           True        Hack        Automagically hack locked terminals. *2, *3
Doors               True        Pick        Automagically pick locked doors. *2, *3

Actors              True        Search      Search dead bodies for loot.
Containers          True        Search      Search containers for loot.

Valuables           True        Loot        Loot digipicks and credits.
ValueJunk           True        Loot        Loot weightless junk items with a non-zero value.
Contraband          False       Smuggle     Loot contraband items.
Resources           True        Loot        Loot all those crafting matts!
Keys                True        Loot        Loot keys to locks.
Books               True        Loot        Loot data slates and books.
Junk                False       Loot        Loot junk items.

Aid                 True        Loot        Loot aid items.
Chems               True        Loot        Loot drugs.
Food                False       Loot        Loot food items.
Booze               False       Loot        Loot alchoholic beverages.
Drinks              False       Loot        Loot non-alchoholic beverages.

Apparel             False       Loot        Loot clothing items.
Neuroamps           False       Loot        Loot neuroamps.
Helmets             False       Loot        Loot spacesuit helmets.
Backpacks           False       Loot        Loot spacesuit backpacks.
Suits               False       Loot        Loot spacesuits.

Ammo                True        Loot        Loot ammunition.
AssaultRifles       False       Loot        Loot assault rifles.
Automatics          False       Loot        Loot automatic weapons.
Ballistics          False       Loot        Loot ballistic weapons.
Chemical            False       Loot        Loot chemical weapons. *4
Cryo                False       Loot        Loot cryogenic weapons.
EMWeap              False       Loot        Loot electro-magnetic weapons.
Explosives          False       Loot        Loot explosives.
Fire                False       Loot        Loot incendiary weapons.
HeavyGun            False       Loot        Loot heavy guns.
Lasers              False       Loot        Loot laser weapons.
Melee               False       Loot        Loot melee weapons.
Mines               True        Loot        Loot mines. *5
Miniguns            False       Loot        Loot miniguns.
Particle            False       Loot        Loot partical weapons.
Pistols             False       Loot        Loot pistols.
Rifles              False       Loot        Loot rifles.
Shotguns            False       Loot        Loot shotguns.
Sniper              False       Loot        Loot sniper rifles.
Thrown              True        Loot        Loot thrown weapons.
Toolgrip            False       Loot        Loot toolgrip weapons.
Unarmed             False       Loot        Loot unarmed "weapons".




Notes:

*1  The time it takes the complete a scan is highly variable, in some areas and some cases it can take less than 1 second to complete all the different scans, in others it can take more than a minute.  Generally speaking, the more densely packed or dynamically generated an area, the longer a scan can take.

*2  Or use the key if possessed.

*3  Player requires Digipicks and the appropriate Security skill.  Additional Digipicks may be used to simulate making mistakes for locks higher level than novice at a rate of 5% per lock level per lock level.  For those interested in the breakdown, here it is:
    Level:      Keys:   Determination:
    Unlocked:   0       0
    Novice:     1       1
    Advanced:   1-2     1 + 1 (5%)
    Expert:     1-3     1 + 1 (5%) + 1 (10%)
    Master:     1-4     1 + 1 (5%) + 1 (10%) + 1 (15%)

*4  This includes toxic, poison, etc.

*5  If placed and armed, requires AllowStealing to be enabled.




Known Issues:

Doesn't like to loot a lot of things it's setup to loot.  Not sure why, still early days of Starfield Modding.




Example Hotkeys:

F2=cgf "LSSL:Interface.ToggleBoolControl" "PauseScan"
F3=cgf "LSSL:Interface.ModFloatControl" "ScanRadius" -1.0
F4=cgf "LSSL:Interface.ModFloatControl" "ScanRadius" 1.0
Ctrl-F2=cgf "LSSL:Interface.ToggleBoolControl" "HandScannerOnly"
Ctrl-F3=cgf "LSSL:Interface.ModFloatControl" "ScanRadius" -5.0
Ctrl-F4=cgf "LSSL:Interface.ModFloatControl" "ScanRadius" 5.0
Shift-F2=cgf "LSSL:Interface.ToggleBoolControl" "AllowStealing"
Shift-F3=cgf "LSSL:Interface.ModFloatControl" "ScanInterval" -1.0
Shift-F4=cgf "LSSL:Interface.ModFloatControl" "ScanInterval" 1.0




