I tested the code a bit so it should work, but it will just remove Lona's lactation state, which is given when she gets pregnant. It won't do anything about stopping lactation resulting from body mods or from seedbed, as those are accounted seperatly, but at the same time these states can be removed via Elise's clinic. It also won't stop the game from giving the state to Lona again if she's still pregnant.
I think I may have misunderstood you a little. A bit earlier, there was a conversation as to how Lona is eternally lactating after having her first child, so I assumed you wanted something so stop lactation after Lona gives birth.
If I'm reading this correctly you want her to never lactate at all?
A simple mod would be editing the
Scripts/Editables/40_OverEvent_Check.rb
file and removing/commenting out the line 162:
Code:
$game_player.actor.add_state(36) #lactation
(And then using the cheat I mentioned to remove any remaining lactation stacks)
There are also some lines on
28_Functions_Chcg_Events.rb
and
100_Game_Player_handle_on_move.rb
you may want to remove if you plan to keep lona with the seedbed state, but otherwise this should remove all lactation from the game (except from the eternal lactation body mod, which I think you can only get voluntarily?)