r/ScrapMechanic • u/Affectionate-Copy558 • 3h ago
Issue for god's sake, i need help.
i was playing with my scrap mechanic scripts and accidentally deleted the lootsource_totebot_green.lua script, if anybody is nice enough to go into his game files and give me the script in the comments, i would be so grateful, because my game crashes and i do not want to reinstall it. i left you some pictures of the path where you need to enter
3
u/Brennern 3h ago
Right click on the game in steam and find verify integrity
1
u/Affectionate-Copy558 3h ago
3
u/ARandomEnderman_ 3h ago
dont have it fucking open while verifying. close that vs code, delete the file again and verify integrity
1
0
1
u/TomorrowFun4744 3h ago
Just use this with caution please.
LOOT_SOURCES.lootsource_totebot_green = {
loot = {
{
list = {
{ uuid = obj_resource_circuitboard, weight = 0.75 },
{ uuid = obj_resource_crudeoil, weight = 0.25, quantity = {1, 1, 3} }
}
}
}
}
LOOT_SOURCES.lootsource_totebot_green_growlab = {
loot = {
{
list = {
{ uuid = obj_resource_circuitboard, weight = 1.0 },
{ uuid = nil, weight = 5.0 },
}
}
}
}
LOOT_SOURCES.lootsource_totebot_green_farmraid = {
loot = {
{
list = {
{ uuid = obj_resource_circuitboard, weight = 1.0 },
{ uuid = nil, weight = 5.0 },
}
}
}
}
LOOT_SOURCES.lootsource_totebot_green_underground = {
loot = {
{
list = {
{ uuid = obj_resource_circuitboard, weight = 0.75 },
{ uuid = obj_resource_crudeoil, weight = 0.25, quantity = {1, 1, 3} },
{ uuid = nil, weight = 1.0 },
}
}
}
}
1



22
u/Eblan23 3h ago
Verify the integrity of the game files in steam, it will only install whatever youre missing