#Better Item Scan

166 messages · Page 1 of 1 (latest)

smoky tree
#

https://thunderstore.io/c/lethal-company/p/PopleZoo/BetterItemScan/

Better Item Scan is a mod for the game Lethal Company, it makes it easier to scan a group of items to see the price of each of them listed, as well as their combined total and calculates which items meet the quota

Config options for:

  • Showing The 'DebugMode' that visually shows the change in width of the scanner
  • Allowing changes to the width of the scanner
  • 'ShowShipTotalOnly' allows you to see the total ship amount only on the ship
  • 'CalculateForQuota' calculates the scanned items if they meet the quota an mark it with '*', if the scanned items don't meet the quota the items won't be marked
  • 'AdjustScreenPositionXaxis' & 'AdjustScreenPositionYaxis' are to help adjust the ui on the screen's position (recommend adjutments for ultrawide users or also downloading the ultrawide mod)
  • 'ShowTotalOnShipOnly' allows you to see the scanned amount only on the ship
  • 'ItemScanningUICooldown' allows you to adjust how long the UI Stays on screen
  • 'FontSize' allows you to adjust the size of the text on screen. However this may have to be done manually in the Bepinex config folder
  • 'ItemTextColorHex' & 'ItemTextCalculatorColorHex' allows you to change the colour of the text of the UI for items that meet the quota and items by default
  • 'logAllScannedItems' that allows you to output the log of your scanned items into the output log

For more information visit the link, Discord won't let me type more...

eager tulip
#

Hello!
I tried the mod earlier today and I thought I saw that this scanner can see scraps that are on the other side of obstacles. (I men, if it is in your point of vision, but on the other side of a wall, the scanner detects it)
Is there a way to deactivate it?

smoky tree
#

the game lets you scan through walls already but because it spawns the ui on top of the items they don't show

fossil quartz
#

peak

smoky tree
#

i will shorten the range

#

because it is very long, i will also check if its a layermask issue

smoky tree
#

you can no longer scan through walls

brave kelp
#

thanks for the update but seems like everytime i have betterscan on i see a purple texture weirdly

#

do you think you know what could be the case

#

mostly on the left side of the ship if you are looking at the door or main monitor

smoky tree
#

Sorry for the late reply, I haven't noticed this in my tests but it might be to do with the debug mode I used to see whether or not I could change the spherecast in game. There will be another update later today then

smoky tree
#

update is out

eager tulip
#

Hello, I have tested the mod with this update and I have noticed the improvement, despite everything, I have a small suggestion:
When you are off the ship, can you have the "Ship Total" part removed?
Or at least it is a config so that those who want can have it activated or not outside the ship

smoky tree
#

I'm not quite sure there is a way to check if the player is in the ship already, if not I can add an option to show the ship's total when the player is close to the ship

eager tulip
smoky tree
#

Oh ok cheers, I'll have a look

smoky tree
#

update is out

smoky tree
#

New update that adds a config so you can calculate if your scanned items meet the Quota

hazy rampart
#

Hi @smoky tree , i have an ultra-wide (but not using any wide-screen mods), and my list is sitting off-screen for me, like this:

#

a wide-screen mod does fix this, but it should probably take that into account so that its not necessary to get one

hazy rampart
#

I also don't seem to be seeing the * before the names of things that would meet the quota, not sure why

smoky tree
#

The * appears when you scan a group of items and within the group of items it meets the quota, if the combined total of the scanned items is less than the quota the *'s won't show

hazy rampart
smoky tree
#

Ok that is interesting

#

I have implemented the ui adjustments already.

#

How are u adjusting the quota?

hazy rampart
smoky tree
#

After the upcoming update can u let me know if the issue still happens

hazy rampart
#

sure

#

i was also going to ask, does it assume 100%sell price or does it grab the current sell % before calculating?

smoky tree
#

It gets the items value directly when u scan it so it shouldn't interfere with anything. It uses TimeOfDay.Instance.profitQuota

stark crown
#

@prisma spruce

smoky tree
#

picrew avatar..... holding a cup of tea.....

stark crown
#

Bro yall are like twinning so hard rn its insane

smoky tree
#

Mod has been updated - allows UI adjustment and has some minor bug fixes

prisma spruce
#

Oh that is wild

#

Lovely mod though🎉

hazy rampart
smoky tree
#

I think there are mods that adjust the item value depending on weather conditions and things such as an eclipse. I don't know if that's base game though

