eloyarosio Posted October 26, 2023 Share Posted October 26, 2023 Hey guys, I'm tryin' to find the solution for what I think is a simple problem, but I couldn't. I'm using the mod Island Adventures, but I'm on a Forest World, I activeted the mod after the world was generated. Everything seems to be workin', for example, I can spawn mobs from shipwrecked or build sw structures just fine. But when I place some Shipwrecked turf, like Meadow or Jungle, it just spawn crows, is there any way to make it spawns the correct bird from sw? It is barely a inconvenience, but I would like to "solve" this if possible. Thanks! Link to comment https://forums.kleientertainment.com/forums/topic/151988-need-help-with-bird-spawning/ Share on other sites More sharing options...
eloyarosio Posted October 30, 2023 Author Share Posted October 30, 2023 Hey, just in case someone need this in the future. I put this in the postinit.lua AddClassPostConstruct("components/birdspawner", function(self) local BIRD_TYPES = UpvalueHacker.GetUpvalue(self.SpawnBird, "PickBird", "BIRD_TYPES") BIRD_TYPES[WORLD_TILES.MONKEY_GROUND] = {"toucan"} end) And that worked! I copied that from another mod. Link to comment https://forums.kleientertainment.com/forums/topic/151988-need-help-with-bird-spawning/#findComment-1676100 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