Gigadroid2 Posted March 9 Share Posted March 9 Hey there, need some help to implement a mod that allows Codex Umbra and Abigail's Flower to work when no longer character specific. I've managed to reference another mod to make it not character specific using the code below but the Codex Umbra summons an invisible shadow. The shadow still chops trees with me so I can confirm that it's there just not visible. The codex is also invisible when dropped onto the ground. When picked up it appears normally into inventory. Appreciate the help. modmain.lua: local function BypassCharacterSpecific(prefab) local player = GLOBAL.GetPlayer() prefab.components.characterspecific:SetOwner(player.prefab) end AddPrefabPostInit("waxwelljournal", BypassCharacterSpecific) credit to Disqus - the character specific portion was from his Warly crockpot mod 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