#

Hopefully the latest update fixes the quota calculation issue u mentioned before

stark crown
hazy rampart
#

I do have that one. i was more thinking about whether the quota calculation takes into account the fact that by default the shop would only buy at 30% value on day 1, etc

hazy rampart
smoky tree
#

Well looks like another update.....

smoky tree
#

ok added 2 updates. An accidental re-upload and the now correct one......

steep maple
#

Hey, your mod is really awesome but is there a way so that I can make it that the "Total Scanned" part only shows up in the ship? Kinda like the ship total config but for the whole ui itself so it can be like ShipLoot but better basically

smoky tree
#

Made the quota calculator smarter! It should be more optimal now

golden frost
#

Great mod

cloud forge
#

Does this mod disable hazard level display and level pop up?

smoky tree
#

it does not

#

it only disables the base game 'total' ui to show my own

cloud forge
#

is it possible if ya'll were able to edit the "Creature data collected" to actually showing what was collected?

#

or like a hud popup to the team when a enemy is scanned

eager tulip
#

Hello, would it be possible to make this Scan have the vanilla Scan cooldown?
We noticed that when spamming the Scan, it does not have a cooldown showing the objects even though the effect continues with the cooldown

smoky tree
#

thanks for letting me know

smoky tree
smoky tree
#

UPDATE:
Added the scan cooldown as a config, made some more adjustments to quota calculation.

smoky tree
#

Update: improvements and bug fixes

steep maple
smoky tree
#

@devout tundra this thread btw

devout tundra
#

Oh

#

Alright, so

#

After that error, I'm kicked out of the lobby

smoky tree
#

what items did u scan?

#

where they modded items or vanilla?

smoky tree
#

OK it seems this issue is caused due to connection issues with the host. I have made changes but this might occur again in the future

smoky tree
#

Update: Scanned items will only be scanned if they are scrap

devout tundra
smoky tree
#

Does it still persist even after the update?

smoky tree
#

Update: Added adjustable fontSize to the config (this may need to be changed in file) and adjusted quota calculation reading the overall quota and not what is needed to fullfil the quota

devout tundra
versed basin
#

can u make it so u also have the scrap calulator mod somewhat integrated?(it shows what items u can sell to just meet the quota)
u could make it so items appear red on the side thing if they are enough for it, this can help if u dont wanna waste loot

smoky tree
#

Update: added colour options to the config that allows you to tell the difference between items marked and none marked by the quota calculator

hexed nebula
#

sorry if this is a dumb question but does this make scanning more consistent? i find sometimes i scan items right in front of me in the facility and they just dont pop up on my scan and was looking for mods to help mitigate/fix the issue

smoky tree
#

You can change how wide you are able to scan with this mod but I don't think that will solve ur issue

#

Sorry I can't point u in where to look either

hexed nebula
hearty maple
smoky tree
#

which version did you download? 2.1.4 or 2.1.5?

hearty maple
#

2.1.5

smoky tree
#

@here please check u have the new release and if u have 2.1.4 upgrade to 2.1.5 and check ur configs.

smoky tree
#

Update is live! Hopefully this annoying issue is resolved. Please check through ur configs

hearty maple
#

Seems to be fixed, thank you ^^

devout tundra
#

2.1.6

#

Nvm I fix it

smoky tree
#

Update 2.1.7 i out it shows multiples of existing items now in an effort to not clog up ur screen

dry onyx
#

@smoky tree hello! on the latest update (2.1.7), the scrap item list in the UI just straight up doesn't appear for me. i can see the total scanned & the ship total, but it doesn't show scrap items. something odd i noticed was that, if i had calculation enabled, the moment i loaded into my save i could scan once and see the scrap items listed, but afterward if i tried to scan it wouldn't show them anymore (of course, with calculation off, the scrap item list wouldn't show up - period). this was all on a fresh profile with just the mod & bepinex, so there shouldn't be any mod conflicts, and i was on the default configuration (though i toggled on & off calculation). additionally, i've downgraded to 2.1.6 and it works perfectly on that version.

smoky tree
#

oh and yeah, update out

dry onyx
smoky tree
#

One bug down another one shows up. Like a really annoying hydra....

formal thorn
#

on another note, how easy would it be to manually override the monetary value for keys?

#

the game displays that they sell for $3 everywhere

#

except that they dont actually contribute to the total if you put them on the counter and sell

#

