Can scripts use the Graphic Herbalism/HerbalismSwitch feature?

Questions specific to OpenMW-CS can be asked, and content development related topics can be discussed here
Post Reply
KSG
Posts: 1
Joined: 02 Jan 2020, 02:46

Can scripts use the Graphic Herbalism/HerbalismSwitch feature?

Post by KSG » 12 Jan 2020, 07:55

I managed to get Advanced Herbalism working for me on 0.46. For those unfamiliar, it handles harvested plants by disabling them for a month. A script is attached to every. single. plant. that handles harvest chance, amount harvested, chance to find plantable seeds, chance to screw up and destroy the plant, etc.. It overrides OpenMW's default handling of plants. Assuming nifs that use HerbalismSwitch, is there a way I could modify the scripts to tell OpenMW to show the harvested version of the nif? Or is the scripting language still unaware of this feature?

User avatar
akortunov
Posts: 656
Joined: 13 Mar 2017, 13:49
Location: Samara, Russian Federation

Re: Can scripts use the Graphic Herbalism/HerbalismSwitch feature?

Post by akortunov » 12 Jan 2020, 09:39

KSG wrote:
12 Jan 2020, 07:55
is the scripting language still unaware of this feature?
Yes, MWScript does not handle it. The main purpose of herbalism feature is to do not mess with scripts (and to do not change a game balance).
In theory, you can try to remove a content of container (before calling an Activate command) instead of disabling it, but keep in mind that vanilla respawn mechanics still will be used.

Post Reply