Project Zomboid

Project Zomboid

Not enough ratings
Burlap Tote
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
296.271 KB
8 Nov, 2021 @ 5:14am
12 Dec, 2023 @ 6:51am
8 Change Notes ( view )

Subscribe to download
Burlap Tote

Description
Changes the tote bag's texture from pink to burlap.

Item's affected: Totebag

Workshop ID: 2649314862
Mod ID: burlaptote
5 Comments
trashcanhands  [author] 30 Nov, 2023 @ 9:16am 
Oh, cool. I hated having to use a third-party mod for something so simple. Thanks.
Agitatio 30 Nov, 2023 @ 9:13am 
If you want it to be even more similar to Item Tweaker and make adding new item tweaks take less lines you can do:

local function TweakItem(Name, Property, Value)
local Item = ScriptManager.instance:getItem(Name)
if Item then
Item:DoParam(Property.." = "..Value)
end
end

TweakItem("Base.Tote","Icon","burlaptote")
Agitatio 30 Nov, 2023 @ 9:08am 
No, but you don't need to. You're changing the texture by directly replacing it. You can use that code to change any item script parameter though. Like making cosmetics weightless in you other mod.
trashcanhands  [author] 30 Nov, 2023 @ 9:02am 
@Agitatio
This will change the texture as well?
Agitatio 30 Nov, 2023 @ 8:42am 
No need for Item Tweaker.

local Item = ScriptManager.instance:getItem("Base.Tote")
if Item then
Item:DoParam("Icon = burlaptote")
end