I questioned Marty in the comments and he made it clear the coding part wasn't the issue. It was the writing part. He referenced writer's block and that cbob was afraid of not meeting the expectations the game has presented so far.
Also.
To a certain extent that is fair. But if it's absolute garbage and it's your fault because you wrote through it, it will only make the writer feel worse.
there's that. you force yourself to get something done whatever it takes,
BUT. you re-read that part to make the ends fit into the existing story and see it's crap. and then you blame yourself. and then you come top hate yourself. and then you're prone to spiral down.
if you get lucky, you have something else to do, to get your mind free or whatever brick wall, but there's another trap right there. because, you start something else. and it's getting really tempting to keep doing that, because what you actually really want to get done has this nagging scary roadblock right there.
sometimes it does help if you have someone giving you some push. next trap; you may end up getting pushed right into what was blocking you in the first place. because maybe you already
know where you get stuck, you just can't for the life of you find the one piece that fits the way you want it.
if you get really really lucky, you can somehow fix whatever is blocking you, or find some smart way around, before your motivation to even do
anything runs out.
all of the above is iffy, none of the above will come within a set amount of time. i've known some authors sitting on a number of half done books until they grew old. we talk about 15 to 40+ years before they continued, or lessay tried.
not judging one way or another, just telling what i've seen happening. the world has more unfinished stories than finished ones.