Add a "planted" mode
Anything which has it's "mode" set to "planted" is planted. That means it's submerged in some kind of soil.
This will fix a couple of issues:
1) It will make the plant code better, since it means that only those plants that are "planted" will perform "eat" operations on their parents. Thus we'll avoid the current behaviour where a plant slowly eats away at any character which holds it.
2) It will make it possible to correctly display entities in the client. Currently there's no good way to show for example a carrot laying on a table, since the default mesh is of it submerged.
The rules for anything that's "planted" is that whenever it's moved, as long as it retains its parent it's still "planted". However, if the parent ever change it will automatically lose it's "planted" mode.
Any plant that's not planted should be possible to "plant" through a task.
Blueprint information
- Status:
- Started
- Approver:
- Erik Ogenvik
- Priority:
- Medium
- Drafter:
- Erik Ogenvik
- Direction:
- Approved
- Assignee:
- Erik Ogenvik
- Definition:
- Approved
- Series goal:
- None
- Implementation:
- Deployment
- Milestone target:
- None
- Started by
- Erik Ogenvik
- Completed by