fritozy101 Posted August 8, 2021 Share Posted August 8, 2021 (edited) OnNewGame = function(player, square, profession) local player = getPlayer() local hat = player:getInventory():AddItem("Base.Hat_HardHat") local vest = player:getInventory():AddItem("Base.Vest_HighViz") local gloves = player:getInventory():AddItem("Base.Gloves_LeatherGloves") player:setClothingItem_Head(hat) player:setClothingItem_Torso(vest) player:setClothingItem_Hands(gloves) end, Update: Found more that work, Legs=pants Feet=shoes... haha pretty obvious ones, still trying to find jackets/holster/vest After the hurdle of making it to the above somewhat functional code, it is only...somewhat functional. I was able to find the types in Debug mode, from other mods, PZ modding site, and a PZ item site. However, only Head/Hat/Hands/Torso want to work. I very quickly ran out of things to even try! May just have the wrong item types or they were recently changed/updated? Vest/TorsoExtra/Trousers/Pants/Jacket/LongJacket/Suit/Body do not work. Using this Framework -Thank you- Any help or pointers appreciated, thank you for all the resources! UPDATE: Believe I found a full list of Vanilla body locations, finally, but, still none of them work in the code, except for the main ones in the first post..... -- Hat -- TankTop -- Tshirt -- Shirt -- Socks -- Pants -- Skirt -- Dress -- Shoes -- Eyes -- LeftEye -- RightEye -- BeltExtra -- AmmoStrap -- Mask -- MaskEyes -- MaskFull -- Underwear -- FullHat -- Torso1Legs1 -- Neck -- Hands -- Legs1 -- Sweater -- Jacket -- FullSuit -- FullSuitHead -- FullTop -- BathRobe -- TorsoExtra -- Tail -- Back -- Scarf -- FannyPackFront -- Necklace -- Necklace_Long -- Nose -- LeftWrist -- RightWrist -- Right_RingFinger -- Left_RingFinger -- Right_MiddleFinger -- Left_MiddleFinger -- Ears -- EarTop Edited August 13, 2021 by fritozy101 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now