you can verify this by selling a key on its own or with only one other item

#

paycheck will show "key: 3, other object: x" but then total is x and that is what gets added to your quota

#

or total will be 0 if you only sell keys

#

betteritemscan still factors keys as $3 in the "ship total" and ui list which makes it slightly overshoot the actual value of your items

smoky tree
formal thorn
#

it is a problem with the vanilla game yeah

#

i was just wondering how easily betteritemscan could make an exception for adding it to the total scanned

smoky tree
smoky tree
#

However an update is out that fixes the issues lichefrost mentioned. Update Solves some issues with not using the calculator and the items that there are multiple of now have a combined total. e.g. 2 x tattered metal sheet 22 (1 being worth 10 and the other 12)

formal thorn
#

i just think it's worse for them to be factored into quota calculations and totals when they aren't actually worth value

#

hopefully it will actually get resolved in vanilla

#

at some point

smoky tree
#

hopefully becuase things like that should be change in the base game

dry onyx
#

well perhaps one issue: if there's enough items being scanned, the item list can end up going off-screen at the very top. i suppose i could lower the font size, although i could see an option that automatically scales the font size to avoid going off-screen interesting if possible. other than that, everything looks good 😄

#

i have two last suggestions: one is to have a configurable option to allow the list to show the values of each individual item (for example, something like 2-Bottles: 47, 52), and a configurable option to perhaps use a shorter version of item names (so something like Wedding Ring could be shortened to Ring, for example) in an effort to save space.

dry onyx
#

just noticed a bug while playing:

versed robin
#

That's a lot of paintings! xD

#

6 paintings to the power of 6 😨

#

xD

dry onyx
#

heh if only.. there were only 6 paintings unfortunately

smoky tree
smoky tree
smoky tree
#

hotfix is out

dry onyx
# smoky tree hotfix is out

i'm not sure if it's restricted to apparatices, but for some reason when i scan two of them at once, they just don't end up showing up listed

#

for the group of two apparatices, they just don't show up period - but it seems like other groups of items (like laser pointers, for instance) will sometimes get listed, just very inconsistently

smoky tree
#

huh weird

#

thanks for letting me know

livid geode
#

Really wish total only showed up when there is more than one item.

#

Or if there was an option to keep total calculation completely vanilla.

unreal nacelle
#

Using better item scan with too many emotes breaks the 3rd person view for some reason. Anyone else have my same problem? Happened with the new lethal update

lavish schooner
#

Maybe other mods conflicting with it also

unreal nacelle
#

yeah its another mod thats bugging it. Ive been added them one by one but when i added itrem scan it broke. Now i left that one with other mods and it works. Checking which mod is conflicting rn

#

ok its corporate restructure with better item scan thats bugging the third person view for too many emotes

#

When i add corporate restructure im getting this error

lavish schooner
#

ayo you're right

#

that also fixed my mirror

#

body was invisible

unreal nacelle
#

mmm maybe its too many emotes fault

#

ill ask them

cloud forge
#

okay so idk if this is gonna be fixed but when I look away from an item, the scanned item bubble will be on the opposite spot of the where the item is if you look away. This only happens with this mod for me

smoky tree
#

that is a very weird problem, the mod doesn't change how vanilla shows the item bubble

sand notch
#

it just won't scan unless i look away

sand notch
#

@cloud forge Do you have the GeneralImprovements mod?

#

this one?

smoky tree
#

I just got a message about an incompatibility with the general improvements mod.

sand notch
#

yeah

smoky tree
#

It is being sorted

sand notch
#

turning this option off in it's config fixes it

smoky tree
#

I don't know what they change when scanning items but as my mod deals with the function responsible and alters it quite a bit so conflicts cannot be helped

cloud forge
sand notch
#

alr nvm then

#

idk what's causing the bug for you

dry onyx
#

i've noticed sometimes the scanner will not pick up on small/flat items on the ground in the facility, like metal sheets & rings

smoky tree
#

Hi, i looked into the code so far an issue with giftboxes has been fixed. However small items will be sometimes missed, you can change the radius of the item scanner in the configs but as of now betteritemscan doesn't change how items are scanned

#

Update is out. Also added a config option so u can see ur scanned items in the console. It directly prints the text from the screen so u will see the hex colour as well.

lavish schooner
#

It just displays total inventory value above your hotbar, but isn't configurable

smoky tree
#

Update: few bug fixes have been made, nothing major

smoky tree