[Solved] new plant: can't sow in flower-pot?

Started by AileTheAlien, July 21, 2020, 10:09:41 AM

Previous topic - Next topic

AileTheAlien

I'm trying to make a new decorative plant, that's like one of the glowing mushrooms, but can be planted in a flower-pot. As far as I can tell from PlantBase, Plant_Daylily, CavePlantBase, and Glowstool, I should have everything I need, to allow this plant to be grown. It shows up in the list for the plantable-plants in the flower-pot, but when I right-click there's no option for my pawns to sow it. I've got a bit empty room (no light to kill mushrooms, the message correctly shows up if I select this plant on the pot in a lit-room), that's heated to 18 C (normal for other plants), but nobody can sow the thing.

I vaguelly remember there being some trick to allow plants to be sown, but I can't find any XML defs, which allow the other plants in the game to be sown. (Like, a work-giver...work-option...something def...)

Canute

Try to add Ground to the sowtags, and check if you can sow them at the ground !
If not you forget something else.

Or maybe it is "CavePlantBase", and you can only plant them at a cave, try the same base like for rose/daylily.

AileTheAlien

Yeah, I've got no idea what it was. I reloaded the mod with this commit as-is, and it's sow-able. Must have been something I missed, before I made that commit, but without reloading the mod.